diff --git a/srcpkgs/python-Flask-Babel/template b/srcpkgs/python-Flask-Babel/template new file mode 100644 index 0000000000..8d41059748 --- /dev/null +++ b/srcpkgs/python-Flask-Babel/template @@ -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 " +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 + } +} + diff --git a/srcpkgs/python3-Flask-Babel b/srcpkgs/python3-Flask-Babel new file mode 120000 index 0000000000..591168740e --- /dev/null +++ b/srcpkgs/python3-Flask-Babel @@ -0,0 +1 @@ +python-Flask-Babel \ No newline at end of file