mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
dev-python/Babel: Bump to 2.15.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
55
dev-python/Babel/Babel-2.15.0.ebuild
Normal file
55
dev-python/Babel/Babel-2.15.0.ebuild
Normal file
@@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( pypy3 python3_{10..12} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
# see scripts/download_import_cldr.py
|
||||
CLDR_PV=44.0
|
||||
DESCRIPTION="Collection of tools for internationalizing Python applications"
|
||||
HOMEPAGE="
|
||||
https://babel.pocoo.org/
|
||||
https://pypi.org/project/Babel/
|
||||
https://github.com/python-babel/babel/
|
||||
"
|
||||
SRC_URI+="
|
||||
https://unicode.org/Public/cldr/${CLDR_PV%.*}/cldr-common-${CLDR_PV}.zip
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
|
||||
|
||||
# RDEPEND in BDEPEND for import_cldr.py usage, bug #852158
|
||||
BDEPEND="
|
||||
app-arch/unzip
|
||||
${RDEPEND}
|
||||
test? (
|
||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_sphinx docs
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
rm babel/locale-data/*.dat || die
|
||||
rm babel/global.dat || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_configure() {
|
||||
if [[ ! -f babel/global.dat ]]; then
|
||||
"${EPYTHON}" scripts/import_cldr.py "${WORKDIR}"/common || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local -x TZ=UTC
|
||||
epytest
|
||||
}
|
||||
@@ -1,2 +1,4 @@
|
||||
DIST Babel-2.14.0.tar.gz 10795622 BLAKE2B 7beb79d34e5fc44a7520b7ca8541dbe41676b466c418a4fcf994fc556ca86d9cbc9ddeecad886b49a61ea4f62502413472a96df0fd65606f447e423c7ece4723 SHA512 cfcd93bc5e57e3d23b8fb67f77fdeeb08183cc5ef9a6e044085a090cec3d722cf658e740c639f5a834df11a4cff0dacafdbba435184d77a78d56fc0bb6b62fd2
|
||||
DIST babel-2.15.0.tar.gz 9390000 BLAKE2B 9cd99524dbb191b5b8835452118b57b23abc89123e358a29de2375263a0264a1ea4c71324632eff8711cab7dbb40a20e97acd8e0faa448872353852b064ca524 SHA512 8cff4dbbe84047f7e8b625772036d2a23b6f7dfc36aa15332e581d4331fdac1d0308341294741afc43f3180368a7cc7675f68f28bbf94a621c693a822d4a2028
|
||||
DIST cldr-common-43.0.zip 31934452 BLAKE2B 8390db2fb58ede0f55ebe369e5598c6a47b6ed01c95162d85365a699ceeb15d4d912a1ea26062c8f37a467c58fdaca27e99a9a133fec4afe15bf6ac6ba29b4f6 SHA512 930c64208d6f680d115bfa74a69445fb614910bb54233227b0b9ae85ddbce4db19e4ec863bf04ae9d4a11b2306aa7394e553384d7537487de8011f0e34877cef
|
||||
DIST cldr-common-44.0.zip 31750682 BLAKE2B a6f708d6c5bd02efc1e0672250b181542fb0f91d48bbaabddfc3b6b9e21201e3c9e6d09222cbc929b4ae654d2a0804a90f77f384df93577af188a907ce20bd61 SHA512 f2cd8733948caf308d6e39eae21724da7f29f528f8969d456514e1e84ecd5f1e6936d0460414a968888bb1b597bc1ee723950ea47df5cba21a02bb14f96d18b6
|
||||
|
||||
Reference in New Issue
Block a user