aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-wrapt/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-wrapt/APKBUILD')
-rw-r--r--community/py3-wrapt/APKBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/community/py3-wrapt/APKBUILD b/community/py3-wrapt/APKBUILD
index d5a0b6c9e7..565eb14f7a 100644
--- a/community/py3-wrapt/APKBUILD
+++ b/community/py3-wrapt/APKBUILD
@@ -3,7 +3,7 @@
pkgname=py3-wrapt
_pkgname=wrapt
pkgver=1.12.1
-pkgrel=0
+pkgrel=1
pkgdesc="Module for decorators, wrappers and monkey patching"
url="https://github.com/GrahamDumpleton/wrapt"
arch="all"
@@ -11,7 +11,9 @@ license="BSD-2-Clause"
depends="python3"
makedepends="python3-dev"
checkdepends="py3-pytest"
-source="https://github.com/GrahamDumpleton/wrapt/archive/$pkgver/py3-wrapt-$pkgver.tar.gz"
+source="https://github.com/GrahamDumpleton/wrapt/archive/$pkgver/py3-wrapt-$pkgver.tar.gz
+ python-3.9.patch
+ "
builddir="$srcdir/$_pkgname-$pkgver"
build() {
@@ -19,11 +21,12 @@ build() {
}
check() {
- PYTHONPATH="$(echo $PWD/build/lib.*)" py.test-3 -v
+ PYTHONPATH="$(echo $PWD/build/lib*)" py.test-3 -v
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="33e964cb3aa2437bc7d084a98f622f7c5c8c719d97806796ae0317d35130bdb2679a9dd87be7077e2cae1eb32b65d152349fa7cc138cb392d5999cbfdcecc9ac py3-wrapt-1.12.1.tar.gz"
+sha512sums="33e964cb3aa2437bc7d084a98f622f7c5c8c719d97806796ae0317d35130bdb2679a9dd87be7077e2cae1eb32b65d152349fa7cc138cb392d5999cbfdcecc9ac py3-wrapt-1.12.1.tar.gz
+372323f80578bc1fe2fdf8d3a5dc67b79956180048f8036be429b3e2fed4c9f3ce3d29a2c9e8b6128a2ab64cf7d21dc1e7026e8df14a062a94bd8518aca5b50a python-3.9.patch"