On Mon, Aug 10, 2020 at 08:59:34PM +0100, Edd Barrett wrote:
> There is a pynvim-0.4.1 python binding, which I'd like to commit at the same
> time. I'll look at that shortly.
Diff for pynvim:
Index: Makefile
===================================================================
RCS file: /cvs/ports/editors/py-neovim/Makefile,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile
--- Makefile 3 Jul 2020 21:12:53 -0000 1.9
+++ Makefile 10 Aug 2020 22:45:05 -0000
@@ -2,10 +2,9 @@
COMMENT = Python plugin support for Neovim
-MODPY_EGG_VERSION = 0.4.0
+MODPY_EGG_VERSION = 0.4.1
DISTNAME = pynvim-${MODPY_EGG_VERSION}
PKGNAME = py-neovim-${MODPY_EGG_VERSION}
-REVISION = 0
CATEGORIES = editors devel
HOMEPAGE = https://github.com/neovim/python-client
@@ -28,9 +27,13 @@ TEST_DEPENDS = devel/py-test${MODPY_FLA
${BASE_PKGPATH}=${MODPY_EGG_VERSION}
# You may need to increase the file descriptor ulimits to run tests.
+#
+# Test suite hangs if $HOME isn't valid.
+#
# Some failures:
# https://github.com/neovim/pynvim/issues/416
do-test:
- cd ${WRKSRC} && ${LOCALBASE}/bin/py.test${MODPY_BIN_SUFFIX}
+ cd ${WRKSRC} && env HOME=${WRKDIR} \
+ ${LOCALBASE}/bin/py.test${MODPY_BIN_SUFFIX}
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/editors/py-neovim/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo 20 Nov 2019 13:44:36 -0000 1.5
+++ distinfo 10 Aug 2020 22:03:09 -0000
@@ -1,2 +1,2 @@
-SHA256 (pynvim-0.4.0.tar.gz) = cf2Lsyhd7tqMJZODBmIU4NUiqWv7PKSHEzOt/LRU6dY=
-SIZE (pynvim-0.4.0.tar.gz) = 39884
+SHA256 (pynvim-0.4.1.tar.gz) = VekY1mRlTPocmInT2+fGPp8zjfXUlHFmP3jVTIXoTFg=
+SIZE (pynvim-0.4.1.tar.gz) = 41939
Index: patches/patch-setup_py
===================================================================
RCS file: patches/patch-setup_py
diff -N patches/patch-setup_py
--- patches/patch-setup_py 21 Nov 2019 12:29:52 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,19 +0,0 @@
-$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',
--
Best Regards
Edd Barrett
http://www.theunixzoo.co.uk