~dricottone/huttese-apk

ref: 6d926f9cc3010f4fe8ea6315a3439afbd630aada huttese-apk/sr.ht/py3-importlib-metadata/APKBUILD -rw-r--r-- 920 bytes
6d926f9c — Drew DeVault Add more version upgrade tips 4 years ago
                                                                                
de5514c8 Drew DeVault
25a07923 Drew DeVault
9cabda84 Drew DeVault
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
30
# 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 py3-contextlib2 py3-zipp"
checkdepends="py3-packaging"
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"