summaryrefslogtreecommitdiff
path: root/user/py3-wheel/APKBUILD
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-05-27 08:06:15 -0500
committerZach van Rijn <me@zv.io>2022-10-21 18:34:00 -0500
commit2a213c862c6e7527977bd1aaa3779e42e7071872 (patch)
tree76ef99b3a95b0895eabdbdd463b9fe2182a11dea /user/py3-wheel/APKBUILD
parent888a047545867b3343682184fe082da12310e371 (diff)
downloadpackages-2a213c862c6e7527977bd1aaa3779e42e7071872.tar.gz
packages-2a213c862c6e7527977bd1aaa3779e42e7071872.tar.bz2
packages-2a213c862c6e7527977bd1aaa3779e42e7071872.tar.xz
packages-2a213c862c6e7527977bd1aaa3779e42e7071872.zip
user/py3-wheel: new package.
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"