34 lines
895 B
Bash
34 lines
895 B
Bash
|
# Template file for 'python-colorama'
|
||
|
pkgname=python-colorama
|
||
|
version=0.3.3
|
||
|
revision=1
|
||
|
noarch=yes
|
||
|
wrksrc=colorama-${version}
|
||
|
build_style="python-module"
|
||
|
python_versions="2.7 3.4"
|
||
|
hostmakedepends="python-setuptools python3.4-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=eb21f2ba718fbf357afdfdf6f641ab393901c7ca8d9f37edd0bee4806ffa269c
|
||
|
|
||
|
post_install() {
|
||
|
vlicense LICENSE.txt LICENSE
|
||
|
}
|
||
|
|
||
|
python3.4-colorama_package() {
|
||
|
noarch=yes
|
||
|
pycompile_version="3.4"
|
||
|
pycompile_module="colorama"
|
||
|
depends="python3.4"
|
||
|
short_desc="${short_desc/Python2/Python3.4}"
|
||
|
pkg_install() {
|
||
|
vmove usr/lib/python3.4
|
||
|
vlicense LICENSE.txt LICENSE
|
||
|
}
|
||
|
}
|