From f648bd99ae98b99466c94e20436b73672c642e5e Mon Sep 17 00:00:00 2001 From: Jeffrey Lin Date: Tue, 2 Oct 2018 12:22:52 -0400 Subject: net-misc/nyx: update to support live ebuild Signed-off-by: Jeffrey Lin Package-Manager: Portage-2.3.49, Repoman-2.3.11 Signed-off-by: Anthony G. Basile --- net-misc/nyx/nyx-2.0.4.ebuild | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'net-misc') diff --git a/net-misc/nyx/nyx-2.0.4.ebuild b/net-misc/nyx/nyx-2.0.4.ebuild index 93d2f04eb224..a27cb04c7b15 100644 --- a/net-misc/nyx/nyx-2.0.4.ebuild +++ b/net-misc/nyx/nyx-2.0.4.ebuild @@ -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=" -- cgit v1.2.3-65-gdbad