From owner-dev-commits-ports-main@freebsd.org Fri Jul 2 16:42:13 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 65FF666EF62; Fri, 2 Jul 2021 16:42:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GGgps2VQ7z4tC7; Fri, 2 Jul 2021 16:42:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3CB8D17C13; Fri, 2 Jul 2021 16:42:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 162GgD3R082381; Fri, 2 Jul 2021 16:42:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 162GgDUq082380; Fri, 2 Jul 2021 16:42:13 GMT (envelope-from git) Date: Fri, 2 Jul 2021 16:42:13 GMT Message-Id: <202107021642.162GgDUq082380@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Guangyuan Yang Subject: git: d2bb2b991214 - main - devel/py-envs: New port: Easy access of environment variables from Python MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ygy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d2bb2b991214d39f07b7f75660b816e192d1c09b Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jul 2021 16:42:13 -0000 The branch main has been updated by ygy: URL: https://cgit.FreeBSD.org/ports/commit/?id=d2bb2b991214d39f07b7f75660b816e192d1c09b commit d2bb2b991214d39f07b7f75660b816e192d1c09b Author: Ivan Rozhuk AuthorDate: 2021-07-02 16:40:43 +0000 Commit: Guangyuan Yang 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@gmail.com +COMMENT= Easy access of environment variables from Python + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python +USE_PYTHON= autoplist distutils + +.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..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