1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00

devel/py-setoptconf: Add py-setoptconf 0.3.0

setoptconf is a Python library that can be used to retrieve program settings
from a variety of common sources:
- Command Line
- Environment Variables
- INI Files
- JSON Files
- YAML Files
- Python Objects/Modules

The goal of this project is to define your desired settings in a simple and
consistent way, and then point setoptconf at as many of the sources as you'd
like to use, and let it comb them all, looking for your settings.
This commit is contained in:
Po-Chuan Hsieh 2023-09-11 10:51:22 +08:00
parent 62cbc4c293
commit 11bb9c7a8f
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
4 changed files with 39 additions and 0 deletions

View File

@ -5564,6 +5564,7 @@
SUBDIR += py-serializable
SUBDIR += py-serpent
SUBDIR += py-session-info
SUBDIR += py-setoptconf
SUBDIR += py-setproctitle
SUBDIR += py-setuptools
SUBDIR += py-setuptools-declarative-requirements

View File

@ -0,0 +1,23 @@
PORTNAME= setoptconf
PORTVERSION= 0.3.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Retrieve program settings from various sources in a consistant method
WWW= https://github.com/jayclassless/setoptconf
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
OPTIONS_DEFINE= YAML
YAML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR}
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1694348234
SHA256 (setoptconf-0.3.0.tar.gz) = d2ecbd27c0c7d0d53990e2df98d9aad6490df8b75b71c621d8c441d6e91e3161
SIZE (setoptconf-0.3.0.tar.gz) = 13725

View File

@ -0,0 +1,12 @@
setoptconf is a Python library that can be used to retrieve program settings
from a variety of common sources:
- Command Line
- Environment Variables
- INI Files
- JSON Files
- YAML Files
- Python Objects/Modules
The goal of this project is to define your desired settings in a simple and
consistent way, and then point setoptconf at as many of the sources as you'd
like to use, and let it comb them all, looking for your settings.