Diff retext-7.2.3 with a retext-8.0.0

/usr/portage/app-editors/retext/retext-8.0.0.ebuild 2023-10-09 14:52:28.284368320 +0300
6 6
# Please don't add pypy support before testing if it's actually supported. The
7 7
# old compat matrix is no longer accessible as of 2021-02-13 but stated back
8 8
# in 2020-07-05 that PyQt5 was explicitly not supported.
9
PYTHON_COMPAT=( python3_{9,10} )
9
PYTHON_COMPAT=( python3_{9..11} )
10 10
PYPI_NO_NORMALIZE=1
11 11
PYPI_PN="ReText"
12 12

  
13 13
inherit distutils-r1 optfeature qmake-utils virtualx xdg
14 14

  
15
MY_PN="ReText"
16
MY_P="${MY_PN}-${PV/_/~}"
17

  
18 15
DESCRIPTION="Simple editor for Markdown and reStructuredText"
19 16
HOMEPAGE="https://github.com/retext-project/retext https://github.com/retext-project/retext/wiki"
20 17

  
......
23 20
	EGIT_REPO_URI="https://github.com/retext-project/retext.git"
24 21
else
25 22
	inherit pypi
26
	KEYWORDS="amd64 ~riscv ~x86"
23
	KEYWORDS="~amd64"
27 24
fi
28 25

  
29 26
LICENSE="GPL-2+"
......
37 34
	>=dev-python/markups-3.1.1[${PYTHON_USEDEP}]
38 35
	dev-python/pygments[${PYTHON_USEDEP}]
39 36
	dev-python/python-markdown-math[${PYTHON_USEDEP}]
40
	dev-python/PyQt5[dbus,gui,printsupport,widgets,${PYTHON_USEDEP}]
37
	dev-python/PyQt6[dbus,gui,printsupport,widgets,${PYTHON_USEDEP}]
41 38
"
42 39
DEPEND="${RDEPEND}"
43 40
BDEPEND="
44 41
	dev-qt/linguist-tools
45
	test? ( dev-python/PyQt5[testlib,${PYTHON_USEDEP}] )
42
	test? ( dev-python/PyQt6[testlib,${PYTHON_USEDEP}] )
46 43
"
47 44

  
48 45
distutils_enable_tests unittest
......
57 54
}
58 55

  
59 56
python_test() {
60
	eunittest || die
57
	virtx eunittest
61 58
}
62 59

  
63 60
pkg_postinst() {
......
65 62

  
66 63
	optfeature "dictionary support" dev-python/pyenchant
67 64
	# See https://bugs.gentoo.org/772197.
68
	optfeature "rendering with webengine" dev-python/PyQtWebEngine
65
	optfeature "rendering with webengine" dev-python/PyQt6-WebEngine
69 66

  
70 67
	einfo "Starting with retext-7.0.4 the markdown-math plugin is installed."
71 68
	einfo "Note that you can use different math delimiters, e.g. \(...\) for inline math."
Thank you!