void-packages/srcpkgs/python-Babel/template
maxice8 158591b8c7 python-Babel: update to 2.5.3.
Closes: #10865 [via git-merge-pr]
2018-01-16 05:02:15 +01:00

34 lines
955 B
Bash

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