summaryrefslogtreecommitdiff
path: root/dev-python/Babel
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-12-30 17:41:14 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-12-30 17:41:14 +0000
commit35e3ee5faf74dc69409f957f81a6848d4d24c49f (patch)
treed6bc6dbf01adb34336a16db816df491d45013f2d /dev-python/Babel
parentab3caa4e3adb16caadd7e9e1d9f606b34f20d2b3 (diff)
gentoo auto-resync : 30:12:2023 - 17:41:14
Diffstat (limited to 'dev-python/Babel')
-rw-r--r--dev-python/Babel/Babel-2.13.1.ebuild69
-rw-r--r--dev-python/Babel/Babel-2.14.0.ebuild2
-rw-r--r--dev-python/Babel/Manifest5
3 files changed, 2 insertions, 74 deletions
diff --git a/dev-python/Babel/Babel-2.13.1.ebuild b/dev-python/Babel/Babel-2.13.1.ebuild
deleted file mode 100644
index 7c3b6a84f66d..000000000000
--- a/dev-python/Babel/Babel-2.13.1.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( pypy3 python3_{10..12} )
-PYTHON_REQ_USE="threads(+)"
-
-inherit distutils-r1 pypi
-
-# see scripts/download_import_cldr.py
-CLDR_PV=42.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 EPYTEST_DESELECT=()
- if [[ ${EPYTHON} == python3.12 ]]; then
- EPYTEST_DESELECT+=(
- # seems to be a corner case, might be a regression in cpython
- # https://github.com/python-babel/babel/issues/1005
- tests/messages/test_extract.py::ExtractPythonTestCase::test_utf8_message_with_utf8_bom
- tests/messages/test_extract.py::ExtractPythonTestCase::test_utf8_message_with_utf8_bom_and_magic_comment
- tests/messages/test_extract.py::ExtractPythonTestCase::test_utf8_raw_strings_match_unicode_strings
- tests/messages/test_extract.py::ExtractTestCase::test_f_strings
- tests/messages/test_extract.py::ExtractTestCase::test_f_strings_non_utf8
- )
- fi
-
- local -x TZ=UTC
- epytest
-}
diff --git a/dev-python/Babel/Babel-2.14.0.ebuild b/dev-python/Babel/Babel-2.14.0.ebuild
index f0ba2651dbe6..782ed1582e8e 100644
--- a/dev-python/Babel/Babel-2.14.0.ebuild
+++ b/dev-python/Babel/Babel-2.14.0.ebuild
@@ -24,7 +24,7 @@ SRC_URI+="
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+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="
diff --git a/dev-python/Babel/Manifest b/dev-python/Babel/Manifest
index 56af839dbadd..4166089d5777 100644
--- a/dev-python/Babel/Manifest
+++ b/dev-python/Babel/Manifest
@@ -1,7 +1,4 @@
-DIST Babel-2.13.1.tar.gz 9909844 BLAKE2B f4e0cb6d19c2ecd24a8e67e7d77531248cb5a8d100a5da2a9fe147aef3c15339728c82d4fe9095563c0a0b83dede7c5e27f29281bc3bf0cac5deff7cce409335 SHA512 c27c76456094927bd43ae46cd3e08fcc729dd810a6092da6c86e863523c10746bb3759e7fc9f5396504ab914743ef013904b63b3aa63338602f23aaf83d42cba
DIST Babel-2.14.0.tar.gz 10795622 BLAKE2B 7beb79d34e5fc44a7520b7ca8541dbe41676b466c418a4fcf994fc556ca86d9cbc9ddeecad886b49a61ea4f62502413472a96df0fd65606f447e423c7ece4723 SHA512 cfcd93bc5e57e3d23b8fb67f77fdeeb08183cc5ef9a6e044085a090cec3d722cf658e740c639f5a834df11a4cff0dacafdbba435184d77a78d56fc0bb6b62fd2
-DIST cldr-common-42.0.zip 30178050 BLAKE2B 076e3eca12534feff8e0e54bdc1fa38fc0db0f78cac8b4e35b343763a8ac6787745aa36be165684f4d6dda423409c4431a8e4941c53ae7d340ead0b35edbca30 SHA512 315448fe6a9ac2d5a6a7fd1a27b38c5db30fed053654a803d50e3a8d06aa08ad153e8e57089fa094c561f41a54f37eecda0701b47a1813879902be71945aa38a
DIST cldr-common-43.0.zip 31934452 BLAKE2B 8390db2fb58ede0f55ebe369e5598c6a47b6ed01c95162d85365a699ceeb15d4d912a1ea26062c8f37a467c58fdaca27e99a9a133fec4afe15bf6ac6ba29b4f6 SHA512 930c64208d6f680d115bfa74a69445fb614910bb54233227b0b9ae85ddbce4db19e4ec863bf04ae9d4a11b2306aa7394e553384d7537487de8011f0e34877cef
-EBUILD Babel-2.13.1.ebuild 1880 BLAKE2B 36590f75e7a93525e44dc9013b6dcda5867be92accc51fddee6aa0cfbe8e5b6c4869a8cad210f6604b49b6aecbec1c4ccaf3c7e3122d61a447d522caba35a0b3 SHA512 ab75ff506205c2b800ec8e44f2f1537dc8d874954e07c77a92a72694a10cce26fa4ddeb1c9deb2adb5a1e9639473311a1e9c472cbc31e6278561d92a59ab1f1f
-EBUILD Babel-2.14.0.ebuild 1226 BLAKE2B 738b0dae03046637f28674e78c49b0abe4e676eb738c636ad655471e2454b1f6db07d821a9c3bc59a36df4f17aa44d90f9fba1e10d520d4022bdcbf90b83c70d SHA512 003faf57eb22f94690ac25bcf969a0b75e080248f0f8d93ac9afd36f6b01123f9017c5f5b769cbd1b8b792c15ffe73c0e2d0766e469f14846e12e55e307fbbf0
+EBUILD Babel-2.14.0.ebuild 1218 BLAKE2B 8947cafdfb064e32c822058a28ba992a2a4ae3ccd1c0c49b778abf3287919b4f06f4c3486b58765c07419365f68e2fbf03b285a9204779a849e9ccffecfcf898 SHA512 5d65a866a02affb1ad30c2a83ae439bee55a5c5da099d7d2382f90b9479fc1ab172058e72b5fccac4a6975e91c82e43a7c0882f2fcb0a3db6924fc04f6373380
MISC metadata.xml 840 BLAKE2B b0f46186ca0a319d3e4e1a658007b2cc59fe3a3ea9ede567af5084593f907e88dbe714d2b70c6a882ec95a5f90d4c0e3620ea0a939ad6e52650e770de88a45ba SHA512 621b66293259fd20c94a62ecf64673f7afcd714c18f054c8c0afe2d14e6e98c8abbdf6b4c5cc0043b5d30e513acab292d85c5587a02a9ae99ca007a28720c921