git: c56862db125f - main - devel/py-pytest-relaxed: Add py-pytest-relaxed 2.0.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 26 Jun 2025 17:30:16 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c56862db125f7aef8f5f84c9c47dbcc6577679fc

commit c56862db125f7aef8f5f84c9c47dbcc6577679fc
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-06-26 17:27:59 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-06-26 17:27:59 +0000

    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.)
---
 MOVED                             |  1 -
 devel/Makefile                    |  1 +
 devel/py-pytest-relaxed/Makefile  | 25 +++++++++++++++++++++++++
 devel/py-pytest-relaxed/distinfo  |  3 +++
 devel/py-pytest-relaxed/pkg-descr |  5 +++++
 5 files changed, 34 insertions(+), 1 deletion(-)

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.)