summaryrefslogtreecommitdiff
path: root/user/py3-importlib_metadata/APKBUILD
blob: 5930990534046b6c64159bbb7974f512f8e5973f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 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.23
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=""
checkdepends="py3-packaging"
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="56594dfd67733842d83547770a09e12b4e4e3c000b7c9743206e13e4629906bb7271065e03c387f5114bac7f673fc17594d2ef90af23cd34b7ededecaf3fd47a  py3-importlib_metadata-0.23.tar.gz
12021ed7d2a358aa87c98ef7d410cc9680f71b3f31cb577b0d510b1220de240c6317ed59eceebfcded6d42d07887c013a05ed399a460616dba25cea0c33111b8  scm.patch"