39 lines
1.0 KiB
Bash
39 lines
1.0 KiB
Bash
# Template file for 'python-colorama'
|
|
pkgname=python-colorama
|
|
version=0.3.7
|
|
revision=2
|
|
noarch=yes
|
|
wrksrc=colorama-${version}
|
|
build_style="python-module"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python"
|
|
pycompile_module="colorama"
|
|
short_desc="Cross-platform colored terminal text in Python2"
|
|
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
|
|
license="3-clause-BSD"
|
|
homepage="https://pypi.python.org/pypi/colorama/"
|
|
distfiles="${PYPI_SITE}/c/colorama/colorama-${version}.tar.gz"
|
|
checksum=e043c8d32527607223652021ff648fbb394d5e19cba9f1a698670b338c9d782b
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt LICENSE
|
|
}
|
|
|
|
python3-colorama_package() {
|
|
noarch=yes
|
|
replaces="python3.4-colorama>=0"
|
|
pycompile_module="colorama"
|
|
depends="python3"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE.txt LICENSE
|
|
}
|
|
}
|
|
python3.4-colorama_package() {
|
|
noarch=yes
|
|
build_style=meta
|
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
|
depends="python3-colorama>=${version}_${revision}"
|
|
}
|