diff options
Diffstat (limited to 'dev-python/Babel')
-rw-r--r-- | dev-python/Babel/Babel-2.11.0.ebuild | 6 | ||||
-rw-r--r-- | dev-python/Babel/Manifest | 3 | ||||
-rw-r--r-- | dev-python/Babel/files/Babel-2.11.0-sphinx-6.patch | 29 |
3 files changed, 36 insertions, 2 deletions
diff --git a/dev-python/Babel/Babel-2.11.0.ebuild b/dev-python/Babel/Babel-2.11.0.ebuild index e2e44b4ca402..cbf4d2700b28 100644 --- a/dev-python/Babel/Babel-2.11.0.ebuild +++ b/dev-python/Babel/Babel-2.11.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -41,6 +41,10 @@ BDEPEND=" ) " +PATCHES=( + "${FILESDIR}"/${P}-sphinx-6.patch +) + distutils_enable_sphinx docs distutils_enable_tests pytest diff --git a/dev-python/Babel/Manifest b/dev-python/Babel/Manifest index 645dd52cbc86..3711dd714efb 100644 --- a/dev-python/Babel/Manifest +++ b/dev-python/Babel/Manifest @@ -1,4 +1,5 @@ +AUX Babel-2.11.0-sphinx-6.patch 983 BLAKE2B abd902e9b37f4c67a2697a6405a9559b0b2e0f19a3f1439e1460d11343974000b35e4519b6180c8e2f9d45cd8141f9a5e93c451ab32207573cf87b7163066221 SHA512 9b428ac9f53b420d3081cc7eb560fb24f9ebc2db4eff2fd12fe7e51626dc95f449173cfbf51096d442dc0f0983f086d3430ab21202560bb084d6fa0c62e20e2b DIST Babel-2.11.0.tar.gz 9346097 BLAKE2B 99ae97e4dc16e1757ae6f054f9f346c6728d087bbfba33786d59211ac4b6c12bf861c79ac7c12a3efd89539220126ea1ea9a3578a9008daaa464aed315102b60 SHA512 526368dc5e44f2d93c52f2fcb544130eea6c6b7c78325bd56c6d9a6706890a4cd9daa1498d639aab65059801d87977da626e64585083c58c4b328001991eea0b DIST cldr-common-41.0.zip 29364494 BLAKE2B 1960e860017c3e5f31d935d66a1ff551720975dca0af459adc72b8dc54100938fbd2d2ef00eb457f3fd04d4f1e90a4783229c350b125029dcda5c1e6903f9a54 SHA512 c64f3338e292962817b043dd11e9c47f533c9b70d432f83e80654e20f4937c72b37e66a60485df43f734b1ff94ebf0452547a063076917889303c9653b4d6ce5 -EBUILD Babel-2.11.0.ebuild 1364 BLAKE2B 49006e8f595e5c67bfacde4a471cae1aca5dcc8b8d13975c498f7601bbfb3b80d8bd79b22aca60f32bd43c2d16ab03449f30a0b3d489a572309df4c517fa38c3 SHA512 a44349e63e88fadd9fe1e7d6891925263a80d54ad633ff725fb8e66dafa9bcbd918a8804b643ea37c642addf58d93907568bb0c929d8c54374b535fb0fa9c238 +EBUILD Babel-2.11.0.ebuild 1412 BLAKE2B f039a4b11f1aebc6164da86b7fcc0a85ee5dabb2dd06a1f41e8aa779ca6d1e5018ddb0a2501242f798bd74d562d14e3ccf7b10a5c2719d819e5d9d6ba040b5c7 SHA512 e110d048379d7756120f7f6248306875547d40bbe47dcebae02ac725b35da723736201a28ca269e8c2db7809ceaaadc25361b132d36a7e86aef9146eca1ebe1a MISC metadata.xml 840 BLAKE2B b0f46186ca0a319d3e4e1a658007b2cc59fe3a3ea9ede567af5084593f907e88dbe714d2b70c6a882ec95a5f90d4c0e3620ea0a939ad6e52650e770de88a45ba SHA512 621b66293259fd20c94a62ecf64673f7afcd714c18f054c8c0afe2d14e6e98c8abbdf6b4c5cc0043b5d30e513acab292d85c5587a02a9ae99ca007a28720c921 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 new file mode 100644 index 000000000000..147ebeebd4fa --- /dev/null +++ b/dev-python/Babel/files/Babel-2.11.0-sphinx-6.patch @@ -0,0 +1,29 @@ +https://github.com/python-babel/babel/commit/f7af1b72e765278b3431de3f3b92c6b9a189b18e + +From f7af1b72e765278b3431de3f3b92c6b9a189b18e Mon Sep 17 00:00:00 2001 +From: Aarni Koskela <akx@iki.fi> +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'), + } |