git: 5d521ec8a591 - main - devel/py-envwrap: Add py-envwrap 0.3.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 08 Jul 2026 13:35:55 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5d521ec8a5910dbe003f7dd20f9691ce666fc013
commit 5d521ec8a5910dbe003f7dd20f9691ce666fc013
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-07-08 12:56:12 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-07-08 13:30:18 +0000
devel/py-envwrap: Add py-envwrap 0.3.0
envwrap overrides parameter defaults via environment variables & config files.
---
devel/Makefile | 1 +
devel/py-envwrap/Makefile | 30 ++++++++++++++++++++++++++++++
devel/py-envwrap/distinfo | 3 +++
devel/py-envwrap/pkg-descr | 1 +
4 files changed, 35 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 9f4c605a842a..34c3aba03b98 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4987,6 +4987,7 @@
SUBDIR += py-envier
SUBDIR += py-envisage
SUBDIR += py-envs
+ SUBDIR += py-envwrap
SUBDIR += py-epc
SUBDIR += py-epdb
SUBDIR += py-epsilon
diff --git a/devel/py-envwrap/Makefile b/devel/py-envwrap/Makefile
new file mode 100644
index 000000000000..b10bcb4c106a
--- /dev/null
+++ b/devel/py-envwrap/Makefile
@@ -0,0 +1,30 @@
+PORTNAME= envwrap
+PORTVERSION= 0.3.0
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Override parameter defaults via environment variables & config files
+WWW= https://github.com/tqdm/envwrap
+
+LICENSE= MPL20
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=42:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=3.4:devel/py-setuptools-scm@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}platformdirs>=0:devel/py-platformdirs@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 31100
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}toml>=0:textproc/py-toml@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/py-envwrap/distinfo b/devel/py-envwrap/distinfo
new file mode 100644
index 000000000000..8ffd4dfdccf9
--- /dev/null
+++ b/devel/py-envwrap/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1782966042
+SHA256 (envwrap-0.3.0.tar.gz) = 2e6afadbc38c4e7d866b9714d2375fb640c263dd3f636e3e86194a695675e80b
+SIZE (envwrap-0.3.0.tar.gz) = 9867
diff --git a/devel/py-envwrap/pkg-descr b/devel/py-envwrap/pkg-descr
new file mode 100644
index 000000000000..f4226b68f7ca
--- /dev/null
+++ b/devel/py-envwrap/pkg-descr
@@ -0,0 +1 @@
+envwrap overrides parameter defaults via environment variables & config files.