aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-06-26 17:27:59 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-06-26 17:27:59 +0000
commitc56862db125f7aef8f5f84c9c47dbcc6577679fc (patch)
tree42b54a950eb5e1d5fa318d7bee125637d899163c
parent86e2b9b62ceda8d0c256038c3d1c6bcf8995661d (diff)
devel/py-pytest-relaxed: Add py-pytest-relaxed 2.0.2
pytest-relaxed provides 'relaxed' test discovery for pytest. It is the spiritual successor to spec, but is built for pytest instead of nosetests, and rethinks some aspects of the design (such as increased ability to opt-in to various behaviors.)
-rw-r--r--MOVED1
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-pytest-relaxed/Makefile25
-rw-r--r--devel/py-pytest-relaxed/distinfo3
-rw-r--r--devel/py-pytest-relaxed/pkg-descr5
5 files changed, 34 insertions, 1 deletions
diff --git a/MOVED b/MOVED
index 989d5365594a..7f835960d89e 100644
--- a/MOVED
+++ b/MOVED
@@ -4536,7 +4536,6 @@ misc/py-orange3-network||2025-06-23|Has expired: Depends on expiring misc/orange
www/onionshare||2025-06-23|Has expired: Depends on expired devel/py-atomicwrites
deskutils/py-todoman||2025-06-23|Has expired: Depends on expired devel/py-atomicwrites
deskutils/py-khard||2025-06-23|Has expired: Depends on expired devel/py-atomicwrites
-devel/py-pytest-relaxed||2025-06-23|Has expired: Depends on expiring devel/py-pytest4
devel/py-pytest4-flakes||2025-06-23|Has expired: Depends on expiring devel/py-pytest4
devel/py-pytest-pep8||2025-06-23|Has expired: Depends on expiring devel/py-pytest4
devel/py-pytest4-cache||2025-06-23|Has expired: Depends on expiring devel/py-pytest4
diff --git a/devel/Makefile b/devel/Makefile
index 68712d6be3c7..d7eca7166105 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5720,6 +5720,7 @@
SUBDIR += py-pytest-recording
SUBDIR += py-pytest-regressions
SUBDIR += py-pytest-regtest
+ SUBDIR += py-pytest-relaxed
SUBDIR += py-pytest-remotedata
SUBDIR += py-pytest-repeat
SUBDIR += py-pytest-rerunfailures
diff --git a/devel/py-pytest-relaxed/Makefile b/devel/py-pytest-relaxed/Makefile
new file mode 100644
index 000000000000..b1ddc593713f
--- /dev/null
+++ b/devel/py-pytest-relaxed/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= pytest-relaxed
+PORTVERSION= 2.0.2
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Relaxed test discovery/organization for pytest
+WWW= https://pytest-relaxed.readthedocs.io/en/latest/ \
+ https://github.com/bitprophet/pytest-relaxed
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}decorator>=0:devel/py-decorator@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest>=7,1:devel/py-pytest@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-pytest-relaxed/distinfo b/devel/py-pytest-relaxed/distinfo
new file mode 100644
index 000000000000..ca6a7323c79a
--- /dev/null
+++ b/devel/py-pytest-relaxed/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1750955575
+SHA256 (pytest-relaxed-2.0.2.tar.gz) = 956ea028ec30dbbfb680dd8e7b4a7fb8f80a239595e88bace018bf2c0d718248
+SIZE (pytest-relaxed-2.0.2.tar.gz) = 27876
diff --git a/devel/py-pytest-relaxed/pkg-descr b/devel/py-pytest-relaxed/pkg-descr
new file mode 100644
index 000000000000..a0f3f1b209c9
--- /dev/null
+++ b/devel/py-pytest-relaxed/pkg-descr
@@ -0,0 +1,5 @@
+pytest-relaxed provides 'relaxed' test discovery for pytest.
+
+It is the spiritual successor to spec, but is built for pytest instead of
+nosetests, and rethinks some aspects of the design (such as increased ability to
+opt-in to various behaviors.)