PYTHON_VERSIONS_INCOMPATIBLE must be set before pyversion.mk is included.

This commit is contained in:
joerg 2018-12-27 16:03:09 +00:00
parent 7aa6bfadb9
commit f425c0dd33

View file

@ -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"