Diff git-extras-6.5.0 with a git-extras-7.0.0

/usr/portage/dev-vcs/git-extras/git-extras-7.0.0.ebuild 2023-10-09 14:52:31.016368389 +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
5 5

  
6
inherit bash-completion-r1
7

  
6 8
DESCRIPTION="Git utilities -- repo summary, repl, changelog population, and many more"
7 9
HOMEPAGE="https://github.com/tj/git-extras"
8 10
SRC_URI="https://github.com/tj/git-extras/archive/${PV}.tar.gz -> ${P}.tar.gz"
9 11

  
10 12
LICENSE="MIT"
11 13
SLOT="0"
12
KEYWORDS="~amd64 ~x64-macos"
14
KEYWORDS="~amd64 ~arm64 ~x64-macos"
13 15

  
14 16
RDEPEND="
15
	app-shells/bash
17
	>=app-shells/bash-4.0:*
16 18
	dev-vcs/git
17 19
"
18 20

  
19
PATCHES=(
20
	"${FILESDIR}"/${PN}-6.5.0-no-bash-completion-install.patch
21
)
22

  
23 21
src_prepare() {
24 22
	default
25 23

  
26 24
	# For now, don't force including the git completion
27
	# sed -i -e "1 i source $(get_bashcompdir)\/git" etc/bash_completion.sh || die
25
	sed -i -e "1 i source $(get_bashcompdir)\/git" etc/bash_completion.sh || die
28 26
}
29 27

  
30 28
src_compile() {
......
36 34
		DESTDIR="${D}" \
37 35
		PREFIX="${EPREFIX}/usr" \
38 36
		SYSCONFDIR="${EPREFIX}/etc" \
37
		COMPL_DIR="${D}/$(get_bashcompdir)" \
39 38
		install
40 39

  
41 40
	# TODO: Unfortunately, none of the completion seems to
Thank you!