aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-responses
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2019-07-01 20:56:19 +0300
committerprspkt <prspkt@protonmail.com>2019-07-01 21:20:04 +0300
commitf4ef4ab26a08059096cc5d4e5d6d0547b7769b31 (patch)
tree436a1825fbaf292ffc14e2c7a0d0b1694aac01aa /testing/py3-responses
parentedcf4754a64ec17d296afe8f9331688f2996c317 (diff)
downloadaports-f4ef4ab26a08059096cc5d4e5d6d0547b7769b31.tar.gz
aports-f4ef4ab26a08059096cc5d4e5d6d0547b7769b31.tar.bz2
aports-f4ef4ab26a08059096cc5d4e5d6d0547b7769b31.tar.xz
testing/py3-responses: upgrade to 0.10.6
* Add checkdepends and run test suite.
Diffstat (limited to 'testing/py3-responses')
-rw-r--r--testing/py3-responses/APKBUILD12
1 files changed, 9 insertions, 3 deletions
diff --git a/testing/py3-responses/APKBUILD b/testing/py3-responses/APKBUILD
index e6956adbb0..702e898741 100644
--- a/testing/py3-responses/APKBUILD
+++ b/testing/py3-responses/APKBUILD
@@ -1,14 +1,16 @@
# Maintainer:
pkgname=py3-responses
_pkgname=responses
-pkgver=0.7.0
-pkgrel=2
+pkgver=0.10.6
+pkgrel=0
pkgdesc="Utility library for mocking out the requests Python library"
url="https://pypi.python.org/pypi/responses/"
arch="noarch"
license="Apache-2.0"
depends="py3-requests py3-six"
makedepends="py3-setuptools"
+checkdepends="py3-flake8 py3-pytest py3-pytest-cov py3-pytest-localserver
+ py3-werkzeug"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
@@ -19,8 +21,12 @@ build() {
python3 setup.py build
}
+check() {
+ py.test-3
+}
+
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="352cf833b2c2a0b30618daac62355f6e62df2f0ad8b7bacd19b3f815c40a69064088238a0ecc44faa49dc2fc65fd176b30c0cbc526b468d38833af59a715a6d5 responses-0.7.0.tar.gz"
+sha512sums="7f56d4aded3425f7eef969b44ae1afb3495d521cd32f0554a5edbb51510bdd51fe358938e126f6fe45f465b316d53cb64185873bd9060c4acacfafca9f7f6365 responses-0.10.6.tar.gz"