22 lines
697 B
Bash
22 lines
697 B
Bash
# Template file for 'python3-requests-mock'
|
|
pkgname=python3-requests-mock
|
|
version=1.5.0
|
|
revision=1
|
|
noarch=yes
|
|
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=a029fe6c5244963ef042c6224ff787049bfc5bab958a1b7e5b632ef0bbb05de4
|
|
|
|
do_check() {
|
|
python3 setup.py test
|
|
}
|