void-packages/srcpkgs/python-Flask-Babel/template
2019-12-23 18:04:37 +01:00

33 lines
950 B
Bash

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