Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/elicense/
Date: Mon, 06 Jun 2022 13:35:38
Message-Id: 1654522492.5ab00d5bd484168cf51d6ad0524260456ba9f867.ulm@gentoo
1 commit: 5ab00d5bd484168cf51d6ad0524260456ba9f867
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 6 13:33:10 2022 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 6 13:34:52 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ab00d5b
7
8 app-portage/elicense: Drop live version
9
10 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
11
12 app-portage/elicense/elicense-9999.ebuild | 36 -------------------------------
13 1 file changed, 36 deletions(-)
14
15 diff --git a/app-portage/elicense/elicense-9999.ebuild b/app-portage/elicense/elicense-9999.ebuild
16 deleted file mode 100644
17 index 6028d25eb4ee..000000000000
18 --- a/app-portage/elicense/elicense-9999.ebuild
19 +++ /dev/null
20 @@ -1,36 +0,0 @@
21 -# Copyright 1999-2022 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI="7"
25 -PYTHON_COMPAT=( pypy3 python3_{8..10} )
26 -inherit distutils-r1
27 -
28 -if [[ ${PV} == "9999" ]]; then
29 - EGIT_REPO_URI="https://github.com/Whissi/elicense.git"
30 - inherit git-r3
31 -else
32 - SRC_URI="https://github.com/Whissi/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
33 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
34 -fi
35 -
36 -DESCRIPTION="Tool to find installed packages in Gentoo with non-accepted license(s)"
37 -HOMEPAGE="https://github.com/Whissi/elicense"
38 -
39 -LICENSE="GPL-2"
40 -SLOT="0"
41 -IUSE=""
42 -
43 -RDEPEND=">=sys-apps/portage-2.3.62[${PYTHON_USEDEP}]"
44 -
45 -src_prepare() {
46 - default
47 -
48 - local MY_PV=${PV}
49 - if [[ ${PV} == "9999" ]]; then
50 - local last_commit=$(git rev-parse HEAD)
51 - MY_PV="${last_commit:0:7}-git"
52 - fi
53 -
54 - sed -i -e "s/^MY_PV =.*$/MY_PV = \"${MY_PV}\"/" \
55 - elicense || die "Failed to sed in version."
56 -}