summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Lin <jeffrey@icurse.nl>2018-10-02 12:22:52 -0400
committerAnthony G. Basile <blueness@gentoo.org>2018-10-06 12:17:03 -0400
commitf648bd99ae98b99466c94e20436b73672c642e5e (patch)
tree88f22dd41a279e9505ef34636d25611d167db554 /net-misc/nyx
parentmedia-libs/libheif: add support for libjpeg-turbo-2.0 (diff)
downloadgentoo-f648bd99ae98b99466c94e20436b73672c642e5e.tar.gz
gentoo-f648bd99ae98b99466c94e20436b73672c642e5e.tar.bz2
gentoo-f648bd99ae98b99466c94e20436b73672c642e5e.zip
net-misc/nyx: update to support live ebuild
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>
Diffstat (limited to 'net-misc/nyx')
-rw-r--r--net-misc/nyx/nyx-2.0.4.ebuild11
1 files changed, 8 insertions, 3 deletions
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="