community/py3-requests-mock: upgrade to 1.8.0

This commit is contained in:
Justin Berthault 2020-06-02 18:56:55 +02:00 committed by Leo
parent 0b04bce70d
commit 8c3db47b18

View File

@ -1,8 +1,7 @@
# Contributor: Robert Sacks <robert@sacks.email>
# Maintainer: Robert Sacks <robert@sacks.email>
pkgname=py3-requests-mock
_pyname=requests-mock
pkgver=1.7.0
pkgver=1.8.0
pkgrel=0
pkgdesc="Mock out responses from the requests package"
url="https://pypi.org/project/requests-mock/"
@ -10,10 +9,9 @@ arch="noarch"
license="Apache-2.0"
depends="python3 py3-requests py3-six"
makedepends="py3-pbr"
checkdepends="py3-fixtures py3-mock py3-purl py3-pytest py3-sphinx
py3-testrepository py3-testtools"
source="https://files.pythonhosted.org/packages/source/${_pyname%${_pyname#?}}/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
checkdepends="py3-fixtures py3-mock py3-purl py3-pytest py3-sphinx py3-testrepository py3-testtools"
source="https://files.pythonhosted.org/packages/source/r/requests-mock/requests-mock-$pkgver.tar.gz"
builddir="$srcdir/requests-mock-$pkgver"
prepare() {
default_prepare
@ -32,4 +30,4 @@ package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="6ad71fb87519f93812e8ae0d058a4b65a4492e86f05cacc37f95be1a6f0239a2c3f3d20a7e6f44bcc21f009574e4e78c2149394c2570d305efbdd68ec07b24a2 requests-mock-1.7.0.tar.gz"
sha512sums="252bce965e0fca03cd5ce09912c726045f9c632e90bfee13b06c9f3e2c6b70eab7f39cf8e7efb3b7d2cf2b5d79cc5c5ba6e2379b3d48ce33bf78861ada911918 requests-mock-1.8.0.tar.gz"