summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-12-30 15:27:58 +0100
committerMichał Górny <mgorny@gentoo.org>2023-12-30 15:32:45 +0100
commit88c01a9b1ef47cc30d03e90f4bdd180aa4f7ffc5 (patch)
tree362d9824570db45e01090ebe62a3fcb0c6b8a98a /dev-python/Babel
parentdev-python/cherrypy: Remove old (diff)
downloadgentoo-88c01a9b1ef47cc30d03e90f4bdd180aa4f7ffc5.tar.gz
gentoo-88c01a9b1ef47cc30d03e90f4bdd180aa4f7ffc5.tar.bz2
gentoo-88c01a9b1ef47cc30d03e90f4bdd180aa4f7ffc5.zip
dev-python/Babel: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/Babel')
-rw-r--r--dev-python/Babel/Babel-2.13.1.ebuild69
-rw-r--r--dev-python/Babel/Manifest2
2 files changed, 0 insertions, 71 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/Manifest b/dev-python/Babel/Manifest
index c381b661f6ac..15e42b496964 100644
--- a/dev-python/Babel/Manifest
+++ b/dev-python/Babel/Manifest
@@ -1,4 +1,2 @@
-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