1 |
commit: b6835a82d43b90b34d08996c4c456c39b6100391 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 2 06:51:50 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 2 07:37:22 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6835a82 |
7 |
|
8 |
dev-python/sphinx_rtd_theme: Bump to 1.1.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/sphinx_rtd_theme/Manifest | 1 + |
13 |
.../sphinx_rtd_theme/sphinx_rtd_theme-1.1.0.ebuild | 43 ++++++++++++++++++++++ |
14 |
2 files changed, 44 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/sphinx_rtd_theme/Manifest b/dev-python/sphinx_rtd_theme/Manifest |
17 |
index 36c2ba7770a6..e8f13b0582d9 100644 |
18 |
--- a/dev-python/sphinx_rtd_theme/Manifest |
19 |
+++ b/dev-python/sphinx_rtd_theme/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST sphinx_rtd_theme-1.0.0.tar.gz 2780623 BLAKE2B 02e72ddade0632423d21e512ab86fbdcc9f18eddbef328ba766f1b06a49c838808af4ee000e57c8f0f40112569b35c1b62c9c0c8853c237fd2ddb6de76d48a21 SHA512 06025445e1358c994bf0c15a382ec8f8f3f2114dfac19f340585a3660d91a279100c2d16ef665d9eb8d38b0e4ed264e96d3ac6814dd01b9430d2f8a0d8275178 |
22 |
+DIST sphinx_rtd_theme-1.1.0.tar.gz 2782178 BLAKE2B d121a9eb2514c5f23260bdb97e360d7a611b895a35155592671fab557995904d6ba2db8fdc83cec390acbf800442289138995f680655cc7a1d9ff9edfcaf557c SHA512 49a87d97a0d4edd8e5e1244fb02dcf37d06e4d64a97b939678ba006b1159b06f173d18a7f5b5eaefade8818a5bee1bb9455131bfd0ec54d42063295595d45b14 |
23 |
|
24 |
diff --git a/dev-python/sphinx_rtd_theme/sphinx_rtd_theme-1.1.0.ebuild b/dev-python/sphinx_rtd_theme/sphinx_rtd_theme-1.1.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..849354151794 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/sphinx_rtd_theme/sphinx_rtd_theme-1.1.0.ebuild |
29 |
@@ -0,0 +1,43 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{8..11} pypy3 ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="ReadTheDocs.org theme for Sphinx" |
41 |
+HOMEPAGE=" |
42 |
+ https://github.com/readthedocs/sphinx_rtd_theme/ |
43 |
+ https://pypi.org/project/sphinx-rtd-theme/ |
44 |
+" |
45 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="MIT" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" |
50 |
+IUSE="" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ dev-python/docutils[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/sphinx-1.6[${PYTHON_USEDEP}] |
55 |
+" |
56 |
+BDEPEND=" |
57 |
+ test? ( |
58 |
+ dev-python/readthedocs-sphinx-ext[${PYTHON_USEDEP}] |
59 |
+ ) |
60 |
+" |
61 |
+ |
62 |
+distutils_enable_tests pytest |
63 |
+ |
64 |
+src_prepare() { |
65 |
+ # unpin docutils |
66 |
+ sed -i -e '/docutils/s:<0.18::' setup.cfg || die |
67 |
+ distutils-r1_src_prepare |
68 |
+ |
69 |
+ # CI=1 disables rebuilding webpack that requires npm use |
70 |
+ # yes, that surely makes sense |
71 |
+ export CI=1 |
72 |
+} |