pkgsrc-Changes archive

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

CVS commit: pkgsrc/misc/py-autocommand



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Nov 27 06:55:58 UTC 2023

Modified Files:
        pkgsrc/misc/py-autocommand: Makefile PLIST distinfo
Added Files:
        pkgsrc/misc/py-autocommand/patches: patch-setup.py

Log Message:
py-autocommand: fix build with setuptools v69; switch to wheel.mk; bump revision


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/misc/py-autocommand/Makefile \
    pkgsrc/misc/py-autocommand/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/misc/py-autocommand/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/py-autocommand/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/misc/py-autocommand/Makefile
diff -u pkgsrc/misc/py-autocommand/Makefile:1.2 pkgsrc/misc/py-autocommand/Makefile:1.3
--- pkgsrc/misc/py-autocommand/Makefile:1.2     Sat Nov 26 17:08:20 2022
+++ pkgsrc/misc/py-autocommand/Makefile Mon Nov 27 06:55:57 2023
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2022/11/26 17:08:20 adam Exp $
+# $NetBSD: Makefile,v 1.3 2023/11/27 06:55:57 adam Exp $
 
 DISTNAME=      autocommand-2.2.2
+PKGREVISION=   1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    misc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/autocommand/}
@@ -10,12 +11,12 @@ HOMEPAGE=   https://github.com/Lucretiel/a
 COMMENT=       Create a command-line program from a function
 LICENSE=       gnu-lgpl-v3
 
-TEST_DEPENDS+= ${PYPKGPREFIX}-test>0:../../devel/py-test
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
+USE_LANGUAGES= # none
 
-do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} test
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/misc/py-autocommand/distinfo
diff -u pkgsrc/misc/py-autocommand/distinfo:1.2 pkgsrc/misc/py-autocommand/distinfo:1.3
--- pkgsrc/misc/py-autocommand/distinfo:1.2     Sat Nov 26 17:08:20 2022
+++ pkgsrc/misc/py-autocommand/distinfo Mon Nov 27 06:55:57 2023
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2022/11/26 17:08:20 adam Exp $
+$NetBSD: distinfo,v 1.3 2023/11/27 06:55:57 adam Exp $
 
 BLAKE2s (autocommand-2.2.2.tar.gz) = cf173d9a16ed4589ee0105b9fed237f8a71c5001444f1d2aa42807eb1caf36ec
 SHA512 (autocommand-2.2.2.tar.gz) = 7e78b3bb7eb62be8a308fe4406b0c72170f9a057010b02a1f8f0d2b33b5d19682d8795bb573728ebe941957ec60d86edd9db57659f63a4a2d788c7176907f067
 Size (autocommand-2.2.2.tar.gz) = 22894 bytes
+SHA1 (patch-setup.py) = e66b22146001d4162480c55b2032bee773472dd0

Index: pkgsrc/misc/py-autocommand/PLIST
diff -u pkgsrc/misc/py-autocommand/PLIST:1.1 pkgsrc/misc/py-autocommand/PLIST:1.2
--- pkgsrc/misc/py-autocommand/PLIST:1.1        Wed Feb  2 18:50:49 2022
+++ pkgsrc/misc/py-autocommand/PLIST    Mon Nov 27 06:55:57 2023
@@ -1,8 +1,9 @@
-@comment $NetBSD: PLIST,v 1.1 2022/02/02 18:50:49 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.2 2023/11/27 06:55:57 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/autocommand/__init__.py
 ${PYSITELIB}/autocommand/__init__.pyc
 ${PYSITELIB}/autocommand/__init__.pyo

Added files:

Index: pkgsrc/misc/py-autocommand/patches/patch-setup.py
diff -u /dev/null pkgsrc/misc/py-autocommand/patches/patch-setup.py:1.1
--- /dev/null   Mon Nov 27 06:55:58 2023
+++ pkgsrc/misc/py-autocommand/patches/patch-setup.py   Mon Nov 27 06:55:57 2023
@@ -0,0 +1,14 @@
+$NetBSD: patch-setup.py,v 1.1 2023/11/27 06:55:57 adam Exp $
+
+Fix build with setuptools 69.
+
+--- setup.py.orig      2023-11-27 06:43:19.679895559 +0000
++++ setup.py
+@@ -13,7 +13,6 @@ setup(
+     ],
+     package_dir={'': 'src'},
+     platforms='any',
+-    license='LGPLv3',
+     author='Nathan West',
+     url='https://github.com/Lucretiel/autocommand',
+     description='A library to create a command-line program from a function',



Home | Main Index | Thread Index | Old Index