diff options
| author | Olivier Cochard <olivier@FreeBSD.org> | 2026-05-07 10:38:36 +0000 |
|---|---|---|
| committer | Olivier Cochard <olivier@FreeBSD.org> | 2026-05-07 10:42:05 +0000 |
| commit | 21779947a62ac650efc4a1fc5b361466089689d0 (patch) | |
| tree | 961ea502465784ff7eb67d20e0a6417d099d5f7c | |
| parent | ee5c9dcc5414649dc7e66ff2324187ca674f7c9d (diff) | |
devel/py-pyconfigurator: New port
Easy configuration from command line arguments and ini files
| -rw-r--r-- | devel/Makefile | 1 | ||||
| -rw-r--r-- | devel/py-pyconfigurator/Makefile | 24 | ||||
| -rw-r--r-- | devel/py-pyconfigurator/distinfo | 3 | ||||
| -rw-r--r-- | devel/py-pyconfigurator/pkg-descr | 4 |
4 files changed, 32 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index b22e5f33e6ae..2d5a7f8ab3a3 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5708,6 +5708,7 @@ SUBDIR += py-pycompilation SUBDIR += py-pycomplete SUBDIR += py-pycomposefile + SUBDIR += py-pyconfigurator SUBDIR += py-pyconify SUBDIR += py-pycparser SUBDIR += py-pycrdt diff --git a/devel/py-pyconfigurator/Makefile b/devel/py-pyconfigurator/Makefile new file mode 100644 index 000000000000..2a14f0d6be62 --- /dev/null +++ b/devel/py-pyconfigurator/Makefile @@ -0,0 +1,24 @@ +PORTNAME= pyconfigurator +PORTVERSION= 0.4.19 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= olivier@FreeBSD.org +COMMENT= Easy configuration from command line arguments and ini files +WWW= https://github.com/charsmith/configurator + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setupmeta>=0:devel/py-setupmeta@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}future>=0:devel/py-future@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/py-pyconfigurator/distinfo b/devel/py-pyconfigurator/distinfo new file mode 100644 index 000000000000..e47f9c18d445 --- /dev/null +++ b/devel/py-pyconfigurator/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1778149906 +SHA256 (pyconfigurator-0.4.19.tar.gz) = a5725dcfd5f50692f21adb6c93e0faf10b919262b954121ccb5a87cd48d858c4 +SIZE (pyconfigurator-0.4.19.tar.gz) = 8141 diff --git a/devel/py-pyconfigurator/pkg-descr b/devel/py-pyconfigurator/pkg-descr new file mode 100644 index 000000000000..7beb9be5e95d --- /dev/null +++ b/devel/py-pyconfigurator/pkg-descr @@ -0,0 +1,4 @@ +Configurator is a Python library that makes it easy to read configuration +from command line arguments and ini files. It merges values from both +sources into a single object, so applications can accept the same setting +from either an ini file or a CLI flag without writing extra glue code. |
