void-packages/srcpkgs/python-requests-mock/template

27 lines
869 B
Bash

# Template file for 'python-requests-mock'
pkgname=python-requests-mock
version=1.5.0
revision=2
noarch=yes
wrksrc="requests-mock-${version}"
build_style=python-module
pycompile_modules="requests_mock"
hostmakedepends="python-setuptools python3-setuptools python-pbr python3-pbr"
depends="python-requests python-six"
short_desc="Python2 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
python3-requests-mock_package() {
noarch=yes
pycompile_modules="requests_mock"
depends="python3-requests python3-six"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}