python-mock: downgrade to 3.0.5
4.0.0 don't work with python2
This commit is contained in:
parent
9e67fa5282
commit
c46a83ad5a
1 changed files with 3 additions and 3 deletions
|
@ -1,10 +1,10 @@
|
||||||
# Template file for 'python-mock'
|
# Template file for 'python-mock'
|
||||||
pkgname=python-mock
|
pkgname=python-mock
|
||||||
version=4.0.2
|
reverts="4.0.2_1 4.0.2_2"
|
||||||
|
version=3.0.5
|
||||||
revision=2
|
revision=2
|
||||||
wrksrc="${pkgname#*-}-${version}"
|
wrksrc="${pkgname#*-}-${version}"
|
||||||
build_style=python2-module
|
build_style=python2-module
|
||||||
pycompile_module="mock"
|
|
||||||
hostmakedepends="python-pbr python-setuptools"
|
hostmakedepends="python-pbr python-setuptools"
|
||||||
depends="python-funcsigs python-pbr python-setuptools python-six"
|
depends="python-funcsigs python-pbr python-setuptools python-six"
|
||||||
short_desc="Rolling backport of unittest.mock for Python2"
|
short_desc="Rolling backport of unittest.mock for Python2"
|
||||||
|
@ -12,7 +12,7 @@ maintainer="Toyam Cox <Vaelatern@gmail.com>"
|
||||||
license="BSD-2-Clause"
|
license="BSD-2-Clause"
|
||||||
homepage="https://github.com/testing-cabal/mock"
|
homepage="https://github.com/testing-cabal/mock"
|
||||||
distfiles="${PYPI_SITE}/m/mock/mock-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/m/mock/mock-${version}.tar.gz"
|
||||||
checksum=dd33eb70232b6118298d516bbcecd26704689c386594f0f3c4f13867b2c56f72
|
checksum=83657d894c90d5681d62155c82bda9c1187827525880eda8ff5df4ec813437c3
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE.txt LICENSE
|
vlicense LICENSE.txt LICENSE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue