pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/py-asttokens lang/py-asttokens: fix build depende...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e844729bcca8
branches:  trunk
changeset: 413773:e844729bcca8
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Mar 22 11:02:14 2020 +0000

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

diffstat:

 lang/py-asttokens/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r a6a969b02195 -r e844729bcca8 lang/py-asttokens/Makefile
--- a/lang/py-asttokens/Makefile        Sun Mar 22 11:00:36 2020 +0000
+++ b/lang/py-asttokens/Makefile        Sun Mar 22 11:02:14 2020 +0000
@@ -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 @@
 
 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