32 lines
818 B
Bash
32 lines
818 B
Bash
# Template file for 'python-colorama'
|
|
pkgname=python-colorama
|
|
version=0.4.0
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="colorama-${version}"
|
|
build_style=python-module
|
|
pycompile_module="colorama"
|
|
hostmakedepends="unzip python-setuptools python3-setuptools"
|
|
depends="python"
|
|
short_desc="Cross-platform colored terminal text (Python2)"
|
|
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/tartley/colorama"
|
|
distfiles="${PYPI_SITE}/c/colorama/colorama-${version}.zip"
|
|
checksum=c9b54bebe91a6a803e0772c8561d53f2926bfeb17cd141fbabcb08424086595c
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt
|
|
}
|
|
|
|
python3-colorama_package() {
|
|
noarch=yes
|
|
pycompile_module="colorama"
|
|
depends="python3"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE.txt
|
|
}
|
|
}
|