diff options
Diffstat (limited to 'devel/py-pytest-filter-subpackage')
-rw-r--r-- | devel/py-pytest-filter-subpackage/Makefile | 29 | ||||
-rw-r--r-- | devel/py-pytest-filter-subpackage/distinfo | 3 | ||||
-rw-r--r-- | devel/py-pytest-filter-subpackage/pkg-descr | 3 |
3 files changed, 35 insertions, 0 deletions
diff --git a/devel/py-pytest-filter-subpackage/Makefile b/devel/py-pytest-filter-subpackage/Makefile new file mode 100644 index 000000000000..9756657dc05b --- /dev/null +++ b/devel/py-pytest-filter-subpackage/Makefile @@ -0,0 +1,29 @@ +PORTNAME= pytest-filter-subpackage +DISTVERSION= 0.2.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Pytest plugin for filtering based on sub-packages +WWW= https://github.com/astropy/pytest-filter-subpackage + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.rst + +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest>=4.6:devel/py-pytest@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist pytest + +NO_ARCH= yes + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +# tests as of 0.2.0: 3 failed, 5 passed in 3.14s, see https://github.com/astropy/pytest-filter-subpackage/issues/31 + +.include <bsd.port.mk> diff --git a/devel/py-pytest-filter-subpackage/distinfo b/devel/py-pytest-filter-subpackage/distinfo new file mode 100644 index 000000000000..58a99512f08b --- /dev/null +++ b/devel/py-pytest-filter-subpackage/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1757267184 +SHA256 (pytest-filter-subpackage-0.2.0.tar.gz) = 3f468f1b36518128869b95deab661ba45ed6293854329fef14da4c8cac78af56 +SIZE (pytest-filter-subpackage-0.2.0.tar.gz) = 8085 diff --git a/devel/py-pytest-filter-subpackage/pkg-descr b/devel/py-pytest-filter-subpackage/pkg-descr new file mode 100644 index 000000000000..e7d1939b98d6 --- /dev/null +++ b/devel/py-pytest-filter-subpackage/pkg-descr @@ -0,0 +1,3 @@ +pytest-filter-subpackage is a simple plugin for the pytest framework that +provides a shortcut to testing all code and documentation for a given +sub-package. |