aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2019-06-17 00:04:22 +0300
committerprspkt <prspkt@protonmail.com>2019-06-17 02:07:21 +0300
commit4f215e33f5341ae9bca68c8c479eea104e393a4d (patch)
tree1829e97447e1fdc77ab3f158409329f1527ef01e /testing
parentc24eb5b77f3f829e5a6e8c91fb5140b54090b353 (diff)
downloadaports-4f215e33f5341ae9bca68c8c479eea104e393a4d.tar.bz2
aports-4f215e33f5341ae9bca68c8c479eea104e393a4d.tar.xz
testing/py3-w3lib: upgrade to 1.20.0
* Add py3-pytest checkdepends and run test suite.
Diffstat (limited to 'testing')
-rw-r--r--testing/py3-w3lib/APKBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/testing/py3-w3lib/APKBUILD b/testing/py3-w3lib/APKBUILD
index f7f662b855..fad242655a 100644
--- a/testing/py3-w3lib/APKBUILD
+++ b/testing/py3-w3lib/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-w3lib
_pkgname=w3lib
-pkgver=1.15.0
+pkgver=1.20.0
pkgrel=0
pkgdesc="A library of web-related functions"
url="https://github.com/scrapy/w3lib"
@@ -10,6 +10,7 @@ arch="noarch"
license="BSD-3-Clause"
depends="python3"
makedepends="py3-setuptools"
+checkdepends="py3-pytest"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
@@ -20,8 +21,12 @@ build() {
python3 setup.py build
}
+check() {
+ py.test-3
+}
+
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="debf3aed14f423eb36d730802cf23a393ec9364bd91d158b9a78a8e6deeb23886dea62a8cd47ab120b080c3b82c19aa6fc2865fdeb33add45a45389dbbfae5fa w3lib-1.15.0.tar.gz"
+sha512sums="d4b969e6809b57e174f8ab1997f33c3cc89e2be63ba9f51337941be9e9d711d5472a0dd01f131b81d3fb556398e49e9cf3c4da7b305019e49d67912a91332b6a w3lib-1.20.0.tar.gz"