summaryrefslogtreecommitdiff
path: root/user/py3-importlib_metadata/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/py3-importlib_metadata/APKBUILD')
-rw-r--r--user/py3-importlib_metadata/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/py3-importlib_metadata/APKBUILD b/user/py3-importlib_metadata/APKBUILD
new file mode 100644
index 000000000..d642738f9
--- /dev/null
+++ b/user/py3-importlib_metadata/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Max Rees <maxcrees@me.com>
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=py3-importlib_metadata
+_pkgname=importlib_metadata
+_p="${_pkgname#?}"
+_p="${_pkgname%"$_p"}"
+pkgver=0.19
+pkgrel=0
+pkgdesc="Python package metadata accessor"
+url="https://pypi.python.org/pypi/importlib_metadata"
+arch="noarch"
+# Certified net clean
+license="Apache-2.0"
+depends="python3 py3-importlib_resources py3-zipp"
+makedepends=""
+source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz
+ scm.patch"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ python3 setup.py test
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="2d0126e7430804b2295ec159778082806957cb86b5c7408c38064cc7c7e62229d382778284a5a231925ab336a7cc6da8e705f6bd7ae6da66f11acd1229bda17b py3-importlib_metadata-0.19.tar.gz
+5aa0967a0c9e5c27434689586e51fcf3898a52f904d7ec92cf1eda15810da04b837ac0f5caea32d9f41733b13e826b06a1064b6f15e14c5fac5b2c4b6fd950c8 scm.patch"