Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 2023 04:58:45 GMT
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c73b2dcc4a1b - main - Add devel/py-pyaml-env: Provides yaml file parsing with environment variable resolution
Message-ID:  <202309280458.38S4wjDx022989@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by lwhsu:

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

commit c73b2dcc4a1b160a8c36a5ed3799613ca75663ab
Author:     Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>
AuthorDate: 2023-09-27 12:55:00 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2023-09-28 04:57:58 +0000

    Add devel/py-pyaml-env: Provides yaml file parsing with environment variable resolution
    
    pyaml-env is a very small library that parses a yaml configuration
    file and it resolves the environment variables, so that no secrets
    are kept in text.
    
    WWW: https://github.com/mkaranasou/pyaml_env
    
    PR:             274127
---
 devel/Makefile               |  1 +
 devel/py-pyaml-env/Makefile  | 22 ++++++++++++++++++++++
 devel/py-pyaml-env/distinfo  |  3 +++
 devel/py-pyaml-env/pkg-descr |  3 +++
 4 files changed, 29 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 726bf82c8078..f1a7b54e6391 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5252,6 +5252,7 @@
     SUBDIR += py-py3nvml
     SUBDIR += py-pyTooling
     SUBDIR += py-py_interface
+    SUBDIR += py-pyaml-env
     SUBDIR += py-pyasn1
     SUBDIR += py-pyasn1-modules
     SUBDIR += py-pybind11
diff --git a/devel/py-pyaml-env/Makefile b/devel/py-pyaml-env/Makefile
new file mode 100644
index 000000000000..ce29ecc8e062
--- /dev/null
+++ b/devel/py-pyaml-env/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	pyaml-env
+PORTVERSION=	1.2.1
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	pyaml_env-${PORTVERSION}
+
+MAINTAINER=	DtxdF@disroot.org
+COMMENT=	Provides yaml file parsing with environment variable resolution
+WWW=		https://github.com/mkaranasou/pyaml_env
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-pyaml-env/distinfo b/devel/py-pyaml-env/distinfo
new file mode 100644
index 000000000000..f3a9986e99c7
--- /dev/null
+++ b/devel/py-pyaml-env/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1695815228
+SHA256 (pyaml_env-1.2.1.tar.gz) = 6d5dc98c8c82df743a132c196e79963050c9feb05b0a6f25f3ad77771d3d95b0
+SIZE (pyaml_env-1.2.1.tar.gz) = 12759
diff --git a/devel/py-pyaml-env/pkg-descr b/devel/py-pyaml-env/pkg-descr
new file mode 100644
index 000000000000..aaa43b735ca6
--- /dev/null
+++ b/devel/py-pyaml-env/pkg-descr
@@ -0,0 +1,3 @@
+pyaml-env is a very small library that parses a yaml configuration
+file and it resolves the environment variables, so that no secrets
+are kept in text.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202309280458.38S4wjDx022989>