diff --git a/srcpkgs/python3-colorclass/template b/srcpkgs/python3-colorclass/template new file mode 100644 index 00000000000..4a80f379206 --- /dev/null +++ b/srcpkgs/python3-colorclass/template @@ -0,0 +1,24 @@ +# Template file for 'python3-colorclass' +pkgname=python3-colorclass +version=2.2.0 +revision=1 +archs=noarch +wrksrc="colorclass-${version}" +build_style=python3-module +pycompile_module="colorclass" +hostmakedepends="python3-setuptools" +checkdepends="python3-pytest python3-docopt" +short_desc="Colorful worry-free console applications" +maintainer="Aluísio Augusto Silva Gonçalves " +license="MIT" +homepage="https://github.com/Robpol86/colorclass" +distfiles="https://github.com/Robpol86/colorclass/archive/v${version}.tar.gz" +checksum=@4b1dff3a5736f909f229429396131365d31cffac0c497bdf46a1fa61e8c2d6f7 + +do_check() { + PYTHONPATH="${PWD}/build-${py3_ver}/lib" python3 -m pytest +} + +post_install() { + vlicense LICENSE +}