commit: 3fdf5be75f3184aeef18273e70f553f7d390d6cc Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Sat May 6 14:17:24 2023 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Sat May 6 14:18:55 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fdf5be7
app-doc/mathjax-docs: EAPI=8, enable py3.10 - add missing python_check_deps funciton - fix usage of old sphinx function - bump EAPI (file contents doesn't change at all) - enable py3.11 Closes: https://bugs.gentoo.org/720136 Closes: https://bugs.gentoo.org/832425 Closes: https://bugs.gentoo.org/829061 Closes: https://bugs.gentoo.org/889408 Closes: https://bugs.gentoo.org/896522 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> app-doc/mathjax-docs/mathjax-docs-2.7.7.ebuild | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 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 09c46593386f..0ae6c89946c7 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,9 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{9..10} pypy3 ) +PYTHON_COMPAT=( python3_{10..11} pypy3 ) inherit python-any-r1 vcs-clean COMMIT="9d711f40638202b02f2154d7f05ea35088ff9388" @@ -24,13 +24,17 @@ BDEPEND=" ') " -DOCS=( - README.md -) +python_check_deps() { + python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]" && + python_has_version "dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]" +} + +DOCS=( README.md ) src_prepare() { default egit_clean + sed -e 's/add_stylesheet/add_css_file/' -i conf.py || die } src_compile() {
