python-mock: downgrade to 3.0.5

4.0.0 don't work with python2
This commit is contained in:
Piotr Wójcik 2020-09-26 18:17:51 +02:00
parent 9e67fa5282
commit c46a83ad5a

View File

@ -1,10 +1,10 @@
# Template file for 'python-mock'
pkgname=python-mock
version=4.0.2
reverts="4.0.2_1 4.0.2_2"
version=3.0.5
revision=2
wrksrc="${pkgname#*-}-${version}"
build_style=python2-module
pycompile_module="mock"
hostmakedepends="python-pbr python-setuptools"
depends="python-funcsigs python-pbr python-setuptools python-six"
short_desc="Rolling backport of unittest.mock for Python2"
@ -12,7 +12,7 @@ maintainer="Toyam Cox <Vaelatern@gmail.com>"
license="BSD-2-Clause"
homepage="https://github.com/testing-cabal/mock"
distfiles="${PYPI_SITE}/m/mock/mock-${version}.tar.gz"
checksum=dd33eb70232b6118298d516bbcecd26704689c386594f0f3c4f13867b2c56f72
checksum=83657d894c90d5681d62155c82bda9c1187827525880eda8ff5df4ec813437c3
post_install() {
vlicense LICENSE.txt LICENSE