pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/pynvim



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Aug 10 15:32:37 UTC 2024

Modified Files:
        pkgsrc/devel/pynvim: Makefile PLIST distinfo
Added Files:
        pkgsrc/devel/pynvim/patches: patch-setup.py

Log Message:
pynvim: update to 0.5.0.

Breaking changes

    Python 3.7 is the minimum supported Python version.

What's Changed

    1696737 feat: Ex command ":py=" evaluate and print expression
    86cc50e test: always use the same python regardless of $PATH
    71d2d65 packaging: Add pynvim.version attribute
    056f6f9 fix: ignore flaky OSError on windows
    6ab90aa fix: EOF error on piped stderr being closed on Windows
    fd4247c fix: do not leak resources across tests so as to prevent side effects
    260a0b9 deps: Require greenlet >= 3.0 since it supports Python 3.12
    f244597 fix: broken dynamic import of rplugin modules
    e4224fc fix: sphinx "invalid language code"
    61bf6fa fix: mypy type annotation warnings
    5e84c75 fix: sphinx "Unexpected indentation" warning
    991c689 fix: PEP 484 prohibits implicit Optional
    919217d fix: undefined name 'original_find_module'
    b79717f fix(test): Unknown config option: timeout warning
    5be54e2 test_buffer: don't depend on version-dependent default values
    eaa862d fix: imp module is deprecated
    ac03f5c Drop old python versions, add type annotations
    a087534 docs: python 2 is not supported
    82a2e14 test: update 'define' option default
    dd540b0 refactor: remove usage of imp
    496e8eb packaging: conform to PEP 517 guidelines
    d549371 fix: vim.eval('v:true') should return python bool
    318c1b5 fix the first call to sync functions returning null


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/pynvim/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/pynvim/PLIST \
    pkgsrc/devel/pynvim/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/pynvim/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/pynvim/Makefile
diff -u pkgsrc/devel/pynvim/Makefile:1.3 pkgsrc/devel/pynvim/Makefile:1.4
--- pkgsrc/devel/pynvim/Makefile:1.3    Mon Aug 14 05:24:15 2023
+++ pkgsrc/devel/pynvim/Makefile        Sat Aug 10 15:32:36 2024
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2023/08/14 05:24:15 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2024/08/10 15:32:36 wiz Exp $
 
-DISTNAME=      pynvim-0.4.3
-PKGREVISION=   1
+DISTNAME=      pynvim-0.5.0
 CATEGORIES=    devel editors
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=neovim/}
 GITHUB_PROJECT=        pynvim
@@ -12,12 +11,16 @@ HOMEPAGE=   https://github.com/neovim/pynv
 COMMENT=       Python client for Neovim
 LICENSE=       apache-2.0
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 DEPENDS+=      ${PYPKGPREFIX}-msgpack>=0.5.2:../../devel/py-msgpack
 DEPENDS+=      ${PYPKGPREFIX}-greenlet>=1.1.3:../../devel/py-greenlet
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+TEST_DEPENDS+= neovim-[0-9]*:../../editors/neovim
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27 # py-greenlet
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-.include "../../lang/python/application.mk"
-.include "../../lang/python/egg.mk"
+# as of 0.5.0
+# 3 failed, 71 passed, 71 warnings
+
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/pynvim/PLIST
diff -u pkgsrc/devel/pynvim/PLIST:1.1 pkgsrc/devel/pynvim/PLIST:1.2
--- pkgsrc/devel/pynvim/PLIST:1.1       Tue Oct 25 20:26:02 2022
+++ pkgsrc/devel/pynvim/PLIST   Sat Aug 10 15:32:36 2024
@@ -1,19 +1,21 @@
-@comment $NetBSD: PLIST,v 1.1 2022/10/25 20:26:02 nikita Exp $
+@comment $NetBSD: PLIST,v 1.2 2024/08/10 15:32:36 wiz Exp $
 ${PYSITELIB}/neovim/__init__.py
 ${PYSITELIB}/neovim/__init__.pyc
 ${PYSITELIB}/neovim/__init__.pyo
 ${PYSITELIB}/neovim/api/__init__.py
 ${PYSITELIB}/neovim/api/__init__.pyc
 ${PYSITELIB}/neovim/api/__init__.pyo
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/pynvim/__init__.py
 ${PYSITELIB}/pynvim/__init__.pyc
 ${PYSITELIB}/pynvim/__init__.pyo
+${PYSITELIB}/pynvim/_version.py
+${PYSITELIB}/pynvim/_version.pyc
+${PYSITELIB}/pynvim/_version.pyo
 ${PYSITELIB}/pynvim/api/__init__.py
 ${PYSITELIB}/pynvim/api/__init__.pyc
 ${PYSITELIB}/pynvim/api/__init__.pyo
Index: pkgsrc/devel/pynvim/distinfo
diff -u pkgsrc/devel/pynvim/distinfo:1.1 pkgsrc/devel/pynvim/distinfo:1.2
--- pkgsrc/devel/pynvim/distinfo:1.1    Tue Oct 25 20:26:02 2022
+++ pkgsrc/devel/pynvim/distinfo        Sat Aug 10 15:32:36 2024
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1 2022/10/25 20:26:02 nikita Exp $
+$NetBSD: distinfo,v 1.2 2024/08/10 15:32:36 wiz Exp $
 
-BLAKE2s (pynvim-0.4.3.tar.gz) = a3072a3c05bee1c515fc2a9a0eb0b1e8dfdcde5730969fa9c273c8d757440392
-SHA512 (pynvim-0.4.3.tar.gz) = 5d8fc7623a5bc2e069991b901dbd4dcc6005ddab31e2f0a70ee50c2d6febf3b5c29a61fc4dce454aa494779d7a869a1e92a2a97cb66212ed858c3d3fd77c0f55
-Size (pynvim-0.4.3.tar.gz) = 52807 bytes
+BLAKE2s (pynvim-0.5.0.tar.gz) = 72cd07940338515208a9c808338adf8256f4538348ed8ffce96e816e4256ab80
+SHA512 (pynvim-0.5.0.tar.gz) = 91ffe3f42cc23ba372223b8c9f6930b0cff9d30b6764052a77a5c34e39a3312a1834b9a753152e96d04d5b4b61ce647bd7470095fac3122ae6b1346dcdf07f2f
+Size (pynvim-0.5.0.tar.gz) = 59043 bytes
+SHA1 (patch-setup.py) = fb6971c8ef91ff80ba6a9bce5a6b2e562bdce048

Added files:

Index: pkgsrc/devel/pynvim/patches/patch-setup.py
diff -u /dev/null pkgsrc/devel/pynvim/patches/patch-setup.py:1.1
--- /dev/null   Sat Aug 10 15:32:37 2024
+++ pkgsrc/devel/pynvim/patches/patch-setup.py  Sat Aug 10 15:32:37 2024
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.py,v 1.1 2024/08/10 15:32:37 wiz Exp $
+
+https://github.com/neovim/pynvim/issues/572
+
+--- setup.py.orig      2024-08-10 15:22:38.466795284 +0000
++++ setup.py
+@@ -16,7 +16,7 @@ needs_pytest = {'pytest', 'test', 'ptr'}
+ pytest_runner = ['pytest-runner'] if needs_pytest else []
+ 
+ setup_requires = [
+-] + pytest_runner
++]
+ 
+ tests_require = [
+     'pytest',



Home | Main Index | Thread Index | Old Index