Diff etckeeper-1.18.18 with a etckeeper-1.18.20

/usr/portage/sys-apps/etckeeper/etckeeper-1.18.20.ebuild 2023-10-09 14:52:35.368368498 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
......
30 30

  
31 31
RESTRICT="!test? ( test )"
32 32

  
33
PATCHES=(
34
	# TODO: submit upstream
35
	"${FILESDIR}"/${PN}-1.18.18-gentoo.patch
36
)
37

  
38 33
src_prepare() {
39 34
	default
40 35
	hprefixify *.d/* etckeeper
......
43 38
	sed -i \
44 39
		-e s'@zsh/vendor-completions@zsh/site-functions@' \
45 40
		-e s"@/lib/systemd/system@"${systemdunitdir}"@" \
41
		-e '/etckeeper-bzr\/__init__\.py/d' \
46 42
		Makefile || die
43

  
44
	# pre-configure for portage.
45
	sed -i \
46
		-e 's/^HIGHLEVEL_PACKAGE_MANAGER=apt/HIGHLEVEL_PACKAGE_MANAGER=emerge/' \
47
		-e 's/^LOWLEVEL_PACKAGE_MANAGER=dpkg/LOWLEVEL_PACKAGE_MANAGER=qlist/' \
48
		etckeeper.conf || die
49

  
47 50
	rm -v init.d/60darcs-deleted-symlinks || die
48 51
}
49 52

  
Thank you!