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

27 lines
868 B
Bash

# Template file for 'python-requests-mock'
pkgname=python-requests-mock
version=1.5.2
revision=3
archs=noarch
wrksrc="requests-mock-${version}"
build_style=python-module
pycompile_module="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="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://github.com/jamielennox/requests-mock"
distfiles="${PYPI_SITE}/r/requests-mock/requests-mock-${version}.tar.gz"
checksum=7a5fa99db5e3a2a961b6f20ed40ee6baeff73503cf0a553cc4d679409e6170fb
python3-requests-mock_package() {
archs=noarch
pycompile_module="requests_mock"
depends="python3-requests python3-six"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}