diff options
| author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-07-17 08:58:21 +0000 |
|---|---|---|
| committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-07-17 09:11:47 +0000 |
| commit | 50a2d158c6716ac4bfca425d1d5ea3da03cebd4a (patch) | |
| tree | 4387116073aa1aa9be3764eb2012b435454b5867 | |
| parent | f2d292f1f97a1452359fb871c9c3f1a49a7bdae0 (diff) | |
devel/py-pytest-freezer: New port
Pytest plugin providing a fixture interface for freezegun.
This is a dropin replacement for py-pytest-freezegun.
WWW: https://github.com/pytest-dev/pytest-freezer
| -rw-r--r-- | devel/Makefile | 1 | ||||
| -rw-r--r-- | devel/py-pytest-freezer/Makefile | 24 | ||||
| -rw-r--r-- | devel/py-pytest-freezer/distinfo | 3 | ||||
| -rw-r--r-- | devel/py-pytest-freezer/pkg-descr | 3 |
4 files changed, 31 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index ef7b3ec17762..2711c4c2d535 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5328,6 +5328,7 @@ SUBDIR += py-pytest-flask SUBDIR += py-pytest-forked SUBDIR += py-pytest-freezegun + SUBDIR += py-pytest-freezer SUBDIR += py-pytest-helpers-namespace SUBDIR += py-pytest-html SUBDIR += py-pytest-httpbin diff --git a/devel/py-pytest-freezer/Makefile b/devel/py-pytest-freezer/Makefile new file mode 100644 index 000000000000..9829c46011e9 --- /dev/null +++ b/devel/py-pytest-freezer/Makefile @@ -0,0 +1,24 @@ +PORTNAME= pytest-freezer +PORTVERSION= 0.4.8 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= pytest_freezer-${PORTVERSION} + +MAINTAINER= bofh@FreeBSD.org +COMMENT= Pytest plugin providing a fixture interface for freezegun +WWW= https://github.com/pytest-dev/pytest-freezer + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>0:devel/py-flit-core@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}freezegun>=1.0:devel/py-freezegun@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest>=3.6:devel/py-pytest@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist pep517 + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/py-pytest-freezer/distinfo b/devel/py-pytest-freezer/distinfo new file mode 100644 index 000000000000..6b58f189c9b9 --- /dev/null +++ b/devel/py-pytest-freezer/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1689583672 +SHA256 (pytest_freezer-0.4.8.tar.gz) = 8ee2f724b3ff3540523fa355958a22e6f4c1c819928b78a7a183ae4248ce6ee6 +SIZE (pytest_freezer-0.4.8.tar.gz) = 3212 diff --git a/devel/py-pytest-freezer/pkg-descr b/devel/py-pytest-freezer/pkg-descr new file mode 100644 index 000000000000..5b3b0842e20e --- /dev/null +++ b/devel/py-pytest-freezer/pkg-descr @@ -0,0 +1,3 @@ +Pytest plugin providing a fixture interface for freezegun. + +This is a dropin replacement for py-pytest-freezegun. |
