diff --git a/devel/py-xdoctest/Makefile b/devel/py-xdoctest/Makefile index a085465c30da..f6d0fa301107 100644 --- a/devel/py-xdoctest/Makefile +++ b/devel/py-xdoctest/Makefile @@ -1,27 +1,31 @@ PORTNAME= xdoctest DISTVERSION= 1.0.1 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP # has no tests PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Python package for executing tests in documentation strings LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.11.0:devel/py-six@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.11.0:devel/py-six@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}codecov>=2.0.15:devel/py-codecov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}coverage>=2.0.15:devel/py-coverage@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.25.1:www/py-requests@${PY_FLAVOR} USES= python:3.6+ -USE_PYTHON= distutils autoplist pytest # some tests fail, see https://github.com/Erotemic/xdoctest/issues/131 +USE_PYTHON= distutils concurrent autoplist pytest # some tests fail, see https://github.com/Erotemic/xdoctest/issues/131 NO_ARCH= yes TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} +alt-test: # tests using the xdoctest executable + @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${STAGEDIR}${PREFIX}/bin/xdoctest -m xdoctest + .include