py-prettytable: PYTHON_VERSIONS_INCOMPATIBLE should be before pyversion.mk
This commit is contained in:
parent
7a1c682c80
commit
2353db2bf8
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.12 2021/05/20 06:32:40 nia Exp $
|
||||
# $NetBSD: Makefile,v 1.13 2021/06/04 04:45:59 adam Exp $
|
||||
|
||||
DISTNAME= prettytable-2.1.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -14,6 +14,8 @@ DEPENDS+= ${PYPKGPREFIX}-wcwidth-[0-9]*:../../devel/py-wcwidth
|
|||
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
|
||||
|
||||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} < 38
|
||||
DEPENDS+= ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
|
||||
|
@ -21,8 +23,6 @@ DEPENDS+= ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-meta
|
|||
|
||||
USE_LANGUAGES= # none
|
||||
|
||||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
do-test:
|
||||
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
|
||||
|
||||
|
|
Loading…
Reference in a new issue