21 lines
645 B
Bash
21 lines
645 B
Bash
# Template file for 'python-mock'
|
|
pkgname=python-mock
|
|
version=3.0.5
|
|
revision=1
|
|
archs=noarch
|
|
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"
|
|
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=83657d894c90d5681d62155c82bda9c1187827525880eda8ff5df4ec813437c3
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt LICENSE
|
|
}
|