Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/nyx/
Date: Sat, 06 Oct 2018 16:19:45
Message-Id: 1538842623.f648bd99ae98b99466c94e20436b73672c642e5e.blueness@gentoo
1 commit: f648bd99ae98b99466c94e20436b73672c642e5e
2 Author: Jeffrey Lin <jeffrey <AT> icurse <DOT> nl>
3 AuthorDate: Tue Oct 2 16:22:52 2018 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 6 16:17:03 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f648bd99
7
8 net-misc/nyx: update to support live ebuild
9
10 Signed-off-by: Jeffrey Lin <jeffrey <AT> icurse.nl>
11 Package-Manager: Portage-2.3.49, Repoman-2.3.11
12 Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>
13
14 net-misc/nyx/nyx-2.0.4.ebuild | 11 ++++++++---
15 1 file changed, 8 insertions(+), 3 deletions(-)
16
17 diff --git a/net-misc/nyx/nyx-2.0.4.ebuild b/net-misc/nyx/nyx-2.0.4.ebuild
18 index 93d2f04eb22..a27cb04c7b1 100644
19 --- a/net-misc/nyx/nyx-2.0.4.ebuild
20 +++ b/net-misc/nyx/nyx-2.0.4.ebuild
21 @@ -1,4 +1,4 @@
22 -# Copyright 1999-2017 Gentoo Foundation
23 +# Copyright 1999-2018 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 EAPI=6
27 @@ -8,11 +8,16 @@ inherit vcs-snapshot distutils-r1
28
29 DESCRIPTION="Utility to monitor real time Tor status information"
30 HOMEPAGE="https://nyx.torproject.org"
31 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
32 +if [[ ${PV} == *9999* ]]; then
33 + EGIT_REPO_URI="https://git.torproject.org/nyx.git"
34 + inherit git-r3
35 +else
36 + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
37 + KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd"
38 +fi
39
40 LICENSE="GPL-3"
41 SLOT="0"
42 -KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd"
43 IUSE="test"
44
45 DEPEND="