diff options
| author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2025-06-13 06:02:02 +0000 |
|---|---|---|
| committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2025-06-13 06:02:02 +0000 |
| commit | bf6c5e68702b0144b1cb27d40926d82470a487f0 (patch) | |
| tree | a33e58292e755f0f36cad30f6f60a7a290c02796 | |
| parent | 91ebade69ac899ccb6d4fe319422cc658b2076d2 (diff) | |
devel/py-donfig: Add py-donfig 0.8.1.post1
Donfig is a python library meant to make configuration easier for other python
packages. Donfig can be configured programmatically, by environment variables,
or from YAML files in standard locations. The below examples show the basics of
using donfig.
| -rw-r--r-- | devel/Makefile | 1 | ||||
| -rw-r--r-- | devel/py-donfig/Makefile | 25 | ||||
| -rw-r--r-- | devel/py-donfig/distinfo | 3 | ||||
| -rw-r--r-- | devel/py-donfig/files/patch-pyproject.toml | 9 | ||||
| -rw-r--r-- | devel/py-donfig/pkg-descr | 4 |
5 files changed, 42 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index b8d45f20e88e..ff7c3ce0ca9c 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4825,6 +4825,7 @@ SUBDIR += py-dogpile.cache SUBDIR += py-doit SUBDIR += py-domdf-python-tools + SUBDIR += py-donfig SUBDIR += py-donut-shellcode SUBDIR += py-dotmap SUBDIR += py-dotted diff --git a/devel/py-donfig/Makefile b/devel/py-donfig/Makefile new file mode 100644 index 000000000000..a8fd08600501 --- /dev/null +++ b/devel/py-donfig/Makefile @@ -0,0 +1,25 @@ +PORTNAME= donfig +PORTVERSION= 0.8.1.post1 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Python package for configuring a python package +WWW= https://donfig.readthedocs.io/en/latest/ \ + https://github.com/pytroll/donfig + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=62.6:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}versioneer>=0.28:devel/py-versioneer@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/py-donfig/distinfo b/devel/py-donfig/distinfo new file mode 100644 index 000000000000..e710402682a4 --- /dev/null +++ b/devel/py-donfig/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1748831200 +SHA256 (donfig-0.8.1.post1.tar.gz) = 3bef3413a4c1c601b585e8d297256d0c1470ea012afa6e8461dc28bfb7c23f52 +SIZE (donfig-0.8.1.post1.tar.gz) = 19506 diff --git a/devel/py-donfig/files/patch-pyproject.toml b/devel/py-donfig/files/patch-pyproject.toml new file mode 100644 index 000000000000..efe2cdf54652 --- /dev/null +++ b/devel/py-donfig/files/patch-pyproject.toml @@ -0,0 +1,9 @@ +--- pyproject.toml.orig 2024-05-23 14:13:41 UTC ++++ pyproject.toml +@@ -1,5 +1,5 @@ + [build-system] +-requires = ["setuptools>=62.6", "versioneer[toml]==0.28"] ++requires = ["setuptools>=62.6", "versioneer[toml]>=0.28"] + build-backend = "setuptools.build_meta" + + [project] diff --git a/devel/py-donfig/pkg-descr b/devel/py-donfig/pkg-descr new file mode 100644 index 000000000000..573b26d51d45 --- /dev/null +++ b/devel/py-donfig/pkg-descr @@ -0,0 +1,4 @@ +Donfig is a python library meant to make configuration easier for other python +packages. Donfig can be configured programmatically, by environment variables, +or from YAML files in standard locations. The below examples show the basics of +using donfig. |
