git: e1838c21a2a7 - main - devel/py-pytest-repeat: New port: Pytest plugin for repeating tests
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 20 Dec 2024 06:06:00 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=e1838c21a2a7d53d0dd67d5c0e6abb8ef441735a commit e1838c21a2a7d53d0dd67d5c0e6abb8ef441735a Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-12-19 15:09:02 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-12-20 06:05:39 +0000 devel/py-pytest-repeat: New port: Pytest plugin for repeating tests --- devel/Makefile | 1 + devel/py-pytest-repeat/Makefile | 27 +++++++++++++++++++++++++++ devel/py-pytest-repeat/distinfo | 3 +++ devel/py-pytest-repeat/pkg-descr | 2 ++ 4 files changed, 33 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 5812347f27ed..e1698492130c 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5690,6 +5690,7 @@ SUBDIR += py-pytest-regtest SUBDIR += py-pytest-relaxed SUBDIR += py-pytest-remotedata + SUBDIR += py-pytest-repeat SUBDIR += py-pytest-rerunfailures SUBDIR += py-pytest-ruff SUBDIR += py-pytest-runner diff --git a/devel/py-pytest-repeat/Makefile b/devel/py-pytest-repeat/Makefile new file mode 100644 index 000000000000..53723739e940 --- /dev/null +++ b/devel/py-pytest-repeat/Makefile @@ -0,0 +1,27 @@ +PORTNAME= pytest-repeat +DISTVERSION= 0.9.3 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:S/-/_/g}-${PORTVERSION} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Pytest plugin for repeating tests +WWW= https://github.com/pytest-dev/pytest-repeat + +LICENSE= MPL20 + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>0:devel/py-hatch-vcs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist pytest + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +NO_ARCH= yes + +# tests as of 0.9.3: 16 passed in 3.79s + +.include <bsd.port.mk> diff --git a/devel/py-pytest-repeat/distinfo b/devel/py-pytest-repeat/distinfo new file mode 100644 index 000000000000..ed015fc9d1a8 --- /dev/null +++ b/devel/py-pytest-repeat/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1734640588 +SHA256 (pytest_repeat-0.9.3.tar.gz) = ffd3836dfcd67bb270bec648b330e20be37d2966448c4148c4092d1e8aba8185 +SIZE (pytest_repeat-0.9.3.tar.gz) = 6272 diff --git a/devel/py-pytest-repeat/pkg-descr b/devel/py-pytest-repeat/pkg-descr new file mode 100644 index 000000000000..20840af0d928 --- /dev/null +++ b/devel/py-pytest-repeat/pkg-descr @@ -0,0 +1,2 @@ +pytest-repeat is a plugin for pytest that makes it easy to repeat a single test, +or multiple tests, a specific number of times.