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:
parent
62cbc4c293
commit
11bb9c7a8f
@ -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
|
||||
|
23
devel/py-setoptconf/Makefile
Normal file
23
devel/py-setoptconf/Makefile
Normal 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>
|
3
devel/py-setoptconf/distinfo
Normal file
3
devel/py-setoptconf/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1694348234
|
||||
SHA256 (setoptconf-0.3.0.tar.gz) = d2ecbd27c0c7d0d53990e2df98d9aad6490df8b75b71c621d8c441d6e91e3161
|
||||
SIZE (setoptconf-0.3.0.tar.gz) = 13725
|
12
devel/py-setoptconf/pkg-descr
Normal file
12
devel/py-setoptconf/pkg-descr
Normal 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.
|
Loading…
Reference in New Issue
Block a user