git: ab0153d899bd - main - devel/py-pytest-services: Add new port

From: Nicola Vitale <nivit_at_FreeBSD.org>
Date: Wed, 14 Jun 2023 10:01:42 UTC
The branch main has been updated by nivit:

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

commit ab0153d899bdf5e9f129971a864eff7e94177a28
Author:     Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2023-06-14 09:59:51 +0000
Commit:     Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2023-06-14 10:01:11 +0000

    devel/py-pytest-services: Add new port
    
    Collection of fixtures and utility functions to run service processes
    for your tests with pytest.
    
    https://github.com/pytest-dev/pytest-services
---
 devel/Makefile                     |  1 +
 devel/py-pytest-services/Makefile  | 22 ++++++++++++++++++++++
 devel/py-pytest-services/distinfo  |  3 +++
 devel/py-pytest-services/pkg-descr |  2 ++
 4 files changed, 28 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 4e854799d8be..b4b2f268cb54 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5336,6 +5336,7 @@
     SUBDIR += py-pytest-relaxed
     SUBDIR += py-pytest-rerunfailures
     SUBDIR += py-pytest-runner
+    SUBDIR += py-pytest-services
     SUBDIR += py-pytest-shutil
     SUBDIR += py-pytest-subtests
     SUBDIR += py-pytest-sugar
diff --git a/devel/py-pytest-services/Makefile b/devel/py-pytest-services/Makefile
new file mode 100644
index 000000000000..57b5f4fb420c
--- /dev/null
+++ b/devel/py-pytest-services/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	pytest-services
+DISTVERSION=	2.2.1
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	nivit@FreeBSD.org
+COMMENT=	Fixtures and utility functions to run service processes for pytest
+WWW=		https://github.com/pytest-dev/pytest-services
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=42:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4.1:devel/py-setuptools_scm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	pytest-${PYTHON_VER}:devel/py-pytest@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist pep517
+
+.include <bsd.port.mk>
diff --git a/devel/py-pytest-services/distinfo b/devel/py-pytest-services/distinfo
new file mode 100644
index 000000000000..93ad2710a270
--- /dev/null
+++ b/devel/py-pytest-services/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1686735832
+SHA256 (pytest-services-2.2.1.tar.gz) = 2da740487d08ea63dfdf718f5d4ba11e590c99ddf5481549edebf7a3a42ca536
+SIZE (pytest-services-2.2.1.tar.gz) = 28538
diff --git a/devel/py-pytest-services/pkg-descr b/devel/py-pytest-services/pkg-descr
new file mode 100644
index 000000000000..1e7e581cc187
--- /dev/null
+++ b/devel/py-pytest-services/pkg-descr
@@ -0,0 +1,2 @@
+This Pytest plugin provides a set of fixtures and utility functions to start
+service processes for your tests with pytest.