void-packages/srcpkgs/python3-colorclass/template
Aluísio Augusto Silva Gonçalves 2c19eca401 New package: python3-colorclass-2.2.0
2019-04-16 17:08:39 -03:00

24 lines
728 B
Bash

# 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 <aluisio@aasg.name>"
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
}