aboutsummaryrefslogblamecommitdiffstats
path: root/main/py3-wheel/APKBUILD
blob: 442d0e69490312f4eada5db7239c7008754d6b4a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

                                                          



                 




                                           
                                















                                                                                                     
                                                                                                                                                                  
# Contributor: Antoine Fontaine <antoine.fontaine@epfl.ch>
# Maintainer: Antoine Fontaine <antoine.fontaine@epfl.ch>
pkgname=py3-wheel
_pyname=wheel
pkgver=0.34.2
pkgrel=1
pkgdesc="A built-package format for Python"
url="https://github.com/pypa/wheel"
arch="noarch"
license="MIT"
subpackages="$pkgname-doc"
depends="python3 py3-setuptools"
_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"
	install -Dm 0644 "$srcdir"/$_pyname-$pkgver/docs/index.rst "$pkgdir/usr/share/doc/py3-wheel"
}
sha512sums="7f2143b26812f94330671ab5d2bbc31f0a4fc103dbc8d7b971afd5e5ca7e72140cb61fa264a39ec8e80bae61ebb22c738bfbb803242b52a32eee6a3e90aa1513  wheel-0.34.2.tar.gz"