git: d86755f805ff - main - devel/py-pytest-dotenv: New port: Pytest plugin that parses environment files before running tests
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 29 Jun 2026 05:55:51 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d86755f805ff7d435352572d7c69cd2b45927a22
commit d86755f805ff7d435352572d7c69cd2b45927a22
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-06-29 05:27:44 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-06-29 05:55:32 +0000
devel/py-pytest-dotenv: New port: Pytest plugin that parses environment files before running tests
---
devel/Makefile | 1 +
devel/py-pytest-dotenv/Makefile | 24 ++++++++++++++++++++++++
devel/py-pytest-dotenv/distinfo | 3 +++
devel/py-pytest-dotenv/pkg-descr | 3 +++
4 files changed, 31 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index d169e2fd315f..72f3f1ab8c39 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5882,6 +5882,7 @@
SUBDIR += py-pytest-dependency
SUBDIR += py-pytest-django
SUBDIR += py-pytest-doctestplus
+ SUBDIR += py-pytest-dotenv
SUBDIR += py-pytest-drop-dup-tests
SUBDIR += py-pytest-enabler
SUBDIR += py-pytest-env
diff --git a/devel/py-pytest-dotenv/Makefile b/devel/py-pytest-dotenv/Makefile
new file mode 100644
index 000000000000..076989aa18c4
--- /dev/null
+++ b/devel/py-pytest-dotenv/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= pytest-dotenv
+DISTVERSION= 0.5.2
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Pytest plugin that parses environment files before running tests
+WWW= https://github.com/quiqua/pytest-dotenv
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=5.0.0:devel/py-pytest@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}python-dotenv>=0.9.1:www/py-python-dotenv@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-pytest-dotenv/distinfo b/devel/py-pytest-dotenv/distinfo
new file mode 100644
index 000000000000..40970fcffdee
--- /dev/null
+++ b/devel/py-pytest-dotenv/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1782632228
+SHA256 (pytest-dotenv-0.5.2.tar.gz) = 2dc6c3ac6d8764c71c6d2804e902d0ff810fa19692e95fe138aefc9b1aa73732
+SIZE (pytest-dotenv-0.5.2.tar.gz) = 3782
diff --git a/devel/py-pytest-dotenv/pkg-descr b/devel/py-pytest-dotenv/pkg-descr
new file mode 100644
index 000000000000..75513c6fc85c
--- /dev/null
+++ b/devel/py-pytest-dotenv/pkg-descr
@@ -0,0 +1,3 @@
+pytest-dotenv is a pytest plugin that parses environment files before running
+tests. It uses python-dotenv to load variables from .env files, with optional
+configuration through pytest config files such as pytest.ini or tox.ini.