vp-build/srcpkgs/python3-colorclass/template

25 lines
728 B
Bash

# Template file for 'python3-colorclass'
pkgname=python3-colorclass
version=2.2.0
revision=2
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
}