git: 69a9af63e54a - main - devel/py-pytest-lazy-fixtures: Add py-pytest-lazy-fixtures 1.0.5

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 09 Mar 2024 14:09:41 UTC
The branch main has been updated by sunpoet:

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

commit 69a9af63e54a9cd1eaae3c91431d65adc5daad1c
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-09 13:44:15 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-09 14:05:15 +0000

    devel/py-pytest-lazy-fixtures: Add py-pytest-lazy-fixtures 1.0.5
    
    pytest-lazy-fixtures allows you to use fixtures in @pytest.mark.parametrize.
    
    This project was inspired by pytest-lazy-fixture. Improvements that have been
    made in this project:
    - You can use fixtures in any data structures
    - You can access the attributes of fixtures
    - You can use functions in fixtures
---
 devel/Makefile                          |  1 +
 devel/py-pytest-lazy-fixtures/Makefile  | 23 +++++++++++++++++++++++
 devel/py-pytest-lazy-fixtures/distinfo  |  3 +++
 devel/py-pytest-lazy-fixtures/pkg-descr |  7 +++++++
 4 files changed, 34 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 19ddb19870cc..6d4f019b8b10 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5431,6 +5431,7 @@
     SUBDIR += py-pytest-isort
     SUBDIR += py-pytest-jupyter
     SUBDIR += py-pytest-lazy-fixture
+    SUBDIR += py-pytest-lazy-fixtures
     SUBDIR += py-pytest-localserver
     SUBDIR += py-pytest-markdown
     SUBDIR += py-pytest-metadata
diff --git a/devel/py-pytest-lazy-fixtures/Makefile b/devel/py-pytest-lazy-fixtures/Makefile
new file mode 100644
index 000000000000..56065cf38d8f
--- /dev/null
+++ b/devel/py-pytest-lazy-fixtures/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	pytest-lazy-fixtures
+PORTVERSION=	1.0.5
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	pytest_lazy_fixtures-${PORTVERSION}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Allow you to use fixtures in @pytest.mark.parametrize
+WWW=		https://github.com/dev-petrov/pytest-lazy-fixtures
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=0:devel/py-poetry-core@${PY_FLAVOR}
+RUN_DEPENDS=	${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-lazy-fixtures/distinfo b/devel/py-pytest-lazy-fixtures/distinfo
new file mode 100644
index 000000000000..9c3b81e01cfa
--- /dev/null
+++ b/devel/py-pytest-lazy-fixtures/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1709390334
+SHA256 (pytest_lazy_fixtures-1.0.5.tar.gz) = 066b253a94c249e6d9cdfad465e2503d2219139fb468d8f687243dfde39ab9cb
+SIZE (pytest_lazy_fixtures-1.0.5.tar.gz) = 4989
diff --git a/devel/py-pytest-lazy-fixtures/pkg-descr b/devel/py-pytest-lazy-fixtures/pkg-descr
new file mode 100644
index 000000000000..397065072069
--- /dev/null
+++ b/devel/py-pytest-lazy-fixtures/pkg-descr
@@ -0,0 +1,7 @@
+pytest-lazy-fixtures allows you to use fixtures in @pytest.mark.parametrize.
+
+This project was inspired by pytest-lazy-fixture. Improvements that have been
+made in this project:
+- You can use fixtures in any data structures
+- You can access the attributes of fixtures
+- You can use functions in fixtures