New package: python3-requests-mock-1.4.0.

Closes #14218.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
maxice8 2018-05-07 18:42:49 -03:00 committed by Enno Boland
parent 8cd050d74f
commit 5687ce9e25

View File

@ -0,0 +1,20 @@
# Template file for 'python3-requests-mock'
pkgname=python3-requests-mock
version=1.4.0
revision=1
wrksrc="requests-mock-${version}"
build_style=python3-module
pycompile_modules="requests_mock"
hostmakedepends="python3-setuptools"
depends="python3-requests"
checkdepends="python3-Sphinx python3-pytest-mock"
short_desc="Python3 module to test mocked responses from requests"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/jamielennox/requests-mock"
distfiles="${PYPI_SITE}/r/requests-mock/requests-mock-${version}.tar.gz"
checksum=2931887853c42e1d73879983d5bf03041109472991c5b4b8dba5d11ed23b9d0b
do_check() {
python3 setup.py test
}