Page MenuHomeFreeBSD

D43484.diff
No OneTemporary

D43484.diff

diff --git a/devel/Makefile b/devel/Makefile
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5377,6 +5377,7 @@
SUBDIR += py-pytest-cpp
SUBDIR += py-pytest-datadir
SUBDIR += py-pytest-django
+ SUBDIR += py-pytest-drop-dup-tests
SUBDIR += py-pytest-enabler
SUBDIR += py-pytest-env
SUBDIR += py-pytest-factoryboy
diff --git a/devel/py-pytest-drop-dup-tests/Makefile b/devel/py-pytest-drop-dup-tests/Makefile
new file mode 100644
--- /dev/null
+++ b/devel/py-pytest-drop-dup-tests/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= pytest-drop-dup-tests
+DISTVERSION= 0.3.0
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= agh@riseup.net
+COMMENT= Pytest plugin to drop duplicated tests during collection
+WWW= https://github.com/nicoddemus/pytest-drop-dup-tests
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox@${PY_FLAVOR}
+
+USES= cpe python
+USE_PYTHON= autoplist concurrent pep517 pytest
+
+.include <bsd.port.mk>
diff --git a/devel/py-pytest-drop-dup-tests/distinfo b/devel/py-pytest-drop-dup-tests/distinfo
new file mode 100644
--- /dev/null
+++ b/devel/py-pytest-drop-dup-tests/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1705534918
+SHA256 (pytest-drop-dup-tests-0.3.0.tar.gz) = 6ef9b3dd19171136b1b5e970a3d80593ccbc51e3684b1b72f1054a16656bc563
+SIZE (pytest-drop-dup-tests-0.3.0.tar.gz) = 5322
diff --git a/devel/py-pytest-drop-dup-tests/pkg-descr b/devel/py-pytest-drop-dup-tests/pkg-descr
new file mode 100644
--- /dev/null
+++ b/devel/py-pytest-drop-dup-tests/pkg-descr
@@ -0,0 +1,5 @@
+Pytest plugin to drop duplicated tests during collection. Pytest by default
+will collect all tests from directories or files given configured by the
+Project, or passed on the command line. The plugin aims to reduce test work by
+executing tests/unit first, followed by the remaining tests under tests,
+however, without duplicates.

File Metadata

Mime Type
text/plain
Expires
Wed, Jan 21, 2:40 PM (2 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27809257
Default Alt Text
D43484.diff (2 KB)

Event Timeline