net-misc/nyx: update to support live ebuild
authorJeffrey Lin <jeffrey@icurse.nl>
Tue, 2 Oct 2018 16:22:52 +0000 (12:22 -0400)
committerAnthony G. Basile <blueness@gentoo.org>
Sat, 6 Oct 2018 16:17:03 +0000 (12:17 -0400)
Signed-off-by: Jeffrey Lin <jeffrey@icurse.nl>
Package-Manager: Portage-2.3.49, Repoman-2.3.11
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
net-misc/nyx/nyx-2.0.4.ebuild

index 93d2f04eb224f5a8b9690b8140c4625e0631b2e2..a27cb04c7b152f3392a4a19f90c355c387ba3c56 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -8,11 +8,16 @@ inherit vcs-snapshot distutils-r1
 
 DESCRIPTION="Utility to monitor real time Tor status information"
 HOMEPAGE="https://nyx.torproject.org"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+if [[ ${PV} == *9999* ]]; then
+       EGIT_REPO_URI="https://git.torproject.org/nyx.git"
+       inherit git-r3
+else
+       SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+       KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd"
+fi
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd"
 IUSE="test"
 
 DEPEND="