summaryrefslogtreecommitdiff
path: root/user/py3-wheel/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/py3-wheel/APKBUILD')
-rw-r--r--user/py3-wheel/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/user/py3-wheel/APKBUILD b/user/py3-wheel/APKBUILD
new file mode 100644
index 000000000..baaf858b7
--- /dev/null
+++ b/user/py3-wheel/APKBUILD
@@ -0,0 +1,30 @@
+# 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"