commit:     6cbf0583ce7af6d17972c76b9e377e1c608a86d6
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 30 12:42:23 2022 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Jan 30 12:42:23 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cbf0583

app-doc/mathjax-docs: Use the python-any-r1 eclass

Closes: https://bugs.gentoo.org/831802
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 app-doc/mathjax-docs/mathjax-docs-2.7.7.ebuild | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/app-doc/mathjax-docs/mathjax-docs-2.7.7.ebuild 
b/app-doc/mathjax-docs/mathjax-docs-2.7.7.ebuild
index 27fcd974bf7b..d95a45b56f11 100644
--- a/app-doc/mathjax-docs/mathjax-docs-2.7.7.ebuild
+++ b/app-doc/mathjax-docs/mathjax-docs-2.7.7.ebuild
@@ -1,9 +1,10 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit python-utils-r1 vcs-clean
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+inherit python-any-r1 python-utils-r1 vcs-clean
 
 COMMIT="9d711f40638202b02f2154d7f05ea35088ff9388"
 
@@ -17,8 +18,10 @@ SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
 
 BDEPEND="
-       dev-python/sphinx
-       dev-python/sphinx_rtd_theme
+       $(python_gen_any_dep '
+               dev-python/sphinx[${PYTHON_USEDEP}]
+               dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
+       ')
 "
 
 src_prepare() {

Reply via email to