From 767f94b41123e156e08bb7f92ffd920aa526b76e Mon Sep 17 00:00:00 2001 From: Rozhuk Ivan Date: Wed, 23 Dec 2020 11:38:33 +0300 Subject: [PATCH] devel/py-envs: add port Private patch. --- 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 diff --git a/devel/py-envs/Makefile b/devel/py-envs/Makefile new file mode 100644 index 000000000000..77086200a17e --- /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 diff --git a/devel/py-envs/distinfo b/devel/py-envs/distinfo new file mode 100644 index 000000000000..59776c251292 --- /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 diff --git a/devel/py-envs/pkg-descr b/devel/py-envs/pkg-descr new file mode 100644 index 000000000000..46a0a8f89713 --- /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