1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

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
This commit is contained in:
Po-Chuan Hsieh 2024-03-09 21:44:15 +08:00
parent 91d24eac61
commit 69a9af63e5
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
4 changed files with 34 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -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

View File

@ -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