commit:     dec9315ff9990af78133ee63b2e7c5e8a6c959a3
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  8 04:52:32 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jun  8 05:12:20 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dec9315f

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

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.2.ebuild | 44 ++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/dev-python/sphinx-rtd-theme/Manifest 
b/dev-python/sphinx-rtd-theme/Manifest
index 0c9ac95ae442..97e537a4b87e 100644
--- a/dev-python/sphinx-rtd-theme/Manifest
+++ b/dev-python/sphinx-rtd-theme/Manifest
@@ -1,2 +1,3 @@
 DIST sphinx_rtd_theme-1.2.0.tar.gz 2784826 BLAKE2B 
62d0af56a29d66831447009991a5e0fb0a483ca91ac2ef7e7ce0b19510281308b49219efd0c6e1bd8fc95c2acae233133ce2f89b7507c2b20f0f322e59ab06e0
 SHA512 
dd407c648c5512a79e31a106825c6f9ec4696b14d950830ab36faf912ea804b48b3a5d09c6a144e9cead773e4c057cbc809d7582deea1b253ce71b756f7f6b10
 DIST sphinx_rtd_theme-1.2.1.tar.gz 2784128 BLAKE2B 
c5aed3beb6ade90a27690a8c33c8e18d05f53fb5514987828823f3a8d4bbfecb2212593733ce03323b8e9402730bd8fadce6c5dfc0d425cd4b335f6eef81f948
 SHA512 
0c1e0f0015f9df23f992023e137cc5976e76ad45e46e2f51186cf572289afae5e37d29013e0440a9059808d9b40af850d29393c2d2bc0a3cd845b0fbfa392294
+DIST sphinx_rtd_theme-1.2.2.tar.gz 2784122 BLAKE2B 
af738c99a2406daa0372171a34c78ee14e955fee589ba49811ea50fd2cdeeee431367fde4d6a34d9e4f532d1ed6d079b1cebf4bb390b573fb5fe9cfc8f02b838
 SHA512 
44272272ce14387c1252ec40325ff8f9b40da6e37206333a8e0831cdce76c45efe58cf28f08132188d2799527a40e4ead881e8577776a123921b1cd908dd17fe

diff --git a/dev-python/sphinx-rtd-theme/sphinx-rtd-theme-1.2.2.ebuild 
b/dev-python/sphinx-rtd-theme/sphinx-rtd-theme-1.2.2.ebuild
new file mode 100644
index 000000000000..3eced1b43231
--- /dev/null
+++ b/dev-python/sphinx-rtd-theme/sphinx-rtd-theme-1.2.2.ebuild
@@ -0,0 +1,44 @@
+# 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_{10..12} 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 ~ia64 ~loong ~m68k ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+       dev-python/docutils[${PYTHON_USEDEP}]
+       <dev-python/sphinx-7[${PYTHON_USEDEP}]
+       >=dev-python/sphinx-1.6[${PYTHON_USEDEP}]
+       <dev-python/sphinxcontrib-jquery-5[${PYTHON_USEDEP}]
+       >=dev-python/sphinxcontrib-jquery-4[${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
+       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