21 lines
645 B
Bash
21 lines
645 B
Bash
# Template file for 'python-mock'
|
|
pkgname=python-mock
|
|
version=4.0.2
|
|
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=dd33eb70232b6118298d516bbcecd26704689c386594f0f3c4f13867b2c56f72
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt LICENSE
|
|
}
|