devel/py-canonicaljson: Convert to USE_PYTHON=pytest
This commit is contained in:
parent
055f09b014
commit
18af92710b
1 changed files with 2 additions and 5 deletions
|
@ -13,10 +13,10 @@ LICENSE= APACHE20
|
|||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}simplejson>=3.14.0:devel/py-simplejson@${PY_FLAVOR}
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}frozendict>=1.0:devel/py-frozendict@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.5+
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
USE_PYTHON= autoplist concurrent distutils pytest
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
|
@ -31,7 +31,4 @@ FROZENDICT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}frozendict>=1.0:devel/py-frozendi
|
|||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.0.0:devel/py-typing-extensions@${PY_FLAVOR}
|
||||
.endif
|
||||
|
||||
do-test:
|
||||
cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
Loading…
Reference in a new issue