~dricottone/huttese-apk

ref: fbeb3da719bc5896ce804ba581c8ddafd6e0eb7a huttese-apk/sr.ht/py3-wrapt/APKBUILD -rw-r--r-- 840 bytes
fbeb3da7 — Drew DeVault Add option to pass -R to abuild 5 years ago
                                                                                
025315b3 Drew DeVault
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Contributor: prspkt <prspkt@protonmail.com>
# Maintainer: prspkt <prspkt@protonmail.com>
pkgname=py3-wrapt
_pyname=wrapt
pkgver=1.11.2
pkgrel=0
pkgdesc="Module for decorators, wrappers and monkey patching"
url="https://github.com/GrahamDumpleton/wrapt"
arch="all"
license="BSD-2-Clause"
depends="python3"
makedepends="python3-dev"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/"$_pyname-$pkgver
options="!check" # Upstream does not provide a test suite

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="4aed5beacf099cb50d1c562fe2193f79af7b7693e2d5d5aacea6594029e9987c9f0bb000dc404be810f1b16de6e8b641dcd631d46f8c9f9b3c94c67859fb5079  wrapt-1.11.2.tar.gz"