aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Demelier <markand@malikania.fr>2021-07-09 13:31:08 +0200
committerLeo <thinkabit.ukim@gmail.com>2021-07-10 05:58:06 -0300
commit9d808dfef31af908f015f6924460cc65f2030a8c (patch)
treecbe0ee66bfcc633cd688f0f07411a2570b6e2046
parent94ae73b4ff60c563ce0550134c82470094b84d73 (diff)
downloadaports-9d808dfef31af908f015f6924460cc65f2030a8c.tar.gz
aports-9d808dfef31af908f015f6924460cc65f2030a8c.tar.bz2
aports-9d808dfef31af908f015f6924460cc65f2030a8c.tar.xz
testing/py3-pyyaml-env-tag: new aport
https://github.com/waylan/pyyaml-env-tag a custom YAML tag for referencing environment variables in YAML files
-rw-r--r--testing/py3-pyyaml-env-tag/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/py3-pyyaml-env-tag/APKBUILD b/testing/py3-pyyaml-env-tag/APKBUILD
new file mode 100644
index 0000000000..d24f83fd58
--- /dev/null
+++ b/testing/py3-pyyaml-env-tag/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: David Demelier <markand@malikania.fr>
+# Maintainer: David Demelier <markand@malikania.fr>
+pkgname=py3-pyyaml-env-tag
+pkgver=0.1
+pkgrel=0
+pkgdesc="a custom YAML tag for referencing environment variables in YAML files"
+url="https://github.com/waylan/pyyaml-env-tag"
+arch="noarch"
+license="MIT"
+depends="python3 py3-yaml"
+makedepends="py3-setuptools"
+checkdepends="py3-pytest"
+source="https://files.pythonhosted.org/packages/source/p/pyyaml_env_tag/pyyaml_env_tag-$pkgver.tar.gz"
+builddir="$srcdir/pyyaml_env_tag-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ pytest
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="
+7d3dbc08fb338b3de5bbe657fa8a98a330d7ac7962ac2ea6513ade362b36deaaad8d9e82eb018454d73fd26d90003861a3ffee9abc2e9ac51dea4ba315b5c1f9 pyyaml_env_tag-0.1.tar.gz
+"