Date: Wed, 10 Aug 2022 05:28:13 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: c3a2f19b74a9 - main - devel/py-xdoctest: Add USE_PYTHON=concurrent; Add alt-test Message-ID: <202208100528.27A5SD4B002345@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=c3a2f19b74a9f382fb11f1f7d19481e73539dc31 commit c3a2f19b74a9f382fb11f1f7d19481e73539dc31 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-08-10 05:27:46 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-08-10 05:27:46 +0000 devel/py-xdoctest: Add USE_PYTHON=concurrent; Add alt-test --- devel/py-xdoctest/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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,5 +1,6 @@ PORTNAME= xdoctest DISTVERSION= 1.0.1 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP # has no tests PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -18,10 +19,13 @@ 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 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 <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202208100528.27A5SD4B002345>