2016-08-16 03:59:39 +00:00
|
|
|
# Template file for 'python-mock'
|
|
|
|
pkgname=python-mock
|
|
|
|
version=2.0.0
|
2016-08-26 22:47:47 +00:00
|
|
|
revision=2
|
2016-08-16 03:59:39 +00:00
|
|
|
noarch=yes
|
2016-08-26 22:47:47 +00:00
|
|
|
wrksrc="${pkgname#*-}-${version}"
|
2016-10-17 10:06:34 +00:00
|
|
|
build_style=python2-module
|
2016-08-26 22:47:47 +00:00
|
|
|
pycompile_module="mock"
|
|
|
|
hostmakedepends="python-setuptools python-pbr"
|
|
|
|
depends="python-six python-pbr python-funcsigs"
|
|
|
|
short_desc="Rolling backport of unittest.mock for Python2"
|
2016-08-16 03:59:39 +00:00
|
|
|
maintainer="Toyam Cox <Vaelatern@gmail.com>"
|
|
|
|
homepage="https://github.com/testing-cabal/mock"
|
2016-08-26 22:47:47 +00:00
|
|
|
license="2-clause-BSD"
|
|
|
|
distfiles="${PYPI_SITE}/m/mock/mock-${version}.tar.gz"
|
2016-08-16 03:59:39 +00:00
|
|
|
checksum=b158b6df76edd239b8208d481dc46b6afd45a846b7812ff0ce58971cf5bc8bba
|
|
|
|
|
|
|
|
post_install() {
|
2016-08-26 22:47:47 +00:00
|
|
|
vlicense LICENSE.txt LICENSE
|
2016-08-16 03:59:39 +00:00
|
|
|
}
|