diff options
author | rillig <rillig@pkgsrc.org> | 2020-03-22 11:02:14 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2020-03-22 11:02:14 +0000 |
commit | 67c12e9afd000797da2fba0141a7dd1683142c41 (patch) | |
tree | 2d89e229174ee4b9604b5c4a629a0123f074ecef /lang/py-asttokens | |
parent | 1a8719e8d961f7e7a445021fe8ee1a752985791a (diff) | |
download | pkgsrc-67c12e9afd000797da2fba0141a7dd1683142c41.tar.gz |
lang/py-asttokens: fix build dependencies for Python 2.7
Diffstat (limited to 'lang/py-asttokens')
-rw-r--r-- | lang/py-asttokens/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/py-asttokens/Makefile b/lang/py-asttokens/Makefile index 154d1000f55..f1e96eea1ac 100644 --- a/lang/py-asttokens/Makefile +++ b/lang/py-asttokens/Makefile @@ -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]*:../../devel/py-test 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" |