Diff retext-8.0.0 with a retext-8.0.1
/usr/portage/app-editors/retext/retext-8.0.1.ebuild 2023-10-09 14:52:28.284368320 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
# Please don't add pypy support before testing if it's actually supported. The |
|
7 |
# old compat matrix is no longer accessible as of 2021-02-13 but stated back |
|
8 |
# in 2020-07-05 that PyQt5 was explicitly not supported. |
|
6 |
DISTUTILS_USE_PEP517="setuptools" |
|
9 | 7 |
PYTHON_COMPAT=( python3_{9..11} ) |
10 | 8 |
PYPI_NO_NORMALIZE=1 |
11 | 9 |
PYPI_PN="ReText" |
12 | 10 | |
13 |
inherit distutils-r1 optfeature qmake-utils virtualx xdg |
|
11 |
inherit desktop distutils-r1 optfeature qmake-utils virtualx xdg |
|
14 | 12 | |
15 | 13 |
DESCRIPTION="Simple editor for Markdown and reStructuredText" |
16 | 14 |
HOMEPAGE="https://github.com/retext-project/retext https://github.com/retext-project/retext/wiki" |
... | ... | |
20 | 18 |
EGIT_REPO_URI="https://github.com/retext-project/retext.git" |
21 | 19 |
else |
22 | 20 |
inherit pypi |
23 |
KEYWORDS="~amd64" |
|
21 |
KEYWORDS="amd64" |
|
24 | 22 |
fi |
25 | 23 | |
26 | 24 |
LICENSE="GPL-2+" |
... | ... | |
49 | 47 |
export PATH="$(qt5_get_bindir):${PATH}" |
50 | 48 |
} |
51 | 49 | |
50 |
python_install() { |
|
51 |
distutils-r1_python_install |
|
52 | ||
53 |
newicon data/retext-kde5.png retext.png |
|
54 |
make_desktop_entry ${PN} "ReText" ${PN} "Office;WordProcessor" |
|
55 |
} |
|
56 | ||
52 | 57 |
src_test() { |
53 | 58 |
virtx distutils-r1_src_test |
54 | 59 |
} |
... | ... | |
61 | 66 |
xdg_pkg_postinst |
62 | 67 | |
63 | 68 |
optfeature "dictionary support" dev-python/pyenchant |
64 |
# See https://bugs.gentoo.org/772197. |
|
65 |
optfeature "rendering with webengine" dev-python/PyQt6-WebEngine |
|
66 | 69 | |
67 | 70 |
einfo "Starting with retext-7.0.4 the markdown-math plugin is installed." |
68 | 71 |
einfo "Note that you can use different math delimiters, e.g. \(...\) for inline math." |
69 | 72 |
einfo "For more details take a look at:" |
70 | 73 |
einfo "https://github.com/mitya57/python-markdown-math#math-delimiters" |
71 | 74 |
} |
75 | ||
76 |
pkg_postrm() { |
|
77 |
xdg_icon_cache_update |
|
78 |
} |