void-packages/srcpkgs/python-mock/template

21 lines
625 B
Bash

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