diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-08-30 05:03:49 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-08-30 05:21:24 -0300 |
commit | 1f823a34995eb5f29f70396c984af64762121d41 (patch) | |
tree | 2a0689bdcd394cc11db61d47c40d3babbf6e6fbf | |
parent | d6be7d69e16d7bd7b615bff7224e0585b2e6cecd (diff) | |
download | aports-1f823a34995eb5f29f70396c984af64762121d41.tar.bz2 aports-1f823a34995eb5f29f70396c984af64762121d41.tar.xz |
testing/py3-wrapt: upgrade to 1.11.2
-rw-r--r-- | testing/py3-wrapt/APKBUILD | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/testing/py3-wrapt/APKBUILD b/testing/py3-wrapt/APKBUILD index cd533b5ff0..0c73c2597a 100644 --- a/testing/py3-wrapt/APKBUILD +++ b/testing/py3-wrapt/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: prspkt <prspkt@protonmail.com> pkgname=py3-wrapt _pkgname=wrapt -pkgver=1.11.1 +pkgver=1.11.2 pkgrel=0 pkgdesc="Module for decorators, wrappers and monkey patching" url="https://github.com/GrahamDumpleton/wrapt" @@ -10,15 +10,20 @@ arch="all" license="BSD-2-Clause" depends="python3" makedepends="python3-dev" -source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +checkdepends="py3-pytest" +source="$pkgname-$pkgver.tar.gz::https://github.com/GrahamDumpleton/wrapt/archive/$pkgver.tar.gz" builddir="$srcdir/"$_pkgname-$pkgver build() { python3 setup.py build } +check() { + PYTHONPATH="$(echo $PWD/build/lib.*)" py.test-3 -v +} + package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } -sha512sums="82cf9a2113dd73d692033ed5b8d1c6475873c8676cb33bd42384a7a27bff1451809ff490f755d31e1753fc1f7eb8288474873753eed1c0c6a61cda6f7cff17b7 wrapt-1.11.1.tar.gz" +sha512sums="2551247c46fbc34068e0f2d6efa91d8c87669c8bf1e16c3b5e2e5e0d84402301c38a78485b7e9a13120c99c9c942db680a84d87a52a072d530aba6444d86297d py3-wrapt-1.11.2.tar.gz" |