Diff git-modes-1.4.1 with a git-modes-9999

/usr/portage/app-emacs/git-modes/git-modes-9999.ebuild 2023-10-09 14:52:28.692368330 +0300
7 7

  
8 8
DESCRIPTION="Emacs major modes for editing Git configuration files"
9 9
HOMEPAGE="https://github.com/magit/git-modes/"
10
SRC_URI="https://github.com/magit/${PN}/archive/${PV}.tar.gz
11
	-> ${P}.tar.gz"
10

  
11
if [[ ${PV} == *9999* ]] ; then
12
	inherit git-r3
13
	EGIT_REPO_URI="https://github.com/magit/${PN}.git"
14
else
15
	SRC_URI="https://github.com/magit/${PN}/archive/${PV}.tar.gz
16
		-> ${P}.tar.gz"
17
	KEYWORDS="~amd64 ~x86"
18
fi
12 19

  
13 20
LICENSE="GPL-3+"
14
KEYWORDS="amd64 ~x86"
15 21
SLOT="0"
16 22

  
17 23
RDEPEND=">=app-emacs/compat-29.1.4.1"
Thank you!