git: 50a2d158c671 - main - devel/py-pytest-freezer: New port

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 17 Jul 2023 09:12:02 UTC
The branch main has been updated by bofh:

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

commit 50a2d158c6716ac4bfca425d1d5ea3da03cebd4a
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-17 08:58:21 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-17 09:11:47 +0000

    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
---
 devel/Makefile                    |  1 +
 devel/py-pytest-freezer/Makefile  | 24 ++++++++++++++++++++++++
 devel/py-pytest-freezer/distinfo  |  3 +++
 devel/py-pytest-freezer/pkg-descr |  3 +++
 4 files changed, 31 insertions(+)

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.