New package: python3-requests-mock-1.4.0.
Closes #14218. Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
parent
8cd050d74f
commit
5687ce9e25
1 changed files with 20 additions and 0 deletions
20
srcpkgs/python3-requests-mock/template
Normal file
20
srcpkgs/python3-requests-mock/template
Normal 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
|
||||
}
|
Loading…
Reference in a new issue