Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/py-asttokens py-asttokens: cleanup
details: https://anonhg.NetBSD.org/pkgsrc/rev/7e106dc9f425
branches: trunk
changeset: 435176:7e106dc9f425
user: adam <adam%pkgsrc.org@localhost>
date: Wed Jul 01 14:55:12 2020 +0000
description:
py-asttokens: cleanup
diffstat:
lang/py-asttokens/Makefile | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diffs (32 lines):
diff -r 6ed16495283f -r 7e106dc9f425 lang/py-asttokens/Makefile
--- a/lang/py-asttokens/Makefile Wed Jul 01 14:53:29 2020 +0000
+++ b/lang/py-asttokens/Makefile Wed Jul 01 14:55:12 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2020/04/15 22:54:57 joerg Exp $
+# $NetBSD: Makefile,v 1.14 2020/07/01 14:55:12 adam Exp $
DISTNAME= asttokens-2.0.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -10,18 +10,17 @@
COMMENT= Annotate AST trees with source code positions
LICENSE= apache-2.0
+BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+BUILD_DEPENDS+= ${PYPKGPREFIX}-pip-[0-9]*:../../devel/py-pip
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
TEST_DEPENDS+= ${PYPKGPREFIX}-astroid-[0-9]*:../../devel/py-astroid
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
-BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
-BUILD_DEPENDS+= ${PYPKGPREFIX}-pip-[0-9]*:../../devel/py-pip
-
USE_LANGUAGES= # none
.include "../../lang/python/pyversion.mk"
-.if ${PYPKGPREFIX} == py27
-TEST_DEPENDS= # none; py-astroid is incompatible to py27
+.if ${_PYTHON_VERSION} == 27
+TEST_DEPENDS= # none; test depends are incompatible to py27
do-test:
.endif
Home |
Main Index |
Thread Index |
Old Index