aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-munch/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-munch/APKBUILD')
-rw-r--r--community/py3-munch/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/community/py3-munch/APKBUILD b/community/py3-munch/APKBUILD
new file mode 100644
index 0000000000..21a2526e74
--- /dev/null
+++ b/community/py3-munch/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=py3-munch
+pkgver=2.5.0
+pkgrel=0
+pkgdesc="A dot-accessible dictionary (a la JavaScript objects)"
+url="https://github.com/Infinidat/munch"
+arch="noarch"
+license="MIT"
+depends="
+ py3-pbr
+ python3
+ "
+makedepends="py3-setuptools"
+checkdepends="py3-pytest"
+source="https://pypi.python.org/packages/source/m/munch/munch-$pkgver.tar.gz"
+builddir="$srcdir/munch-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ pytest
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="7eca31111f40782a19b49535322bc56d723022d52b0842c4beff512f32fa415a6c75851eb84950358cb6a11693095cafe56364028e48385b11135de414edca21 munch-2.5.0.tar.gz"