From 2c19eca40112e2a171dfc0db42fbad981ff21de4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alu=C3=ADsio=20Augusto=20Silva=20Gon=C3=A7alves?= Date: Tue, 19 Feb 2019 11:09:50 -0300 Subject: [PATCH] New package: python3-colorclass-2.2.0 --- srcpkgs/python3-colorclass/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/python3-colorclass/template 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 +}