void-packages/srcpkgs/python-mock/template

21 lines
643 B
Bash

# Template file for 'python-mock'
pkgname=python-mock
version=2.0.0
revision=3
noarch=yes
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>"
homepage="https://github.com/testing-cabal/mock"
license="BSD-2-Clause"
distfiles="${PYPI_SITE}/m/mock/mock-${version}.tar.gz"
checksum=b158b6df76edd239b8208d481dc46b6afd45a846b7812ff0ce58971cf5bc8bba
post_install() {
vlicense LICENSE.txt LICENSE
}