mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
testing/py3-wheel: new aport
This commit is contained in:
parent
320ce2cb63
commit
8fbb853c51
30
testing/py3-wheel/APKBUILD
Normal file
30
testing/py3-wheel/APKBUILD
Normal file
@ -0,0 +1,30 @@
|
||||
# Contributor: Antoine Fontaine <antoine.fontaine@epfl.ch>
|
||||
# Maintainer: Antoine Fontaine <antoine.fontaine@epfl.ch>
|
||||
pkgname="py3-wheel"
|
||||
_pyname="wheel"
|
||||
pkgver="0.33.6"
|
||||
pkgrel=0
|
||||
pkgdesc="A built-package format for Python"
|
||||
url="https://github.com/pypa/wheel"
|
||||
arch="noarch"
|
||||
license="MIT"
|
||||
subpackages="$pkgname-doc"
|
||||
depends="python3"
|
||||
makedepends="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="887020c543ce7720c37f4d52f3f482365203ccb232d29c780d5593758c60997ac5383ea4724d4dc0b7237e2366f3d98a28773c18d15d6f7e898721cd6ac94cc6 wheel-0.33.6.tar.gz"
|
||||
Loading…
x
Reference in New Issue
Block a user