pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc py-case, py-billiard: not for python 2.x



details:   https://anonhg.NetBSD.org/pkgsrc/rev/61e244aba6e5
branches:  trunk
changeset: 378263:61e244aba6e5
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun May 01 09:17:48 2022 +0000

description:
py-case, py-billiard: not for python 2.x

diffstat:

 devel/py-case/Makefile        |  8 ++------
 parallel/py-billiard/Makefile |  8 +++-----
 parallel/py-billiard/PLIST    |  3 +--
 3 files changed, 6 insertions(+), 13 deletions(-)

diffs (62 lines):

diff -r 4a1412a63f13 -r 61e244aba6e5 devel/py-case/Makefile
--- a/devel/py-case/Makefile    Sun May 01 09:15:03 2022 +0000
+++ b/devel/py-case/Makefile    Sun May 01 09:17:48 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2022/01/27 11:39:38 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2022/05/01 09:17:48 wiz Exp $
 
 DISTNAME=      case-1.5.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -18,11 +18,7 @@
 
 USE_LANGUAGES=         # none
 
-.include "../../lang/python/pyversion.mk"
-
-.if ${PYPKGPREFIX} == "py27"
-DEPENDS+=      ${PYPKGPREFIX}-unittest2>=0.5.1:../../devel/py-unittest2
-.endif
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 4a1412a63f13 -r 61e244aba6e5 parallel/py-billiard/Makefile
--- a/parallel/py-billiard/Makefile     Sun May 01 09:15:03 2022 +0000
+++ b/parallel/py-billiard/Makefile     Sun May 01 09:17:48 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2022/01/04 20:54:35 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2022/05/01 09:17:48 wiz Exp $
 
 DISTNAME=      billiard-3.6.4.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -14,11 +14,9 @@
 TEST_DEPENDS+= ${PYPKGPREFIX}-case>=1.3.1:../../devel/py-case
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 
-.include "../../lang/python/pyversion.mk"
-# builds _billiard.so
-.if ${_PYTHON_VERSION} != 27
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 USE_LANGUAGES=         # none
-.endif
 
 PYSETUPTESTTARGET=     pytest
 
diff -r 4a1412a63f13 -r 61e244aba6e5 parallel/py-billiard/PLIST
--- a/parallel/py-billiard/PLIST        Sun May 01 09:15:03 2022 +0000
+++ b/parallel/py-billiard/PLIST        Sun May 01 09:17:48 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2017/04/09 16:43:03 adam Exp $
+@comment $NetBSD: PLIST,v 1.7 2022/05/01 09:17:48 wiz Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -7,7 +7,6 @@
 ${PYSITELIB}/billiard/__init__.py
 ${PYSITELIB}/billiard/__init__.pyc
 ${PYSITELIB}/billiard/__init__.pyo
-${PLIST.py2x}${PYSITELIB}/_billiard.so
 ${PYSITELIB}/billiard/_ext.py
 ${PYSITELIB}/billiard/_ext.pyc
 ${PYSITELIB}/billiard/_ext.pyo



Home | Main Index | Thread Index | Old Index