summaryrefslogblamecommitdiff
path: root/user/py3-importlib_metadata/APKBUILD
blob: 90306ecc485b5ba9ceb8f2cf45460e26daeee37b (plain) (tree)
1
2
3
4
5
6
7





                                         
            







                                                     
                            
                                                                                                                       













                                                               
                                                                                                                                                                                  
# 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=1.3.0
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"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

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