diff options
Diffstat (limited to '')
-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 |
4 files changed, 41 insertions, 0 deletions
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. |