diff --git a/srcpkgs/python3-colored-traceback/template b/srcpkgs/python3-colored-traceback/template new file mode 100644 index 00000000000..a19732803bc --- /dev/null +++ b/srcpkgs/python3-colored-traceback/template @@ -0,0 +1,22 @@ +# Template file for 'python3-colored-traceback' +pkgname=python3-colored-traceback +version=0.3.0 +revision=1 +wrksrc="colored-traceback-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 python3-colorama" +short_desc="Automatically color Python's uncaught exception tracebacks" +maintainer="Leah Neukirchen " +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 +}