# Template file for 'python-Babel' pkgname=python-Babel version=2.8.0 revision=3 wrksrc="${pkgname#*-}-${version}" build_style=python-module hostmakedepends="python-setuptools python3-setuptools" depends="python-setuptools python-pytz" short_desc="Tools for internationalizing Python applications (Python2)" maintainer="Alessio Sergi " license="BSD-3-Clause" homepage="http://babel.pocoo.org/" distfiles="${PYPI_SITE}/B/Babel/Babel-${version}.tar.gz" checksum=1aac2ae2d0d8ea368fa90906567f5c08463d98ade155c0c4bfedd6a0f7160e38 alternatives="babel:pybabel:/usr/bin/pybabel2" post_install() { vlicense LICENSE } python3-Babel_package() { depends="python3-setuptools python3-pytz" short_desc="${short_desc/Python2/Python3}" alternatives="babel:pybabel:/usr/bin/pybabel3" pkg_install() { vmove usr/bin/pybabel3 vmove usr/lib/python3* vlicense LICENSE } }