aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-pyyaml-env-tag/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/py3-pyyaml-env-tag/APKBUILD')
-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
+"