~dricottone/huttese-apk

ref: 80800668d39acf3b266dc12c8e31e6a376eb1b1c huttese-apk/sr.ht/py3-wrapt/APKBUILD -rw-r--r-- 840 bytes
80800668 — Drew DeVault metrics.sr.ht: drop -rules from pkgname 4 years ago
                                                                                
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=1
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"