From 025315b3fa10df24b1bff73d3b2dc92e9d859819 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Tue, 25 Jun 2019 16:17:45 -0400 Subject: [PATCH] Add py3-wrapt --- sr.ht/py3-wrapt/APKBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 sr.ht/py3-wrapt/APKBUILD diff --git a/sr.ht/py3-wrapt/APKBUILD b/sr.ht/py3-wrapt/APKBUILD new file mode 100644 index 0000000..fee8ede --- /dev/null +++ b/sr.ht/py3-wrapt/APKBUILD @@ -0,0 +1,26 @@ +# Contributor: prspkt +# Maintainer: prspkt +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" -- 2.45.2