aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Rozhuk <rozhuk.im@gmail.com>2021-07-02 16:40:43 +0000
committerGuangyuan Yang <ygy@FreeBSD.org>2021-07-02 16:40:43 +0000
commitd2bb2b991214d39f07b7f75660b816e192d1c09b (patch)
treecbce68b32f3d162816d4477e475888d01934f576
parentccb30d4faa30a69709e3959468e6838fb87b6709 (diff)
downloadports-d2bb2b991214d39f07b7f75660b816e192d1c09b.tar.gz
ports-d2bb2b991214d39f07b7f75660b816e192d1c09b.zip
devel/py-envs: New port: Easy access of environment variables from Python
PR: 252078 Approved by: lwhsu (mentor)
-rw-r--r--devel/py-envs/Makefile16
-rw-r--r--devel/py-envs/distinfo3
-rw-r--r--devel/py-envs/pkg-descr8
3 files changed, 27 insertions, 0 deletions
diff --git a/devel/py-envs/Makefile b/devel/py-envs/Makefile
new file mode 100644
index 000000000000..5e483c63d0fc
--- /dev/null
+++ b/devel/py-envs/Makefile
@@ -0,0 +1,16 @@
+PORTNAME= envs
+DISTVERSION= 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= autoplist distutils
+
+.include <bsd.port.mk>
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..381e94059897
--- /dev/null
+++ b/devel/py-envs/pkg-descr
@@ -0,0 +1,8 @@
+Easy access of environment variables from Python with support for
+booleans, strings, lists, tuples, integers, floats, and dicts.
+
+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.
+
+WWW: https://github.com/capless/envs