diff --git a/devel/py-xdoctest/Makefile b/devel/py-xdoctest/Makefile index 9d7386b18f7f..aa0e94694922 100644 --- a/devel/py-xdoctest/Makefile +++ b/devel/py-xdoctest/Makefile @@ -1,32 +1,29 @@ PORTNAME= xdoctest -DISTVERSION= 1.2.0 -PORTREVISION= 1 +DISTVERSION= 1.3.2 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 -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>=3.0.0:devel/py-pytest-cov@${PY_FLAVOR} +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} USES= python -USE_PYTHON= distutils concurrent autoplist pytest # 2 tests fail +USE_PYTHON= pep517 concurrent autoplist NO_ARCH= yes TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -do-test: # 2 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= +do-test: + @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${STAGEDIR}${PREFIX}/bin/xdoctest -m xdoctest -alt-test: # tests using the xdoctest executable - all tests pass this way - @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${STAGEDIR}${PREFIX}/bin/xdoctest -m xdoctest +# tests as of 1.3.2: 125 passed, 13 skipped, 1 warning in 9.29 seconds .include diff --git a/devel/py-xdoctest/distinfo b/devel/py-xdoctest/distinfo index bf88c6f93845..f93c71aff160 100644 --- a/devel/py-xdoctest/distinfo +++ b/devel/py-xdoctest/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1724214016 -SHA256 (xdoctest-1.2.0.tar.gz) = d8cfca6d8991e488d33f756e600d35b9fdf5efd5c3a249d644efcbbbd2ed5863 -SIZE (xdoctest-1.2.0.tar.gz) = 204804 +TIMESTAMP = 1784571723 +SHA256 (xdoctest-1.3.2.tar.gz) = bf6078c4fc0d60aafd8753fccdc435c95f26a640508e606d188d96f48359f0aa +SIZE (xdoctest-1.3.2.tar.gz) = 209923