commit:     641424249c97ccc77fb7ff87b8959d048789895d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 29 18:30:00 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Apr 29 18:30:00 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64142424

dev-python/Babel: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/Babel/Babel-2.11.0.ebuild               | 66 ----------------------
 dev-python/Babel/Manifest                          |  2 -
 dev-python/Babel/files/Babel-2.11.0-sphinx-6.patch | 29 ----------
 3 files changed, 97 deletions(-)

diff --git a/dev-python/Babel/Babel-2.11.0.ebuild 
b/dev-python/Babel/Babel-2.11.0.ebuild
deleted file mode 100644
index 405927284ad2..000000000000
--- a/dev-python/Babel/Babel-2.11.0.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( pypy3 python3_{9..11} )
-PYTHON_REQ_USE="threads(+)"
-
-inherit distutils-r1
-
-# see scripts/download_import_cldr.py
-CLDR_PV=41.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="
-       mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
-       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="
-       dev-python/pytz[${PYTHON_USEDEP}]
-       $(python_gen_cond_dep '
-               dev-python/backports-zoneinfo[${PYTHON_USEDEP}]
-       ' 3.8)
-"
-# RDEPEND in BDEPEND for import_cldr.py usage, bug #852158
-BDEPEND="
-       app-arch/unzip
-       ${RDEPEND}
-       test? (
-               dev-python/freezegun[${PYTHON_USEDEP}]
-       )
-"
-
-PATCHES=(
-       "${FILESDIR}"/${P}-sphinx-6.patch
-)
-
-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
-}

diff --git a/dev-python/Babel/Manifest b/dev-python/Babel/Manifest
index a0ccc3b5c18d..dc6fad6d5951 100644
--- a/dev-python/Babel/Manifest
+++ b/dev-python/Babel/Manifest
@@ -1,4 +1,2 @@
-DIST Babel-2.11.0.tar.gz 9346097 BLAKE2B 
99ae97e4dc16e1757ae6f054f9f346c6728d087bbfba33786d59211ac4b6c12bf861c79ac7c12a3efd89539220126ea1ea9a3578a9008daaa464aed315102b60
 SHA512 
526368dc5e44f2d93c52f2fcb544130eea6c6b7c78325bd56c6d9a6706890a4cd9daa1498d639aab65059801d87977da626e64585083c58c4b328001991eea0b
 DIST Babel-2.12.1.tar.gz 9906735 BLAKE2B 
d78838f9a2032eae998f1d751ad803fec81c03be498db934e34e0702d28e0815a7848e55af73ea4dff45e3cf063b9e45ab06c749b8d3f15b7742e209bf3d06ef
 SHA512 
93c4bf343d99a1f47f43f8b828eb79098cb429bac1034d58b5aa49adff68116e458067f3784d997f34515828a7432fd18f7abbaeee59b47a4ee8ea744908b33b
-DIST cldr-common-41.0.zip 29364494 BLAKE2B 
1960e860017c3e5f31d935d66a1ff551720975dca0af459adc72b8dc54100938fbd2d2ef00eb457f3fd04d4f1e90a4783229c350b125029dcda5c1e6903f9a54
 SHA512 
c64f3338e292962817b043dd11e9c47f533c9b70d432f83e80654e20f4937c72b37e66a60485df43f734b1ff94ebf0452547a063076917889303c9653b4d6ce5
 DIST cldr-common-42.0.zip 30178050 BLAKE2B 
076e3eca12534feff8e0e54bdc1fa38fc0db0f78cac8b4e35b343763a8ac6787745aa36be165684f4d6dda423409c4431a8e4941c53ae7d340ead0b35edbca30
 SHA512 
315448fe6a9ac2d5a6a7fd1a27b38c5db30fed053654a803d50e3a8d06aa08ad153e8e57089fa094c561f41a54f37eecda0701b47a1813879902be71945aa38a

diff --git a/dev-python/Babel/files/Babel-2.11.0-sphinx-6.patch 
b/dev-python/Babel/files/Babel-2.11.0-sphinx-6.patch
deleted file mode 100644
index 147ebeebd4fa..000000000000
--- a/dev-python/Babel/files/Babel-2.11.0-sphinx-6.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-https://github.com/python-babel/babel/commit/f7af1b72e765278b3431de3f3b92c6b9a189b18e
-
-From f7af1b72e765278b3431de3f3b92c6b9a189b18e Mon Sep 17 00:00:00 2001
-From: Aarni Koskela <[email protected]>
-Date: Wed, 2 Nov 2022 08:25:47 +0200
-Subject: [PATCH] Update docs build configuration (#924)
-
-* Use Python 3.11
-* Use Sphinx 5 (and update extlinks configuration)
-* Use Python 3 intersphinx mapping
-* Install Babel from the build directory
-
-Refs https://github.com/python-babel/babel/issues/920
---- a/docs/conf.py
-+++ b/docs/conf.py
-@@ -251,10 +251,10 @@
- #texinfo_show_urls = 'footnote'
- 
- intersphinx_mapping = {
--    'https://docs.python.org/2/': None,
-+    'https://docs.python.org/3/': None,
- }
- 
- extlinks = {
--    'gh': ('https://github.com/python-babel/babel/issues/%s', '#'),
--    'trac': ('http://babel.edgewall.org/ticket/%s', 'ticket #'),
-+    'gh': ('https://github.com/python-babel/babel/issues/%s', '#%s'),
-+    'trac': ('http://babel.edgewall.org/ticket/%s', 'ticket #%s'),
- }

Reply via email to