diff options
author | Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org> | 2023-09-27 12:55:00 +0000 |
---|---|---|
committer | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2023-09-28 04:57:58 +0000 |
commit | c73b2dcc4a1b160a8c36a5ed3799613ca75663ab (patch) | |
tree | 9dc050a13bda06595a612356c879e521af048e38 | |
parent | e6ac37ce5640a71b09f6715402411eaf244c9220 (diff) | |
download | ports-c73b2dcc4a1b160a8c36a5ed3799613ca75663ab.tar.gz ports-c73b2dcc4a1b160a8c36a5ed3799613ca75663ab.zip |
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
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/py-pyaml-env/Makefile | 22 | ||||
-rw-r--r-- | devel/py-pyaml-env/distinfo | 3 | ||||
-rw-r--r-- | devel/py-pyaml-env/pkg-descr | 3 |
4 files changed, 29 insertions, 0 deletions
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. |