Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/repo-commit/
Date: Sat, 29 Aug 2020 16:32:33
Message-Id: 1598718682.899d76309f2c9041cf32763284ff70630f9455ab.soap@gentoo
1 commit: 899d76309f2c9041cf32763284ff70630f9455ab
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 29 16:31:22 2020 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 29 16:31:22 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=899d7630
7
8 app-portage/repo-commit: Port to EAPI 7
9
10 Package-Manager: Portage-3.0.4, Repoman-3.0.1
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 .../repo-commit/repo-commit-0.4.1-r1.ebuild | 24 +++++++++++++++-------
14 1 file changed, 17 insertions(+), 7 deletions(-)
15
16 diff --git a/app-portage/repo-commit/repo-commit-0.4.1-r1.ebuild b/app-portage/repo-commit/repo-commit-0.4.1-r1.ebuild
17 index 978b47e224c..5e2bdee57fc 100644
18 --- a/app-portage/repo-commit/repo-commit-0.4.1-r1.ebuild
19 +++ b/app-portage/repo-commit/repo-commit-0.4.1-r1.ebuild
20 @@ -1,17 +1,27 @@
21 -# Copyright 1999-2018 Gentoo Foundation
22 +# Copyright 1999-2020 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI=4
26 +EAPI=7
27
28 -inherit autotools-utils
29 +inherit out-of-source
30 +
31 +if [[ ${PV} == *9999 ]]; then
32 + EGIT_REPO_URI="https://bitbucket.org/gentoo/${PN}.git"
33 + inherit autotools git-r3
34 +else
35 + SRC_URI="https://www.bitbucket.org/gentoo/${PN}/downloads/${P}.tar.bz2"
36 + KEYWORDS="~amd64 ~x86"
37 +fi
38
39 DESCRIPTION="A repository commit helper"
40 HOMEPAGE="https://bitbucket.org/gentoo/repo-commit/"
41 -SRC_URI="https://www.bitbucket.org/gentoo/${PN}/downloads/${P}.tar.bz2"
42
43 LICENSE="BSD"
44 SLOT="0"
45 -KEYWORDS="~amd64 ~x86"
46 -IUSE=""
47
48 -RDEPEND=">=sys-apps/portage-2.2.0_alpha86"
49 +RDEPEND="sys-apps/portage"
50 +
51 +src_prepare() {
52 + default
53 + [[ ${PV} == *9999 ]] && eautoreconf
54 +}