freebsd-ports/devel/py-setoptconf/Makefile
Po-Chuan Hsieh 11bb9c7a8f
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.
2023-09-11 11:03:56 +08:00

23 lines
525 B
Makefile

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>