~dricottone/huttese-apk

ref: de5514c81cd3dc313e151ffbed5201d870814b9b huttese-apk/sr.ht/py3-importlib-metadata/APKBUILD -rw-r--r-- 866 bytes
de5514c8 — Drew DeVault sr.ht/py3-importlib-metadata: new aport 5 years ago
                                                                                
de5514c8 Drew DeVault
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
# Contributor: Drew DeVault <sir@cmpwn.com>
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-importlib-metadata
_pyname=importlib_metadata
pkgver=1.3.0
pkgrel=0
pkgdesc="Read metadata from Python packages"
url="https://pypi.org/project/importlib-metadata/"
arch="noarch"
license="Apache-2.0"
depends="py3-pathlib2"
makedepends="py3-setuptools py3-setuptools_scm"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir"/$_pyname-$pkgver

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="45d09cbbbceee80a4769f2d374a3c4b511fda56a100ad1a6fc7cedf9a0cd251600c960430c608c7bcd60bdd9a0117f83025ed7b05f9f6a53edc791d128e8b0d7  importlib_metadata-1.3.0.tar.gz"