aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-03-09 13:44:15 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-03-09 14:05:15 +0000
commit69a9af63e54a9cd1eaae3c91431d65adc5daad1c (patch)
tree6e22b1e0ef867702f5aca4a7a32a5600438f6498
parent91d24eac61729925d66b970e7fe4223fab3e3f35 (diff)
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
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-pytest-lazy-fixtures/Makefile23
-rw-r--r--devel/py-pytest-lazy-fixtures/distinfo3
-rw-r--r--devel/py-pytest-lazy-fixtures/pkg-descr7
4 files changed, 34 insertions, 0 deletions
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