# Template file for 'python3-colored-traceback'
pkgname=python3-colored-traceback
version=0.4.2
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="ecbc8e41f0712ea81931d7cd436b8beb9f3eff1595d2498f183e0ef69b56fe84
 503c2ed3f657baf4fa616376f5877014977f886e94880adecded395fa80f6f49"
skip_extraction="LICENSE"

post_install() {
	cp "$XBPS_SRCDISTDIR/${pkgname}-${version}/LICENSE" .
	vlicense LICENSE
}
