diff --git a/devel/py-xdoctest/Makefile b/devel/py-xdoctest/Makefile index 1fe3eb0aa272..59f20aa69fd0 100644 --- a/devel/py-xdoctest/Makefile +++ b/devel/py-xdoctest/Makefile @@ -1,31 +1,34 @@ PORTNAME= xdoctest -DISTVERSION= 1.0.2 +DISTVERSION= 1.1.1 CATEGORIES= devel python MASTER_SITES= PYPI # has no tests PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Python package for executing tests in documentation strings WWW= https://github.com/Erotemic/xdoctest 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 concurrent autoplist pytest # some tests fail, see https://github.com/Erotemic/xdoctest/issues/131 +USE_PYTHON= distutils concurrent autoplist pytest NO_ARCH= yes TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} +do-test: # 5 tests fail, see https://github.com/Erotemic/xdoctest/issues/131; more failures w/out the below arguments to pytest + @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -k '' -p pytester -rs -v -o addopts= + alt-test: # tests using the xdoctest executable @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${STAGEDIR}${PREFIX}/bin/xdoctest -m xdoctest .include diff --git a/devel/py-xdoctest/distinfo b/devel/py-xdoctest/distinfo index f91e1225eee6..8be45e29ed08 100644 --- a/devel/py-xdoctest/distinfo +++ b/devel/py-xdoctest/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1662272446 -SHA256 (xdoctest-1.0.2.tar.gz) = 1bbf8de45dadbb31f1e2c9f427b4cc915d6d655c347b03bba6979653939ece34 -SIZE (xdoctest-1.0.2.tar.gz) = 177256 +TIMESTAMP = 1679942402 +SHA256 (xdoctest-1.1.1.tar.gz) = 2eac8131bdcdf2781b4e5a62d6de87f044b730cc8db8af142a51bb29c245e779 +SIZE (xdoctest-1.1.1.tar.gz) = 181995