aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-dotmap/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-dotmap/APKBUILD')
-rw-r--r--community/py3-dotmap/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/community/py3-dotmap/APKBUILD b/community/py3-dotmap/APKBUILD
new file mode 100644
index 00000000000..ebb3926d28a
--- /dev/null
+++ b/community/py3-dotmap/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
+# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
+pkgname=py3-dotmap
+_pkgorig=dotmap
+pkgver=1.3.27
+pkgrel=0
+pkgdesc="Dot access dictionary with dynamic hierarchy creation and ordered iteration"
+url="https://github.com/drgrib/dotmap"
+arch="noarch"
+license="MIT"
+depends="python3"
+makedepends="py3-setuptools"
+checkdepends="py3-pytest"
+source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/d/dotmap/dotmap-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgorig-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ python3 -m unittest
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="
+561a0a5a27791124f110655e437de865bc6cd15d2bc2aba3c6695e0c91dbc60e1612b8ae01ba06f24c272580df213a3d19a70ee7d89f5f27225cce0c3f800fc7 py3-dotmap-1.3.27.tar.gz
+"