void-packages/srcpkgs/python3-colorama/template

21 lines
659 B
Bash

# Template file for 'python3-colorama'
pkgname=python3-colorama
version=0.4.6
revision=2
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3"
checkdepends="python3-pytest"
short_desc="Cross-platform colored terminal text (Python3)"
maintainer="Emil Miler <em@0x45.cz>"
license="BSD-3-Clause"
homepage="https://github.com/tartley/colorama"
changelog="https://github.com/tartley/colorama/raw/master/CHANGELOG.rst"
distfiles="${PYPI_SITE}/c/colorama/colorama-${version}.tar.gz"
checksum=08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44
post_install() {
vlicense LICENSE.txt
rm -r ${DESTDIR}/${py3_sitelib}/colorama/tests
}