pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc py-xdis: does not build with python 2.7, mark it so
details: https://anonhg.NetBSD.org/pkgsrc/rev/2aa9132efe23
branches: trunk
changeset: 771307:2aa9132efe23
user: wiz <wiz%pkgsrc.org@localhost>
date: Fri Dec 17 00:15:47 2021 +0000
description:
py-xdis: does not build with python 2.7, mark it so
Also mark packages using it that way.
diffstat:
devel/py-xdis/Makefile | 4 +++-
lang/py-uncompyle6/Makefile | 8 ++++----
2 files changed, 7 insertions(+), 5 deletions(-)
diffs (48 lines):
diff -r d940eb272340 -r 2aa9132efe23 devel/py-xdis/Makefile
--- a/devel/py-xdis/Makefile Fri Dec 17 00:04:27 2021 +0000
+++ b/devel/py-xdis/Makefile Fri Dec 17 00:15:47 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2021/11/10 16:09:53 adam Exp $
+# $NetBSD: Makefile,v 1.38 2021/12/17 00:15:47 wiz Exp $
DISTNAME= xdis-6.0.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -16,6 +16,8 @@
USE_LANGUAGES= # none
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} pydisasm pydisasm-${PYVERSSUFFIX} || ${TRUE}
diff -r d940eb272340 -r 2aa9132efe23 lang/py-uncompyle6/Makefile
--- a/lang/py-uncompyle6/Makefile Fri Dec 17 00:04:27 2021 +0000
+++ b/lang/py-uncompyle6/Makefile Fri Dec 17 00:15:47 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2021/10/31 08:44:00 adam Exp $
+# $NetBSD: Makefile,v 1.28 2021/12/17 00:15:47 wiz Exp $
DISTNAME= uncompyle6-3.8.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -12,11 +12,12 @@
DEPENDS+= ${PYPKGPREFIX}-spark-parser>=1.8.9:../../lang/py-spark-parser
DEPENDS+= ${PYPKGPREFIX}-xdis>=6.0.2:../../devel/py-xdis
-
-PYTHON_VERSIONED_DEPENDENCIES= test:test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
USE_LANGUAGES= # none
+PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-xdis
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} pydisassemble pydisassemble-${PYVERSSUFFIX} && \
@@ -26,5 +27,4 @@
cd ${WRKSRC}/pytest && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index