summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2018-12-27 16:03:09 +0000
committerjoerg <joerg@pkgsrc.org>2018-12-27 16:03:09 +0000
commit5255c9ea1265e64ec926e8ab101582da4363c0b1 (patch)
tree66639fa889f073edef9075c0ca52ca1ac18f01c7
parente8f68fe60e7a35063ee873f3726e4fe6fe0bf623 (diff)
downloadpkgsrc-5255c9ea1265e64ec926e8ab101582da4363c0b1.tar.gz
PYTHON_VERSIONS_INCOMPATIBLE must be set before pyversion.mk is included.
-rw-r--r--devel/py-astroid/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/py-astroid/Makefile b/devel/py-astroid/Makefile
index ad4d788ba04..6f439001717 100644
--- a/devel/py-astroid/Makefile
+++ b/devel/py-astroid/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2018/11/26 09:00:52 adam Exp $
+# $NetBSD: Makefile,v 1.23 2018/12/27 16:03:09 joerg Exp $
DISTNAME= astroid-2.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -16,6 +16,8 @@ DEPENDS+= ${PYPKGPREFIX}-wrapt-[0-9]*:../../devel/py-wrapt
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
.include "../../lang/python/pyversion.mk"
.if !empty(_PYTHON_VERSION:M34)
DEPENDS+= ${PYPKGPREFIX}-typing-[0-9]*:../../devel/py-typing
@@ -26,7 +28,5 @@ DEPENDS+= ${PYPKGPREFIX}-typed-ast-[0-9]*:../../devel/py-typed-ast
USE_LANGUAGES= # none
-PYTHON_VERSIONS_INCOMPATIBLE= 27
-
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"