Unbreak editors/py-neovim.

We had a missing dependency, but it turns out it's not needed anyway.

Raised with upstream.

OK sthen@, thanks.
This commit is contained in:
edd 2019-11-21 12:29:52 +00:00
parent fad53a949b
commit 635b02c006
2 changed files with 28 additions and 4 deletions

View File

@ -0,0 +1,19 @@
$OpenBSD: patch-setup_py,v 1.1 2019/11/21 12:29:52 edd Exp $
pytest-runner isn't actually required:
https://github.com/neovim/pynvim/issues/417
Index: setup.py
--- setup.py.orig
+++ setup.py
@@ -8,9 +8,7 @@ install_requires = [
'msgpack>=0.5.0',
]
-setup_requires = [
- 'pytest-runner'
-]
+setup_requires = []
tests_require = [
'pytest>=3.4.0',

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-test_conftest_py,v 1.2 2019/03/17 13:15:34 edd Exp $
$OpenBSD: patch-test_conftest_py,v 1.3 2019/11/21 12:29:52 edd Exp $
Although this file is present in the upstream source tree, it was not
included when the release tarball was created. This file is needed to
@ -8,9 +8,9 @@ version.
Index: test/conftest.py
--- test/conftest.py.orig
+++ test/conftest.py
@@ -0,0 +1,67 @@
+import json
+import os
@@ -1,5 +1,72 @@
import json
import os
+import textwrap
+
+import pynvim
@ -76,3 +76,8 @@ Index: test/conftest.py
+ editor = pynvim.attach('socket', path=listen_address)
+
+ return editor
+import json
+import os
import pytest