commit:     4bd68c83f8182678f371af2594eacaca04a28f65
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Oct  8 02:58:36 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Oct  8 02:58:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bd68c83

dev-python/sphinx-rtd-theme: Bump to 3.0.0

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

 dev-python/sphinx-rtd-theme/Manifest               |  1 +
 .../sphinx-rtd-theme/sphinx-rtd-theme-3.0.0.ebuild | 42 ++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/dev-python/sphinx-rtd-theme/Manifest 
b/dev-python/sphinx-rtd-theme/Manifest
index b559a0e251d3..57871a1dd7b2 100644
--- a/dev-python/sphinx-rtd-theme/Manifest
+++ b/dev-python/sphinx-rtd-theme/Manifest
@@ -1 +1,2 @@
 DIST sphinx_rtd_theme-2.0.0.tar.gz 2785005 BLAKE2B 
a9971cba0bf04d786e41144fc04c8450be3291f0f5c3164b793258a489d5c1348bded906f47071ebd9aa4fa022bca157a18f758d3e2f48765ae5c65655a8c25f
 SHA512 
3de989e24f2c187058b19017a92cf2159af0fdb32e5c3bc46992797a3be0f23ad75e1fd9b758e7d672eb38524798b4800de2e1b405910ea043dbd7d6f32a05da
+DIST sphinx_rtd_theme-3.0.0.tar.gz 7620317 BLAKE2B 
e604f6eed7752070a2ab3fab4d55db83f21afe12a257ea2a4852c707c1ee580fe880a32e14c6b1ffa50091d71a26850e960d166e578be5027e13b267d9787c8d
 SHA512 
34d88e49cb00e30bcdb7f1082224f28dbe02dc757558c54869cfbb2fe7ecb664a8c87c79596c044062bd62ac3d078af9619a5420df60a47e60b2f7e3c27984a0

diff --git a/dev-python/sphinx-rtd-theme/sphinx-rtd-theme-3.0.0.ebuild 
b/dev-python/sphinx-rtd-theme/sphinx-rtd-theme-3.0.0.ebuild
new file mode 100644
index 000000000000..4f911ff3041f
--- /dev/null
+++ b/dev-python/sphinx-rtd-theme/sphinx-rtd-theme-3.0.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="ReadTheDocs.org theme for Sphinx"
+HOMEPAGE="
+       https://github.com/readthedocs/sphinx_rtd_theme/
+       https://pypi.org/project/sphinx-rtd-theme/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+       >=dev-python/docutils-0.18[${PYTHON_USEDEP}]
+       >=dev-python/sphinx-6[${PYTHON_USEDEP}]
+       >=dev-python/sphinxcontrib-jquery-4[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       test? (
+               dev-python/readthedocs-sphinx-ext[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+       # remove upper bounds
+       sed -i -e 's:,\?<[0-9.]*::' setup.cfg || die
+       distutils-r1_src_prepare
+
+       # CI=1 disables rebuilding webpack that requires npm use
+       # yes, that surely makes sense
+       export CI=1
+}

Reply via email to