Сравнение mathjax-docs-2.7.7 с mathjax-docs-3.2.2
/usr/portage/app-doc/mathjax-docs/mathjax-docs-3.2.2.ebuild 2023-10-09 14:52:28.268368319 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
PYTHON_COMPAT=( python3_{10..11} pypy3 ) |
|
6 |
PYTHON_COMPAT=( python3_{10..12} pypy3 ) |
|
7 | 7 |
inherit python-any-r1 vcs-clean |
8 | 8 | |
9 |
COMMIT="9d711f40638202b02f2154d7f05ea35088ff9388" |
|
9 |
# MathJax-docs doesn't have releases, so this is the commit that was |
|
10 |
# current when mathjax-${PV} was released. |
|
11 |
COMMIT="c4a733d6d0ced4242a4df1c46137d4be6b3aaaee" |
|
10 | 12 | |
11 | 13 |
DESCRIPTION="MathJax documentation" |
12 |
HOMEPAGE="https://www.mathjax.org/" |
|
14 |
HOMEPAGE="https://docs.mathjax.org/" |
|
13 | 15 |
SRC_URI="https://github.com/mathjax/MathJax-docs/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
14 | 16 |
S="${WORKDIR}/MathJax-docs-${COMMIT}" |
15 | 17 | |
... | ... | |
24 | 26 |
') |
25 | 27 |
" |
26 | 28 | |
27 |
python_check_deps() { |
|
28 |
python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]" && |
|
29 |
python_has_version "dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]" |
|
30 |
} |
|
31 | ||
32 |
DOCS=( README.md ) |
|
29 |
DOCS=( |
|
30 |
README.md |
|
31 |
) |
|
33 | 32 | |
34 | 33 |
src_prepare() { |
35 | 34 |
default |
36 | 35 |
egit_clean |
37 |
sed -e 's/add_stylesheet/add_css_file/' -i conf.py || die |
|
38 | 36 |
} |
39 | 37 | |
40 | 38 |
src_compile() { |