pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-pyaml-env: yaml file parsing with env variable resolution



Module Name:	pkgsrc-wip
Committed By:	Jason W. Bacon <bacon%NetBSD.org@localhost>
Pushed By:	outpaddling
Date:		Fri Mar 22 11:25:43 2024 -0500
Changeset:	0864b00a3087f6d3d0a53f828106ad9a38fc2413

Modified Files:
	Makefile
Added Files:
	py-pyaml-env/DESCR
	py-pyaml-env/Makefile
	py-pyaml-env/PLIST
	py-pyaml-env/distinfo

Log Message:
py-pyaml-env: yaml file parsing with env variable resolution

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0864b00a3087f6d3d0a53f828106ad9a38fc2413

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile              |  1 +
 py-pyaml-env/DESCR    |  3 +++
 py-pyaml-env/Makefile | 37 +++++++++++++++++++++++++++++++++++++
 py-pyaml-env/PLIST    | 15 +++++++++++++++
 py-pyaml-env/distinfo |  5 +++++
 5 files changed, 61 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 0c317b0294..49cc9f63fc 100644
--- a/Makefile
+++ b/Makefile
@@ -4237,6 +4237,7 @@ SUBDIR+=	py-py4j
 SUBDIR+=	py-pyaiml
 SUBDIR+=	py-pyamf
 SUBDIR+=	py-pyamg
+SUBDIR+=	py-pyaml-env
 SUBDIR+=	py-pybigwig
 SUBDIR+=	py-pybitbucket
 SUBDIR+=	py-pycifrw
diff --git a/py-pyaml-env/DESCR b/py-pyaml-env/DESCR
new file mode 100644
index 0000000000..aaa43b735c
--- /dev/null
+++ b/py-pyaml-env/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.
diff --git a/py-pyaml-env/Makefile b/py-pyaml-env/Makefile
new file mode 100644
index 0000000000..110c883f85
--- /dev/null
+++ b/py-pyaml-env/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD$
+#
+###########################################################
+#                  Generated by fbsd2pkg                  #
+#              Fri Mar 22 11:21:11 CDT 2024               #
+###########################################################
+
+###########################################################
+# Unconverted and partially converted FreeBSD port syntax:
+
+#LICENSE_FILE=	${WRKSRC}/LICENSE
+#NO_ARCH=	yes
+
+DISTNAME=	pyaml_env-1.2.1
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	devel python
+MASTER_SITES=	${MASTER_SITE_PYPI:=p/pyaml-env/}
+
+OWNER=		bacon%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/mkaranasou/pyaml_env
+COMMENT=	Provides yaml file parsing with environment variable resolution
+LICENSE=	mit
+
+PYTHON_VERSIONS_INCOMPATIBLE=	27
+TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+DEPENDS=	${PYPKGPREFIX}-yaml>=0:../../textproc/py-yaml
+
+# Verify that we shouldn't use distutils.mk or extensions.mk instead.
+.include "../../lang/python/wheel.mk"
+# Convert any _DEPENDS above that have a buildlink3.mk
+# .include "../..///buildlink3.mk"
+# Based on USES=python.  Check this.
+.include "../../lang/python/application.mk"
+# CentOS doesn't have zlib in the base, so uncomment if needed.
+# .include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-pyaml-env/PLIST b/py-pyaml-env/PLIST
new file mode 100644
index 0000000000..24937e6d52
--- /dev/null
+++ b/py-pyaml-env/PLIST
@@ -0,0 +1,15 @@
+@comment $NetBSD$
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/pyaml_env/__init__.py
+${PYSITELIB}/pyaml_env/__init__.pyc
+${PYSITELIB}/pyaml_env/__init__.pyo
+${PYSITELIB}/pyaml_env/base_config.py
+${PYSITELIB}/pyaml_env/base_config.pyc
+${PYSITELIB}/pyaml_env/base_config.pyo
+${PYSITELIB}/pyaml_env/parse_config.py
+${PYSITELIB}/pyaml_env/parse_config.pyc
+${PYSITELIB}/pyaml_env/parse_config.pyo
diff --git a/py-pyaml-env/distinfo b/py-pyaml-env/distinfo
new file mode 100644
index 0000000000..a57a4d926a
--- /dev/null
+++ b/py-pyaml-env/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (pyaml_env-1.2.1.tar.gz) = 020fa0749963c6d7a3b3868f1af7a00da767ac4e8165a75e456b44f1f23df579
+SHA512 (pyaml_env-1.2.1.tar.gz) = 1ef873fa66660e4949dc1064260405244c8b3a2ee4391831a0a52be30e503e99d0b80b087c78db78683e9fe2fc1fd73f2e30c1eacc4c94a1394000d8526c9d68
+Size (pyaml_env-1.2.1.tar.gz) = 12759 bytes


Home | Main Index | Thread Index | Old Index