void-packages/srcpkgs/python-Flask-Babel/template

33 lines
919 B
Bash

# 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
}
}