python-Babel: update to 2.2.0
This commit is contained in:
parent
b5b064007a
commit
e820c7682c
1 changed files with 5 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'python-Babel'
|
# Template file for 'python-Babel'
|
||||||
pkgname=python-Babel
|
pkgname=python-Babel
|
||||||
version=2.1.1
|
version=2.2.0
|
||||||
revision=1
|
revision=1
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="${pkgname#*-}-${version}"
|
wrksrc="${pkgname#*-}-${version}"
|
||||||
|
@ -12,9 +12,9 @@ pycompile_module="babel"
|
||||||
short_desc="Tools for internationalizing Python applications (Python2)"
|
short_desc="Tools for internationalizing Python applications (Python2)"
|
||||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
homepage="http://babel.pocoo.org/"
|
homepage="http://babel.pocoo.org/"
|
||||||
license="BSD"
|
license="3-clause-BSD"
|
||||||
distfiles="${PYPI_SITE}/B/Babel/Babel-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/B/Babel/Babel-${version}.tar.gz"
|
||||||
checksum=7fb6d50effe88a087feb2036cb972fd7a893bf338361516f1a55a820bf7b5248
|
checksum=d8cb4c0e78148aee89560f9fe21587aa57739c975bb89ff66b1e842cc697428f
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
cp -a ${wrksrc} /tmp/babel-2.7
|
cp -a ${wrksrc} /tmp/babel-2.7
|
||||||
|
@ -22,7 +22,7 @@ pre_build() {
|
||||||
mv /tmp/babel-{2.7,3.4} ${wrksrc}
|
mv /tmp/babel-{2.7,3.4} ${wrksrc}
|
||||||
|
|
||||||
cd babel-3.4
|
cd babel-3.4
|
||||||
sed -i 's|\(pybabel\) =|\13 =|' setup.py
|
sed -i 's|\(pybabel\) =|\13.4 =|' setup.py
|
||||||
}
|
}
|
||||||
do_build() {
|
do_build() {
|
||||||
for pyver in $python_versions; do
|
for pyver in $python_versions; do
|
||||||
|
@ -45,7 +45,7 @@ python3.4-Babel_package() {
|
||||||
pycompile_module="babel"
|
pycompile_module="babel"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/pybabel3
|
vmove usr/bin/pybabel3.4
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3.4
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue