git: d2bb2b991214 - main - devel/py-envs: New port: Easy access of environment variables from Python

Guangyuan Yang ygy at FreeBSD.org
Fri Jul 2 16:42:13 UTC 2021


The branch main has been updated by ygy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d2bb2b991214d39f07b7f75660b816e192d1c09b

commit d2bb2b991214d39f07b7f75660b816e192d1c09b
Author:     Ivan Rozhuk <rozhuk.im at gmail.com>
AuthorDate: 2021-07-02 16:40:43 +0000
Commit:     Guangyuan Yang <ygy at FreeBSD.org>
CommitDate: 2021-07-02 16:40:43 +0000

    devel/py-envs: New port: Easy access of environment variables from Python
    
    PR:             252078
    Approved by:    lwhsu (mentor)
---
 devel/py-envs/Makefile  | 16 ++++++++++++++++
 devel/py-envs/distinfo  |  3 +++
 devel/py-envs/pkg-descr |  8 ++++++++
 3 files changed, 27 insertions(+)

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 at 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


More information about the dev-commits-ports-main mailing list