Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-doc/mathjax-docs/
Date: Sun, 30 Jan 2022 12:46:09
Message-Id: 1643546543.6cbf0583ce7af6d17972c76b9e377e1c608a86d6.chewi@gentoo
1 commit: 6cbf0583ce7af6d17972c76b9e377e1c608a86d6
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 30 12:42:23 2022 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 30 12:42:23 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cbf0583
7
8 app-doc/mathjax-docs: Use the python-any-r1 eclass
9
10 Closes: https://bugs.gentoo.org/831802
11 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
12
13 app-doc/mathjax-docs/mathjax-docs-2.7.7.ebuild | 11 +++++++----
14 1 file changed, 7 insertions(+), 4 deletions(-)
15
16 diff --git a/app-doc/mathjax-docs/mathjax-docs-2.7.7.ebuild b/app-doc/mathjax-docs/mathjax-docs-2.7.7.ebuild
17 index 27fcd974bf7b..d95a45b56f11 100644
18 --- a/app-doc/mathjax-docs/mathjax-docs-2.7.7.ebuild
19 +++ b/app-doc/mathjax-docs/mathjax-docs-2.7.7.ebuild
20 @@ -1,9 +1,10 @@
21 -# Copyright 1999-2021 Gentoo Authors
22 +# Copyright 1999-2022 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 EAPI=7
26
27 -inherit python-utils-r1 vcs-clean
28 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
29 +inherit python-any-r1 python-utils-r1 vcs-clean
30
31 COMMIT="9d711f40638202b02f2154d7f05ea35088ff9388"
32
33 @@ -17,8 +18,10 @@ SLOT="0"
34 KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
35
36 BDEPEND="
37 - dev-python/sphinx
38 - dev-python/sphinx_rtd_theme
39 + $(python_gen_any_dep '
40 + dev-python/sphinx[${PYTHON_USEDEP}]
41 + dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
42 + ')
43 "
44
45 src_prepare() {