git: f29872403da2 - main - devel/py-envier: Add py-envier 0.4.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 03 Oct 2022 17:12:24 UTC
The branch main has been updated by sunpoet:

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

commit f29872403da20fb48f28956d0fa6ac23d9663f9c
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-10-03 16:56:35 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-10-03 17:10:13 +0000

    devel/py-envier: Add py-envier 0.4.0
    
    Envier is a Python library for extracting configuration from environment
    variables in a declarative and (eventually) 12-factor-app-compliant way.
---
 devel/Makefile            |  1 +
 devel/py-envier/Makefile  | 21 +++++++++++++++++++++
 devel/py-envier/distinfo  |  3 +++
 devel/py-envier/pkg-descr |  2 ++
 4 files changed, 27 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index d6e214a2d6af..4a14edd20dc3 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4484,6 +4484,7 @@
     SUBDIR += py-enlighten
     SUBDIR += py-entrypoints
     SUBDIR += py-enum-compat
+    SUBDIR += py-envier
     SUBDIR += py-envisage
     SUBDIR += py-envs
     SUBDIR += py-epc
diff --git a/devel/py-envier/Makefile b/devel/py-envier/Makefile
new file mode 100644
index 000000000000..8777b1b8ccda
--- /dev/null
+++ b/devel/py-envier/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	envier
+PORTVERSION=	0.4.0
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Python application configuration via the environment
+WWW=		https://pypi.org/project/envier/
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
+
+USES=		python:3.7+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-envier/distinfo b/devel/py-envier/distinfo
new file mode 100644
index 000000000000..6988ebd92af8
--- /dev/null
+++ b/devel/py-envier/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1664767804
+SHA256 (envier-0.4.0.tar.gz) = e68dcd1ed67d8b6313883e27dff3e701b7fba944d2ed4b7f53d0cc2e12364a82
+SIZE (envier-0.4.0.tar.gz) = 19575
diff --git a/devel/py-envier/pkg-descr b/devel/py-envier/pkg-descr
new file mode 100644
index 000000000000..00d60719fcd9
--- /dev/null
+++ b/devel/py-envier/pkg-descr
@@ -0,0 +1,2 @@
+Envier is a Python library for extracting configuration from environment
+variables in a declarative and (eventually) 12-factor-app-compliant way.