vp-build/srcpkgs/python-mock/template

20 lines
634 B
Bash

# Template file for 'python-mock'
pkgname=python-mock
reverts="4.0.2_1 4.0.2_2"
version=3.0.5
revision=2
wrksrc="${pkgname#*-}-${version}"
build_style=python2-module
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=83657d894c90d5681d62155c82bda9c1187827525880eda8ff5df4ec813437c3
post_install() {
vlicense LICENSE.txt LICENSE
}