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:   adam
Date:           Wed Jul  1 14:55:13 UTC 2020

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

Log Message:
py-asttokens: cleanup


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 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.13 pkgsrc/lang/py-asttokens/Makefile:1.14
--- pkgsrc/lang/py-asttokens/Makefile:1.13      Wed Apr 15 22:54:57 2020
+++ pkgsrc/lang/py-asttokens/Makefile   Wed Jul  1 14:55:12 2020
@@ -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 @@ HOMEPAGE=   https://github.com/gristlabs/a
 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