pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-test5 py-test5: build fix for (non-standard) ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/889b50885dba
branches:  trunk
changeset: 343092:889b50885dba
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Tue Oct 29 22:27:29 2019 +0000

description:
py-test5: build fix for (non-standard) PYTHON_VERSION_DEFAULT=27

Move PYTHON_VERSIONS_INCOMPATIBLE before the inclusion of pyversion.mk,
so it's picked up when needed. (This should address bulk build failures
noted in mef@'s NetBSD 9-BETA builds, where apparently
PYTHON_VERSION_DEFAULT has been set to "27".)

diffstat:

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

diffs (27 lines):

diff -r 365b2abac211 -r 889b50885dba devel/py-test5/Makefile
--- a/devel/py-test5/Makefile   Tue Oct 29 22:19:29 2019 +0000
+++ b/devel/py-test5/Makefile   Tue Oct 29 22:27:29 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2019/10/25 09:35:13 adam Exp $
+# $NetBSD: Makefile,v 1.3 2019/10/29 22:27:29 gutteridge Exp $
 
 DISTNAME=      pytest-5.2.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
@@ -10,6 +10,8 @@
 COMMENT=       Python testing tool
 LICENSE=       mit
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 DEPENDS+=      ${PYPKGPREFIX}-atomicwrites>=1.0:../../devel/py-atomicwrites
 DEPENDS+=      ${PYPKGPREFIX}-attrs>=17.4.0:../../devel/py-attrs
 DEPENDS+=      ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
@@ -31,8 +33,6 @@
 DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata>=0.12:../../devel/py-importlib-metadata
 .endif
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
-
 USE_LANGUAGES= # none
 USE_TOOLS+=    bash:build
 



Home | Main Index | Thread Index | Old Index