Diff powershell-0.3_pre20220402 with a powershell-0.3_pre20220805

/usr/portage/app-emacs/powershell/powershell-0.3_pre20220805.ebuild 2023-10-09 14:52:28.708368330 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
COMMIT=77b27faf8a292f1dc9f54c872241dc53b6791bf1
7

  
8 6
inherit elisp
9 7

  
10 8
DESCRIPTION="GNU Emacs mode for editing and running PowerShell code"
11 9
HOMEPAGE="https://github.com/jschaf/powershell.el/"
12
SRC_URI="https://github.com/jschaf/${PN}.el/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
13
S="${WORKDIR}"/${PN}.el-${COMMIT}
10

  
11
if [[ ${PV} == *9999* ]] ; then
12
	inherit git-r3
13
	EGIT_REPO_URI="https://github.com/jschaf/${PN}.el.git"
14
else
15
	if [[ ${PV} == *_pre20220805 ]] ; then
16
		COMMIT=f2da15857e430206e215a3c65289b4058ae3c976
17
		SRC_URI="https://github.com/jschaf/${PN}.el/archive/${COMMIT}.tar.gz
18
			-> ${P}.tar.gz"
19
		S="${WORKDIR}"/${PN}.el-${COMMIT}
20
	else
21
		SRC_URI="https://github.com/jschaf/${PN}.el/archive/${PV}.tar.gz
22
			-> ${P}.tar.gz"
23
		S="${WORKDIR}"/${PN}.el-${PV}
24
	fi
25
	KEYWORDS="~amd64 ~x86"
26
fi
14 27

  
15 28
LICENSE="GPL-3+"
16 29
SLOT="0"
17
KEYWORDS="~amd64 ~x86"
18 30

  
19 31
DOCS=( README.md )
20 32
SITEFILE="50${PN}-gentoo.el"
Thank you!