Diff gtg-0.5 with a gtg-0.6-r1

/usr/portage/app-office/gtg/gtg-0.6-r1.ebuild 2023-10-09 14:52:28.832368334 +0300
1 1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI="7"
4
EAPI=8
5 5
PYTHON_COMPAT=( python3_{9..10} )
6 6
PYTHON_REQ_USE="xml(+)"
7 7

  
......
13 13

  
14 14
LICENSE="GPL-3+"
15 15
SLOT="0"
16
KEYWORDS="~amd64 ~x86"
16
KEYWORDS="~amd64 ~arm64 ~x86"
17 17
IUSE="test"
18 18
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
19 19
RESTRICT="!test? ( test )"
......
21 21
RDEPEND="
22 22
	${PYTHON_DEPS}
23 23
	$(python_gen_cond_dep '
24
		dev-python/caldav[${PYTHON_USEDEP}]
24 25
		dev-python/dbus-python[${PYTHON_USEDEP}]
25
		dev-python/pygobject:3[${PYTHON_USEDEP}]
26 26
		>=dev-python/liblarch-3.1.0[${PYTHON_USEDEP}]
27
		dev-python/pycairo[${PYTHON_USEDEP}]
28 27
		dev-python/lxml[${PYTHON_USEDEP}]
28
		dev-python/python-dateutil[${PYTHON_USEDEP}]
29
		dev-python/pygobject:3[${PYTHON_USEDEP}]
30
		dev-python/pycairo[${PYTHON_USEDEP}]
31
		dev-python/vobject[${PYTHON_USEDEP}]
29 32
	')
30 33
	x11-libs/pango[introspection]
31 34
	x11-libs/gdk-pixbuf[introspection]
32 35
	x11-libs/gtk+:3[introspection]
36
	x11-libs/gtksourceview:4[introspection]
33 37
"
34 38
DEPEND="${RDEPEND}"
35 39
BDEPEND="
36 40
	dev-util/itstool
37 41
	>=sys-devel/gettext-0.19.8
38 42
	test? ( $(python_gen_cond_dep '
39
			dev-python/nose[${PYTHON_USEDEP}]
40 43
			dev-python/cheetah3[${PYTHON_USEDEP}]
41 44
			dev-python/mock[${PYTHON_USEDEP}]
45
			dev-python/pytest[${PYTHON_USEDEP}]
42 46
		')
43 47
		|| ( app-text/pdfjam >=app-text/texlive-core-2021 )
44 48
		app-text/pdftk
......
46 50
	)
47 51
"
48 52

  
49
PATCHES=(
50
	# Fixes tests, and mouse cursor with some themes
51
	"${FILESDIR}"/${PV}-mouse-cursor-fixes{1,2,3}.patch
52
	"${FILESDIR}"/0.5-Revert-meson-plugin-translation-apply-thing.patch
53
)
53
src_test() {
54
	sed -e "s|@VCS_TAG@|${PV}|" GTG/core/info.py.in > GTG/core/info.py || die
55
	epytest
56
}
54 57

  
55 58
src_install() {
56 59
	meson_src_install
57 60
	python_fix_shebang "${ED}"/usr/bin/gtg
58 61
	python_optimize
59 62
}
60

  
61
src_test() {
62
	sed -e "s|@VCS_TAG@|${PV}|" GTG/core/info.py.in > GTG/core/info.py || die
63
	nosetests -v || die
64
}
Thank you!