summaryrefslogtreecommitdiff
path: root/user/py3-importlib_metadata/APKBUILD
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2019-08-06 04:17:24 -0500
committerMax Rees <maxcrees@me.com>2019-08-06 04:17:24 -0500
commita20741423983e972f55da20d21648dd246d6d967 (patch)
tree5f81535cf8e364b260d5442fb01c40fe0deec685 /user/py3-importlib_metadata/APKBUILD
parent3402e15390c449c7e85deae606d5c3baf3b165b5 (diff)
downloadpackages-a20741423983e972f55da20d21648dd246d6d967.tar.gz
packages-a20741423983e972f55da20d21648dd246d6d967.tar.bz2
packages-a20741423983e972f55da20d21648dd246d6d967.tar.xz
packages-a20741423983e972f55da20d21648dd246d6d967.zip
user/py3-importlib_metadata: new package
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"