@@ -, +, @@ --- devel/py-envs/Makefile | 18 ++++++++++++++++++ devel/py-envs/distinfo | 3 +++ devel/py-envs/pkg-descr | 17 +++++++++++++++++ 3 files changed, 38 insertions(+) create mode 100644 devel/py-envs/Makefile create mode 100644 devel/py-envs/distinfo create mode 100644 devel/py-envs/pkg-descr --- /dev/null +++ b/devel/py-envs/Makefile @@ -0,0 +1,18 @@ +# $FreeBSD$ + +PORTNAME= envs +PORTVERSION= 1.3 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= rozhuk.im@gmail.com +COMMENT= Easy access of environment variables from Python + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python +USE_PYTHON= distutils autoplist + +.include --- /dev/null +++ b/devel/py-envs/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1606003940 +SHA256 (envs-1.3.tar.gz) = ccf5cd85ddb8ed335e39ed8a22e0d23658f5a6d7da430f225e6f750c6f50ae42 +SIZE (envs-1.3.tar.gz) = 21969 --- /dev/null +++ b/devel/py-envs/pkg-descr @@ -0,0 +1,17 @@ +Easy access of environment variables from Python with support for +booleans, strings, lists, tuples, integers, floats, and dicts. + +Use Case +If you need environment variables for your settings but need an easy way +of using Python objects instead of just strings. For example, if you +need a list of strings. + +Features + - CLI to convert settings + - CLI to list and check environment variables + - Use strings, lists, tuples, integers, floats or dicts. + IMPORTANT: When setting the variables in your environmenet + (ex. in .env file) wrap them in single or double quotes + (ex. "['some','list']") + +WWW: https://github.com/capless/envs