Diff backintime-1.3.2-r1 with a backintime-1.3.3-r1

/usr/portage/app-backup/backintime/backintime-1.3.3-r1.ebuild 2023-10-09 14:52:28.196368317 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
PYTHON_COMPAT=( python3_{9..10} )
6
PYTHON_COMPAT=( python3_{10..11} )
7 7
inherit python-single-r1 xdg
8 8

  
9 9
DESCRIPTION="Backup system inspired by TimeVault and FlyBack"
10 10
HOMEPAGE="https://backintime.readthedocs.io/en/latest/ https://github.com/bit-team/backintime/"
11
SRC_URI="https://github.com/bit-team/${PN}/releases/download/v${PV}/${P}.tar.gz"
11

  
12
if [[ ${PV} == 9999 ]] ; then
13
	EGIT_REPO_URI="https://github.com/bit-team/backintime/"
14
	inherit git-r3
15
else
16
	SRC_URI="https://github.com/bit-team/${PN}/releases/download/v${PV}/${P}.tar.gz"
17
	KEYWORDS="amd64 x86"
18
fi
12 19

  
13 20
LICENSE="GPL-2"
14 21
SLOT="0"
15
KEYWORDS="amd64 x86"
16
IUSE="examples qt5"
22
IUSE="examples qt5 test"
23
RESTRICT="!test? ( test )"
17 24

  
18 25
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
19 26

  
20
DEPEND="${PYTHON_DEPS}
27
DEPEND="
28
	${PYTHON_DEPS}
21 29
	$(python_gen_cond_dep '
22 30
		dev-python/dbus-python[${PYTHON_USEDEP}]
23 31
		dev-python/keyring[${PYTHON_USEDEP}]
24
	')"
25
RDEPEND="${DEPEND}
32
	')
33
"
34
RDEPEND="
35
	${DEPEND}
26 36
	virtual/openssh
27 37
	net-misc/rsync[xattr,acl]
28
	qt5? ( dev-python/PyQt5[gui,widgets] )"
29
BDEPEND="sys-devel/gettext"
38
	qt5? ( dev-python/PyQt5[gui,widgets] )
39
"
40
BDEPEND="
41
	sys-devel/gettext
42
	test? (
43
		$(python_gen_cond_dep '
44
			dev-python/pyfakefs[${PYTHON_USEDEP}]
45
		')
46
	)
47
"
30 48

  
31 49
PATCHES=( "${FILESDIR}/${PN}-1.2.1-no-compress-docs-examples.patch" )
32 50

  
51
src_prepare() {
52
	default
53

  
54
	# Looks at host system too much, so too flaky
55
	rm common/test/test_tools.py || die
56
	# Fails with dbus/udev issue (likely sandbox)
57
	rm common/test/test_snapshots.py || die
58
}
59

  
33 60
src_configure() {
34 61
	pushd common > /dev/null || die
35 62
	# Not autotools
......
44 71
}
45 72

  
46 73
src_compile() {
47
	pushd common > /dev/null || die
48
	emake
49
	popd > /dev/null || die
74
	emake -C common
50 75

  
51 76
	if use qt5 ; then
52
		pushd qt > /dev/null || die
53
		emake
54
		popd > /dev/null || die
77
		emake -C qt
55 78
	fi
56 79
}
57 80

  
81
src_test() {
82
	# pytest should work but it can't find the backintime binary, so
83
	# use the unittest-based runner instead.
84
	# https://github.com/bit-team/backintime/blob/dev/CONTRIBUTING.md#how-to-contribute-to-back-in-time
85
	emake -C common test-v
86
}
87

  
58 88
src_install() {
59
	pushd common > /dev/null || die
60
	emake DESTDIR="${D}" install
61
	popd > /dev/null || die
89
	emake -C common DESTDIR="${D}" install
62 90

  
63 91
	if use qt5 ; then
64
		pushd qt > /dev/null || die
65
		emake DESTDIR="${D}" install
66
		popd > /dev/null || die
92
		emake -C qt DESTDIR="${D}" install
67 93
	fi
68 94

  
69 95
	einstalldocs
Thank you!