commit: f37ad749ed634b8b707b715dcaa35e48ce3368ec
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 12 04:39:38 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 12 04:43:54 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f37ad749
dev-python/sphinx_rtd_theme: Bump to 1.2.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/sphinx_rtd_theme/Manifest | 1 +
.../sphinx_rtd_theme/sphinx_rtd_theme-1.2.0.ebuild | 45 ++++++++++++++++++++++
2 files changed, 46 insertions(+)
diff --git a/dev-python/sphinx_rtd_theme/Manifest
b/dev-python/sphinx_rtd_theme/Manifest
index ec95e9b569cb..eb9bcc6d300f 100644
--- a/dev-python/sphinx_rtd_theme/Manifest
+++ b/dev-python/sphinx_rtd_theme/Manifest
@@ -1 +1,2 @@
DIST sphinx_rtd_theme-1.1.1.tar.gz 2783043 BLAKE2B
c132cc4bba5459ca29740222cc917aac0fa5afb26748b1bd3d457ed0a02e63cd973deecd9a3d509187f54ae85798cb63fdfaa293615eae278228753808fd8c50
SHA512
c3e6e3a9d25b9c48a9830e696ca5c8f0c185a0328c76032cbe6dcfb93cda7ad9a724ec4e0e2a99079db28f35aa61ef2f569b87ce98a01c47a9701a6070bc395e
+DIST sphinx_rtd_theme-1.2.0.tar.gz 2784826 BLAKE2B
62d0af56a29d66831447009991a5e0fb0a483ca91ac2ef7e7ce0b19510281308b49219efd0c6e1bd8fc95c2acae233133ce2f89b7507c2b20f0f322e59ab06e0
SHA512
dd407c648c5512a79e31a106825c6f9ec4696b14d950830ab36faf912ea804b48b3a5d09c6a144e9cead773e4c057cbc809d7582deea1b253ce71b756f7f6b10
diff --git a/dev-python/sphinx_rtd_theme/sphinx_rtd_theme-1.2.0.ebuild
b/dev-python/sphinx_rtd_theme/sphinx_rtd_theme-1.2.0.ebuild
new file mode 100644
index 000000000000..7cb652ceb355
--- /dev/null
+++ b/dev-python/sphinx_rtd_theme/sphinx_rtd_theme-1.2.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="ReadTheDocs.org theme for Sphinx"
+HOMEPAGE="
+ https://github.com/readthedocs/sphinx_rtd_theme/
+ https://pypi.org/project/sphinx-rtd-theme/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ dev-python/docutils[${PYTHON_USEDEP}]
+ <dev-python/sphinx-7[${PYTHON_USEDEP}]
+ >=dev-python/sphinx-1.6[${PYTHON_USEDEP}]
+ >=dev-python/sphinxcontrib-jquery-2.0.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/readthedocs-sphinx-ext[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ # unpin docutils
+ sed -i -e '/docutils/s:<0[.]19::' setup.cfg || die
+ sed -i -e '/jquery/s:,!=3[.]0[.]0::' setup.cfg || die
+ distutils-r1_src_prepare
+
+ # CI=1 disables rebuilding webpack that requires npm use
+ # yes, that surely makes sense
+ export CI=1
+}