Date: Wed, 10 Aug 2022 04:17:35 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: 64b885ada496 - main - devel/py-xdoctest: New port: Python package for executing tests in documentation strings Message-ID: <202208100417.27A4HZcP007762@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=64b885ada496a6088fa49fd551875e2f374593b4 commit 64b885ada496a6088fa49fd551875e2f374593b4 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-08-10 01:15:11 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-08-10 04:17:30 +0000 devel/py-xdoctest: New port: Python package for executing tests in documentation strings --- devel/Makefile | 1 + devel/py-xdoctest/Makefile | 27 +++++++++++++++++++++++++++ devel/py-xdoctest/distinfo | 3 +++ devel/py-xdoctest/pkg-descr | 3 +++ 4 files changed, 34 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 4e0082e43dd8..4c58f21a3ecb 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5461,6 +5461,7 @@ SUBDIR += py-xcaplib SUBDIR += py-xdg SUBDIR += py-xdis + SUBDIR += py-xdoctest SUBDIR += py-xerox SUBDIR += py-xmltodict SUBDIR += py-xstatic diff --git a/devel/py-xdoctest/Makefile b/devel/py-xdoctest/Makefile new file mode 100644 index 000000000000..a085465c30da --- /dev/null +++ b/devel/py-xdoctest/Makefile @@ -0,0 +1,27 @@ +PORTNAME= xdoctest +DISTVERSION= 1.0.1 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP # has no tests +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Python package for executing tests in documentation strings + +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 autoplist pytest # some tests fail, see https://github.com/Erotemic/xdoctest/issues/131 + +NO_ARCH= yes + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +.include <bsd.port.mk> diff --git a/devel/py-xdoctest/distinfo b/devel/py-xdoctest/distinfo new file mode 100644 index 000000000000..86183f374139 --- /dev/null +++ b/devel/py-xdoctest/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1660092630 +SHA256 (xdoctest-1.0.1.tar.gz) = 3b90a4b7894dda58c9c8dc673fb61fdceb90fdc838baf1cac475618c8e35975c +SIZE (xdoctest-1.0.1.tar.gz) = 173949 diff --git a/devel/py-xdoctest/pkg-descr b/devel/py-xdoctest/pkg-descr new file mode 100644 index 000000000000..b1a860b1e94b --- /dev/null +++ b/devel/py-xdoctest/pkg-descr @@ -0,0 +1,3 @@ +Xdoctest is a Python package for executing tests in documentation strings. + +WWW: https://github.com/Erotemic/xdoctest
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202208100417.27A4HZcP007762>