diff --git a/srcpkgs/python-mock/template b/srcpkgs/python-mock/template new file mode 100644 index 0000000000..bea4074e50 --- /dev/null +++ b/srcpkgs/python-mock/template @@ -0,0 +1,22 @@ +# Template file for 'python-mock' +pkgname=python-mock +version=2.0.0 +revision=1 +_distname=mock +wrksrc="${_distname}-${version}" +build_style=python-module +pycompile_module="${_distname}" +python_versions="2.7" +pycompile_version="2.7" +noarch=yes +hostmakedepends="python-setuptools" +short_desc="Python2 rolling backport of unittest.mock" +maintainer="Toyam Cox " +license="BSD" +homepage="https://github.com/testing-cabal/mock" +distfiles="${PYPI_SITE}/$(printf %.1s $_distname)/${_distname}/${_distname}-${version}.tar.gz" +checksum=b158b6df76edd239b8208d481dc46b6afd45a846b7812ff0ce58971cf5bc8bba + +post_install() { + vlicense LICENSE.txt +}