Gentoo Archives: gentoo-commits

From: Johannes Huber <johu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/neofetch/
Date: Fri, 22 Jun 2018 16:25:16
Message-Id: 1529684573.c854b55859693cf7c24e176e101b637db61bf683.johu@gentoo
1 commit: c854b55859693cf7c24e176e101b637db61bf683
2 Author: Johannes Huber <johu <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 22 16:10:24 2018 +0000
4 Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 22 16:22:53 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c854b558
7
8 app-misc/neofetch: Release switch
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 app-misc/neofetch/neofetch-4.0.2.ebuild | 10 ++++++++--
13 app-misc/neofetch/neofetch-9999.ebuild | 10 ++++++++--
14 2 files changed, 16 insertions(+), 4 deletions(-)
15
16 diff --git a/app-misc/neofetch/neofetch-4.0.2.ebuild b/app-misc/neofetch/neofetch-4.0.2.ebuild
17 index a25cba92a48..4757864917a 100644
18 --- a/app-misc/neofetch/neofetch-4.0.2.ebuild
19 +++ b/app-misc/neofetch/neofetch-4.0.2.ebuild
20 @@ -3,12 +3,18 @@
21
22 EAPI=7
23
24 +if [[ ${PV} != *9999* ]]; then
25 + SRC_URI="https://github.com/dylanaraps/${PN}/archive/${PV}/${P}.tar.gz"
26 + KEYWORDS="~amd64 ~x86 ~amd64-fbsd"
27 +else
28 + inherit git-r3
29 + EGIT_REPO_URI="https://github.com/dylanaraps/neofetch.git"
30 +fi
31 +
32 DESCRIPTION="Simple information system script"
33 HOMEPAGE="https://github.com/dylanaraps/neofetch"
34 -SRC_URI="https://github.com/dylanaraps/${PN}/archive/${PV}/${P}.tar.gz"
35 LICENSE="MIT-with-advertising"
36 SLOT="0"
37 -KEYWORDS="~amd64 ~x86 ~amd64-fbsd"
38 IUSE="X"
39
40 RDEPEND="sys-apps/pciutils
41
42 diff --git a/app-misc/neofetch/neofetch-9999.ebuild b/app-misc/neofetch/neofetch-9999.ebuild
43 index 82642075d61..4757864917a 100644
44 --- a/app-misc/neofetch/neofetch-9999.ebuild
45 +++ b/app-misc/neofetch/neofetch-9999.ebuild
46 @@ -3,10 +3,16 @@
47
48 EAPI=7
49
50 -inherit git-r3
51 +if [[ ${PV} != *9999* ]]; then
52 + SRC_URI="https://github.com/dylanaraps/${PN}/archive/${PV}/${P}.tar.gz"
53 + KEYWORDS="~amd64 ~x86 ~amd64-fbsd"
54 +else
55 + inherit git-r3
56 + EGIT_REPO_URI="https://github.com/dylanaraps/neofetch.git"
57 +fi
58 +
59 DESCRIPTION="Simple information system script"
60 HOMEPAGE="https://github.com/dylanaraps/neofetch"
61 -EGIT_REPO_URI="https://github.com/dylanaraps/neofetch.git"
62 LICENSE="MIT-with-advertising"
63 SLOT="0"
64 IUSE="X"