aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2026-07-20 18:32:51 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2026-07-20 19:22:29 +0000
commit71d6ca4c65a1ec3b6bfebe27b28b0df4d0dcc935 (patch)
treefa921d2090d8cd198b784affa453adebcd354604
parentfe99de4dffb6a5198dda4126b73fb2c0018a515a (diff)
devel/py-xdoctest: update 1.2.0 → 1.3.2
-rw-r--r--devel/py-xdoctest/Makefile17
-rw-r--r--devel/py-xdoctest/distinfo6
2 files changed, 10 insertions, 13 deletions
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,6 +1,5 @@
PORTNAME= xdoctest
-DISTVERSION= 1.2.0
-PORTREVISION= 1
+DISTVERSION= 1.3.2
CATEGORIES= devel python
MASTER_SITES= PYPI # has no tests
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,21 +11,19 @@ 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 <bsd.port.mk>
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