void-packages/srcpkgs/python-Flask-Babel/template
2020-04-25 11:16:49 +02:00

30 lines
885 B
Bash

# Template file for 'python-Flask-Babel'
pkgname=python-Flask-Babel
version=1.0.0
revision=1
archs=noarch
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
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=d6a70468f9a8919d59fba2a291a003da3a05ff884275dddbd965f3b98b09ab3e
post_install() {
vlicense LICENSE
}
python3-Flask-Babel_package() {
archs=noarch
depends="python3-setuptools python3-Jinja2 python3-Babel python3-Flask"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}