void-packages/srcpkgs/python3-terminaltables/template

24 lines
733 B
Bash

# Template file for 'python3-terminaltables'
pkgname=python3-terminaltables
version=3.1.0
revision=3
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 <aluisio@aasg.name>"
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
}