commit:     7b101f66b04264b4d5eac8b06d994deef2fd0df2
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 10 04:31:30 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Oct 10 05:03:21 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b101f66

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

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.1.ebuild | 42 ++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/dev-python/sphinx-rtd-theme/Manifest 
b/dev-python/sphinx-rtd-theme/Manifest
index 57871a1dd7b2..72ad04284afc 100644
--- a/dev-python/sphinx-rtd-theme/Manifest
+++ b/dev-python/sphinx-rtd-theme/Manifest
@@ -1,2 +1,3 @@
 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
+DIST sphinx_rtd_theme-3.0.1.tar.gz 7620352 BLAKE2B 
80f8ee14364dde84423ea1fff2a33216d72e878b911d9c28e6fdb2a032fa7b17161fa0e4f6b1e7b9db6b3ac015949fb357cfb546b1f3fc38eacc88c81f4e084e
 SHA512 
38fddf75ec2ee9622427fa88b868241f0da05214783e69af042137d892c9289960f75a10e35bf3a304c1ba9023f1a18d0b82257449febeb5b41c06e7482a02b3

diff --git a/dev-python/sphinx-rtd-theme/sphinx-rtd-theme-3.0.1.ebuild 
b/dev-python/sphinx-rtd-theme/sphinx-rtd-theme-3.0.1.ebuild
new file mode 100644
index 000000000000..4f911ff3041f
--- /dev/null
+++ b/dev-python/sphinx-rtd-theme/sphinx-rtd-theme-3.0.1.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