git: f7a76858b950 - main - devel/py-pytest-recorder: New port: Pytest Plugin for unit tests writing for tools consuming Web APIs

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 10 Nov 2024 20:46:22 UTC
The branch main has been updated by yuri:

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

commit f7a76858b950fb4d96e0ccab6b75c52b792fbc3c
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-11-10 20:29:20 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-11-10 20:46:19 +0000

    devel/py-pytest-recorder: New port: Pytest Plugin for unit tests writing for tools consuming Web APIs
---
 devel/Makefile                     |  1 +
 devel/py-pytest-recorder/Makefile  | 22 ++++++++++++++++++++++
 devel/py-pytest-recorder/distinfo  |  3 +++
 devel/py-pytest-recorder/pkg-descr |  2 ++
 4 files changed, 28 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 2c7445c19c3c..5c18075e2dfc 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5653,6 +5653,7 @@
     SUBDIR += py-pytest-qt
     SUBDIR += py-pytest-random-order
     SUBDIR += py-pytest-randomly
+    SUBDIR += py-pytest-recorder
     SUBDIR += py-pytest-regressions
     SUBDIR += py-pytest-regtest
     SUBDIR += py-pytest-relaxed
diff --git a/devel/py-pytest-recorder/Makefile b/devel/py-pytest-recorder/Makefile
new file mode 100644
index 000000000000..53cc3355b6b2
--- /dev/null
+++ b/devel/py-pytest-recorder/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	pytest-recorder
+DISTVERSION=	0.3.0
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	${PORTNAME:S/-/_/}-${PORTVERSION}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Pytest Plugin for unit tests writing for tools consuming Web APIs
+WWW=		https://pypi.org/project/pytest-recorder/
+
+LICENSE=	MIT
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	pep517 autoplist
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-pytest-recorder/distinfo b/devel/py-pytest-recorder/distinfo
new file mode 100644
index 000000000000..3371fab54312
--- /dev/null
+++ b/devel/py-pytest-recorder/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1731270257
+SHA256 (pytest_recorder-0.3.0.tar.gz) = b2acb2333f66392c6d9ba3309962119a23250e640383ffc308e81938f68dca17
+SIZE (pytest_recorder-0.3.0.tar.gz) = 6477
diff --git a/devel/py-pytest-recorder/pkg-descr b/devel/py-pytest-recorder/pkg-descr
new file mode 100644
index 000000000000..f4b60182e833
--- /dev/null
+++ b/devel/py-pytest-recorder/pkg-descr
@@ -0,0 +1,2 @@
+Pytest plugin, meant to facilitate unit tests writing for tools consuming
+Web APIs.