diff --git a/srcpkgs/python3-terminaltables/template b/srcpkgs/python3-terminaltables/template new file mode 100644 index 00000000000..60ada7ffcb6 --- /dev/null +++ b/srcpkgs/python3-terminaltables/template @@ -0,0 +1,24 @@ +# Template file for 'python3-terminaltables' +pkgname=python3-terminaltables +version=3.1.0 +revision=1 +archs=noarch +wrksrc="terminaltables-${version}" +build_style=python3-module +pycompile_module="terminaltables" +hostmakedepends="python3-setuptools" +checkdepends="python3-pytest python3-colorama python3-colorclass python3-termcolor" +short_desc="Generate simple tables for terminals" +maintainer="Aluísio Augusto Silva Gonçalves " +license="MIT" +homepage="https://github.com/Robpol86/terminaltables" +distfiles="https://github.com/Robpol86/terminaltables/archive/v${version}.tar.gz" +checksum=@2c97ec30468b515f1b9dce9a1dded25e1017a4038f03bd8c17d49ca6817a859f + +do_check() { + python3 -m pytest +} + +post_install() { + vlicense LICENSE +}