diff --git a/srcpkgs/python3-flexmock/template b/srcpkgs/python3-flexmock/template new file mode 100644 index 00000000000..6f8ac956213 --- /dev/null +++ b/srcpkgs/python3-flexmock/template @@ -0,0 +1,25 @@ +# Template file for 'python3-flexmock' +pkgname=python3-flexmock +version=0.10.2 +revision=1 +noarch=yes +wrksrc="flexmock-${version}" +build_style=python3-module +pycompile_module="flexmock.py" +hostmakedepends="python3-setuptools" +depends="python3" +checkdepends="python3-pytest" +short_desc="Testing library for Python3 inspired by Ruby's flexmock" +maintainer="maxice8 " +license="BSD-2-Clause" +homepage="https://flexmock.readthedocs.io/en/latest/" +distfiles="${PYPI_SITE}/f/flexmock/flexmock-${version}.tar.gz" +checksum=fe95c8727f4db73dc8f2f7b4548bffe7992440a965fefd60da291abda5352c2b + +do_check() { + python3 -m pytest +} + +post_install() { + vlicense LICENSE +}