void-packages/srcpkgs/python3-colored-traceback/template

22 lines
825 B
Bash

# Template file for 'python3-colored-traceback'
pkgname=python3-colored-traceback
version=0.3.0
revision=2
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3 python3-colorama"
short_desc="Automatically color Python's uncaught exception tracebacks"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="ISC"
homepage="https://github.com/staticshock/colored-traceback.py"
distfiles="${PYPI_SITE}/c/colored-traceback/colored-traceback-${version}.tar.gz
https://raw.githubusercontent.com/staticshock/colored-traceback.py/master/LICENSE"
checksum="6da7ce2b1da869f6bb54c927b415b95727c4bb6d9a84c4615ea77d9872911b05
503c2ed3f657baf4fa616376f5877014977f886e94880adecded395fa80f6f49"
skip_extraction="LICENSE"
post_install() {
cp "$XBPS_SRCDISTDIR/${pkgname}-${version}/LICENSE" .
vlicense LICENSE
}