Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-xopen PYTHON_VERSIONS_INCOMPATIBLE must be se...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3c9bbfc1d94c
branches:  trunk
changeset: 431604:3c9bbfc1d94c
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu May 14 19:37:42 2020 +0000

description:
PYTHON_VERSIONS_INCOMPATIBLE must be set before including pyversion.mk.
Drop logic for unsupported versions.

diffstat:

 devel/py-xopen/Makefile |  9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diffs (27 lines):

diff -r 57c68ae3d641 -r 3c9bbfc1d94c devel/py-xopen/Makefile
--- a/devel/py-xopen/Makefile   Thu May 14 19:36:42 2020 +0000
+++ b/devel/py-xopen/Makefile   Thu May 14 19:37:42 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2020/04/03 16:20:49 adam Exp $
+# $NetBSD: Makefile,v 1.18 2020/05/14 19:37:42 joerg Exp $
 
 DISTNAME=      xopen-0.9.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -14,15 +14,12 @@
 DEPENDS+=      pigz-[0-9]*:../../archivers/pigz
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 .include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} == 27
-DEPENDS+=      ${PYPKGPREFIX}-bz2file-[0-9]*:../../archivers/py-bz2file
-.endif
 
 USE_LANGUAGES= # none
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
-
 do-test:
        cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
 



Home | Main Index | Thread Index | Old Index