python-httmock: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 22:31:23 +07:00
parent fb1669ca9b
commit 79b670d916
3 changed files with 19 additions and 32 deletions

View file

@ -1,31 +0,0 @@
# Template file for 'python-httmock'
pkgname=python-httmock
version=1.3.0
revision=2
archs=noarch
wrksrc="httmock-${version}"
build_style=python-module
pycompile_module="httmock.py"
hostmakedepends="python3-setuptools python-setuptools"
depends="python-requests"
checkdepends="python3-requests"
short_desc="Mocking library for requests (Python2)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://github.com/patrys/httmock"
distfiles="https://github.com/patrys/httmock/archive/${version}.tar.gz"
checksum=4716729f0d07f3f6043dde43545a5381c4c6031a62e9dc9eed21e73c63d86722
do_check() {
python3 setup.py test
}
python3-httmock_package() {
archs=noarch
pycompile_module="httmock.py"
depends="python3-requests"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}

View file

@ -1 +0,0 @@
python-httmock

View file

@ -0,0 +1,19 @@
# Template file for 'python3-httmock'
pkgname=python3-httmock
version=1.3.0
revision=3
wrksrc="httmock-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-requests"
checkdepends="python3-requests"
short_desc="Mocking library for requests (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://github.com/patrys/httmock"
distfiles="https://github.com/patrys/httmock/archive/${version}.tar.gz"
checksum=4716729f0d07f3f6043dde43545a5381c4c6031a62e9dc9eed21e73c63d86722
do_check() {
python3 setup.py test
}