void-packages/srcpkgs/python-mock/template
Alessio Sergi c6339085f7 python-mock: fix hostmakedepends and depends
While I'm here, cleanup the template.
2016-08-27 00:49:50 +02:00

20 lines
624 B
Bash

# Template file for 'python-mock'
pkgname=python-mock
version=2.0.0
revision=2
noarch=yes
wrksrc="${pkgname#*-}-${version}"
build_style=python-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
}