~dricottone/huttese-apk

025315b3fa10df24b1bff73d3b2dc92e9d859819 — Drew DeVault 5 years ago 6671739
Add py3-wrapt
1 files changed, 26 insertions(+), 0 deletions(-)

A sr.ht/py3-wrapt/APKBUILD
A sr.ht/py3-wrapt/APKBUILD => sr.ht/py3-wrapt/APKBUILD +26 -0
@@ 0,0 1,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"