# Template file for 'python-colorama' pkgname=python-colorama version=0.3.9 revision=1 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 (Python2)" maintainer="Oliver Kiddle " license="3-clause-BSD" homepage="https://github.com/tartley/colorama" distfiles="${PYPI_SITE}/c/colorama/colorama-${version}.tar.gz" checksum=48eb22f4f8461b1df5734a074b57042430fb06e1d61bd1e11b078c0fe6d7a1f1 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}" }