pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/py-asttokens



Module Name:    pkgsrc
Committed By:   rillig
Date:           Sun Mar 22 11:02:14 UTC 2020

Modified Files:
        pkgsrc/lang/py-asttokens: Makefile

Log Message:
lang/py-asttokens: fix build dependencies for Python 2.7


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/lang/py-asttokens/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/py-asttokens/Makefile
diff -u pkgsrc/lang/py-asttokens/Makefile:1.10 pkgsrc/lang/py-asttokens/Makefile:1.11
--- pkgsrc/lang/py-asttokens/Makefile:1.10      Tue Jan 14 22:37:07 2020
+++ pkgsrc/lang/py-asttokens/Makefile   Sun Mar 22 11:02:14 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2020/01/14 22:37:07 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2020/03/22 11:02:14 rillig Exp $
 
 DISTNAME=      asttokens-2.0.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -16,5 +16,11 @@ TEST_DEPENDS+=       ${PYPKGPREFIX}-test-[0-9]
 
 USE_LANGUAGES= # none
 
+.include "../../lang/python/pyversion.mk"
+.if ${PYPKGPREFIX} == py27
+TEST_DEPENDS=  # none; py-astroid is incompatible to py27
+do-test:
+.endif
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index