New package: python-Flask-Babel-0.11.2

Closes #9037.
This commit is contained in:
pulux 2017-11-09 18:35:42 +01:00 committed by Enno Boland
parent bc44551e21
commit bfc6a52388
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,32 @@
# Template file for 'python-Flask-Babel'
pkgname=python-Flask-Babel
version=0.11.2
revision=1
noarch=yes
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
pycompile_module="flask_babel"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-setuptools python-Babel python-Jinja2"
short_desc="Python2 i18n and l10n support for Flask based on Babel and pytz"
maintainer="pulux <pulux@pf4sh.de>"
license="3-clause-BSD"
homepage="https://pythonhosted.org/Flask-Babel/"
distfiles="${PYPI_SITE}/F/Flask-Babel/Flask-Babel-${version}.tar.gz"
checksum=c0d75710bd4b0fe866f9f2347de6e19208712f9cec006436b4c1c15d4cb0c939
post_install() {
vlicense LICENSE
}
python3-Flask-Babel_package() {
noarch=yes
pycompile_module="flask_babel"
depends="python3-setuptools python3-Jinja2 python3-Babel"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

1
srcpkgs/python3-Flask-Babel Symbolic link
View file

@ -0,0 +1 @@
python-Flask-Babel