python-babel 2.16.0-1
This commit is contained in:
parent
19f91497e3
commit
7cbecdbbb6
31
PKGBUILD
31
PKGBUILD
@ -5,8 +5,8 @@
|
|||||||
|
|
||||||
# Maintainer: Future Linux Team <future_linux@163.com>
|
# Maintainer: Future Linux Team <future_linux@163.com>
|
||||||
pkgname=python-babel
|
pkgname=python-babel
|
||||||
pkgver=2.15.0
|
pkgver=2.16.0
|
||||||
_core=43
|
_core=45
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="A collection of tools for internationalizing Python applications"
|
pkgdesc="A collection of tools for internationalizing Python applications"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
@ -15,30 +15,29 @@ license=("BSD")
|
|||||||
depends=('python' 'python-pytz')
|
depends=('python' 'python-pytz')
|
||||||
makedepends=('python-setuptools')
|
makedepends=('python-setuptools')
|
||||||
source=(https://github.com/python-babel/babel/archive/v${pkgver}/${pkgname#*-}-${pkgver}.tar.gz
|
source=(https://github.com/python-babel/babel/archive/v${pkgver}/${pkgname#*-}-${pkgver}.tar.gz
|
||||||
cldr-core-${_core}.zip::http://unicode.org/Public/cldr/${_core}/core.zip
|
cldr-core-${_core}.zip::http://unicode.org/Public/cldr/${_core}/core.zip
|
||||||
cldr-common-${_core}.0.zip::http://unicode.org/Public/cldr/${_core}/cldr-common-${_core}.0.zip)
|
cldr-common-${_core}.0.zip::http://unicode.org/Public/cldr/${_core}/cldr-common-${_core}.0.zip)
|
||||||
noextract=(cldr-core-${_core}.zip)
|
noextract=(cldr-core-${_core}.zip)
|
||||||
sha256sums=(b7dd3b7f0d4ef54720edc290a5b00229d145e9d1e7306e0ddd0c3ccc28453019
|
sha256sums=(8468baea3e88539548a71973a33522cfded775fd0677f1a74b4a9373b4a1ddde
|
||||||
7800dadb6a11e06ba1475f8c2830aa87e0749ed441c953d8deea60b4baeef592
|
03b6782ec5fc623f85eb54aa7e12555667a015a3b96a6e8f973418c0a894a21f
|
||||||
7800dadb6a11e06ba1475f8c2830aa87e0749ed441c953d8deea60b4baeef592)
|
03b6782ec5fc623f85eb54aa7e12555667a015a3b96a6e8f973418c0a894a21f)
|
||||||
|
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd ${pkgname#*-}-${pkgver}
|
cd ${pkgname#*-}-${pkgver}
|
||||||
|
|
||||||
cp ${srcdir}/cldr-core-${_core}.zip cldr/cldr-core-${_core}.zip
|
cp ${srcdir}/cldr-core-${_core}.zip cldr/cldr-core-${_core}.zip
|
||||||
cp ${srcdir}/cldr-common-${_core}.0.zip cldr/cldr-common-${_core}.0.zip
|
cp ${srcdir}/cldr-common-${_core}.0.zip cldr/cldr-common-${_core}.0.zip
|
||||||
}
|
}
|
||||||
|
|
||||||
build(){
|
build(){
|
||||||
cd ${pkgname#*-}-${pkgver}
|
cd ${pkgname#*-}-${pkgver}
|
||||||
|
|
||||||
python3 setup.py import_cldr
|
python3 setup.py import_cldr
|
||||||
python3 setup.py build
|
python3 setup.py build
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd ${pkgname#*-}-${pkgver}
|
cd ${pkgname#*-}-${pkgver}
|
||||||
|
|
||||||
python3 setup.py install --root=${pkgdir} --optimize=1 --skip-build
|
python3 setup.py install --root=${pkgdir} --optimize=1 --skip-build
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user