python-Babel: remove package, python3-Babel: update to 2.9.1.
This commit is contained in:
parent
745cafc8ac
commit
6022b6b5a0
|
@ -1,30 +0,0 @@
|
|||
# Template file for 'python-Babel'
|
||||
pkgname=python-Babel
|
||||
version=2.8.0
|
||||
revision=4
|
||||
wrksrc="${pkgname#*-}-${version}"
|
||||
build_style=python-module
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python-setuptools python-pytz"
|
||||
short_desc="Tools for internationalizing Python applications (Python2)"
|
||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||
license="BSD-3-Clause"
|
||||
homepage="http://babel.pocoo.org/"
|
||||
distfiles="${PYPI_SITE}/B/Babel/Babel-${version}.tar.gz"
|
||||
checksum=1aac2ae2d0d8ea368fa90906567f5c08463d98ade155c0c4bfedd6a0f7160e38
|
||||
alternatives="babel:pybabel:/usr/bin/pybabel2"
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
python3-Babel_package() {
|
||||
depends="python3-setuptools python3-pytz"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
alternatives="babel:pybabel:/usr/bin/pybabel3"
|
||||
pkg_install() {
|
||||
vmove usr/bin/pybabel3
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
python-Babel
|
|
@ -0,0 +1,23 @@
|
|||
# Template file for 'python3-Babel'
|
||||
pkgname=python3-Babel
|
||||
version=2.9.1
|
||||
revision=1
|
||||
wrksrc="${pkgname#*-}-${version}"
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
depends="python3-setuptools python3-pytz"
|
||||
checkdepends="python3-pytest python3-pytz python3-freezegun"
|
||||
short_desc="Tools for internationalizing Python applications (Python3)"
|
||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||
license="BSD-3-Clause"
|
||||
homepage="http://babel.pocoo.org/"
|
||||
distfiles="${PYPI_SITE}/B/Babel/Babel-${version}.tar.gz"
|
||||
checksum=bc0c176f9f6a994582230df350aa6e05ba2ebe4b3ac317eab29d9be5d2768da0
|
||||
# test_extract_error_code fails: https://github.com/python-babel/babel/issues/802#issuecomment-1029132391
|
||||
make_check=no
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
# for compatibility
|
||||
ln -s pybabel "${DESTDIR}/usr/bin/pybabel3"
|
||||
}
|
|
@ -261,6 +261,7 @@ replaces="
|
|||
pygtksourceview<=2.10.1_5
|
||||
pyside-tools<=0.2.15_2
|
||||
pystopwatch<=2019_2
|
||||
python-Babel<=2.8.0_4
|
||||
python-M2Crypto<=0.35.2_7
|
||||
python-Pillow<=6.2.2_3
|
||||
python-Pygments<=2.5.2_4
|
||||
|
|
Loading…
Reference in New Issue