commit: c9df8c1480aff5d5f227e6fbd80f171f939cef39
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 14 04:13:25 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Nov 14 04:39:23 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9df8c14
dev-python/sphinx-rtd-theme: Bump to 3.0.2
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.2.ebuild | 42 ++++++++++++++++++++++
2 files changed, 43 insertions(+)
diff --git a/dev-python/sphinx-rtd-theme/Manifest
b/dev-python/sphinx-rtd-theme/Manifest
index 7b903724388d..1a6d9efc63a4 100644
--- a/dev-python/sphinx-rtd-theme/Manifest
+++ b/dev-python/sphinx-rtd-theme/Manifest
@@ -1 +1,2 @@
DIST sphinx_rtd_theme-3.0.1.tar.gz 7620352 BLAKE2B
80f8ee14364dde84423ea1fff2a33216d72e878b911d9c28e6fdb2a032fa7b17161fa0e4f6b1e7b9db6b3ac015949fb357cfb546b1f3fc38eacc88c81f4e084e
SHA512
38fddf75ec2ee9622427fa88b868241f0da05214783e69af042137d892c9289960f75a10e35bf3a304c1ba9023f1a18d0b82257449febeb5b41c06e7482a02b3
+DIST sphinx_rtd_theme-3.0.2.tar.gz 7620463 BLAKE2B
abaf32689ae96cf0f297bd23381f8a1f4b519f65129b1b91a18c41a629a8df975bbaba290f7b0983410601de91e93608349333b8fdd3e72704a9501442e9c16b
SHA512
280a2d80ce00df84cf2484e07da95040b62bd2d6dfc8d90222af1f86842a7a3921fb8f7e0677d03677a1376e879ef6ae43daef4c90076b266001a0f4c25b4848
diff --git a/dev-python/sphinx-rtd-theme/sphinx-rtd-theme-3.0.2.ebuild
b/dev-python/sphinx-rtd-theme/sphinx-rtd-theme-3.0.2.ebuild
new file mode 100644
index 000000000000..4f911ff3041f
--- /dev/null
+++ b/dev-python/sphinx-rtd-theme/sphinx-rtd-theme-3.0.2.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
+}