python-requests-mock: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 17:15:59 +07:00
parent 1befd1026f
commit ddc4686c32
3 changed files with 14 additions and 27 deletions
srcpkgs

View File

@ -1,26 +0,0 @@
# 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*
}
}

View File

@ -1 +0,0 @@
python-requests-mock

View File

@ -0,0 +1,14 @@
# Template file for 'python3-requests-mock'
pkgname=python3-requests-mock
version=1.5.2
revision=4
wrksrc="requests-mock-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools python3-pbr"
depends="python3-requests python3-six"
short_desc="Python3 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