aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2023-03-27 15:02:03 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2023-03-27 18:50:54 +0000
commitd6d5365349e0e670f3f4689dd2cf49a1ab1b9a5f (patch)
tree00e5e7d5f598b3fcbf7d5ab4f5962962f4d789fe
parent8010cae595220a2c70a5a3a804dbb3b0c2e4cd84 (diff)
downloadports-d6d5365349e0e670f3f4689dd2cf49a1ab1b9a5f.tar.gz
ports-d6d5365349e0e670f3f4689dd2cf49a1ab1b9a5f.zip
devel/py-xdoctest: Update 1.0.2 → 1.1.1
Reported by: portscout
-rw-r--r--devel/py-xdoctest/Makefile7
-rw-r--r--devel/py-xdoctest/distinfo6
2 files changed, 8 insertions, 5 deletions
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,5 +1,5 @@
PORTNAME= xdoctest
-DISTVERSION= 1.0.2
+DISTVERSION= 1.1.1
CATEGORIES= devel python
MASTER_SITES= PYPI # has no tests
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -19,12 +19,15 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}codecov>=2.0.15:devel/py-codecov@${PY_FLAVO
${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
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