python-Flask-Babel: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 22:25:24 +07:00
parent 69db1f0854
commit 39744c1094
3 changed files with 18 additions and 30 deletions

View File

@ -1,29 +0,0 @@
# 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
}
}

View File

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

View File

@ -0,0 +1,18 @@
# Template file for 'python3-Flask-Babel'
pkgname=python3-Flask-Babel
version=1.0.0
revision=2
wrksrc="${pkgname#*-}-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools python3-Jinja2 python3-Babel python3-Flask"
short_desc="Python3 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
}