void-packages/srcpkgs/python-mock/template
maxice8 c241cd5c9b python-mock: add missing python-setuptools dependency
Closes #12894.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-03-25 20:59:06 +02:00

20 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
}