blob: d642738f987b96013eb8fd780dcf7bd7879983f8 (
plain) (
tree)
|
|
# 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"
|