summaryrefslogblamecommitdiff
path: root/user/py3-wheel/APKBUILD
blob: baaf858b7ca556c039c77570ff91df5f59632f0a (plain) (tree)





























                                                                                                                                                                  
# Contributor: Antoine Fontaine <antoine.fontaine@epfl.ch>
# Contributor: psykose <alice@ayaya.dev>
# Maintainer: Zach van Rijn <me@zv.io>
pkgname=py3-wheel
_pkgname=${pkgname#*-}
pkgver=0.37.1
pkgrel=0
pkgdesc="Reference implementation of Python wheel packaging standard"
url="https://wheel.readthedocs.io/en/stable/"
arch="noarch"
license="MIT"
depends="python3"
makedepends=""
subpackages="$pkgname-doc"
source="https://files.pythonhosted.org/packages/source/w/$_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"
	install -Dm 0644 "$srcdir"/$_pkgname-$pkgver/docs/index.rst "$pkgdir/usr/share/doc/py3-wheel"
}
sha512sums="c977a740c17abd1fa4b4c2382a33f3ff887baa4231c36990d988cb8531496074e39744786ef6ac0da9c9af4977bce5b2da145377a3ac15eea918f8125bff66ec  wheel-0.37.1.tar.gz"