From a20741423983e972f55da20d21648dd246d6d967 Mon Sep 17 00:00:00 2001 From: Max Rees Date: Tue, 6 Aug 2019 04:17:24 -0500 Subject: user/py3-importlib_metadata: new package --- user/py3-importlib_metadata/APKBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 user/py3-importlib_metadata/APKBUILD (limited to 'user/py3-importlib_metadata/APKBUILD') 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 +# Maintainer: Max Rees +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" -- cgit v1.2.3-70-g09d2