From 455cc21abfbef1f0eb76dc8e81532fda7a9d4699 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sat, 2 Jan 2021 11:05:32 +0000 Subject: net-analyzer/mtr: style changes Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sam James --- net-analyzer/mtr/mtr-0.94.ebuild | 16 ++++++++-------- net-analyzer/mtr/mtr-9999.ebuild | 17 ++++++++--------- 2 files changed, 16 insertions(+), 17 deletions(-) diff --git a/net-analyzer/mtr/mtr-0.94.ebuild b/net-analyzer/mtr/mtr-0.94.ebuild index 7f9e0050a0cb..f8246b2632f8 100644 --- a/net-analyzer/mtr/mtr-0.94.ebuild +++ b/net-analyzer/mtr/mtr-0.94.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 + inherit autotools bash-completion-r1 fcaps DESCRIPTION="My TraceRoute, an Excellent network diagnostic tool" @@ -12,6 +13,8 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" IUSE="gtk +ipinfo +ipv6 jansson ncurses" +# This is an inherited RESTRICT - figure out why! +RESTRICT="test" RDEPEND=" gtk? ( @@ -21,18 +24,15 @@ RDEPEND=" jansson? ( dev-libs/jansson ) ncurses? ( sys-libs/ncurses:0= ) " -DEPEND=" - ${RDEPEND} -" -BDEPEND=" - virtual/pkgconfig -" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + DOCS=( AUTHORS FORMATS NEWS README.md SECURITY TODO ) FILECAPS=( cap_net_raw usr/sbin/mtr-packet ) + PATCHES=( "${FILESDIR}"/${PN}-0.88-tinfo.patch ) -RESTRICT="test" src_prepare() { default diff --git a/net-analyzer/mtr/mtr-9999.ebuild b/net-analyzer/mtr/mtr-9999.ebuild index 7067fbb688f5..bf0d00068f92 100644 --- a/net-analyzer/mtr/mtr-9999.ebuild +++ b/net-analyzer/mtr/mtr-9999.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 + inherit autotools bash-completion-r1 fcaps git-r3 DESCRIPTION="My TraceRoute, an Excellent network diagnostic tool" @@ -10,8 +11,9 @@ EGIT_REPO_URI="https://github.com/traviscross/mtr" LICENSE="GPL-2" SLOT="0" -KEYWORDS="" IUSE="gtk +ipinfo +ipv6 jansson ncurses" +# TODO: This is an inherited RESTRICT - figure out why! +RESTRICT="test" RDEPEND=" gtk? ( @@ -21,18 +23,15 @@ RDEPEND=" jansson? ( dev-libs/jansson ) ncurses? ( sys-libs/ncurses:0= ) " -DEPEND=" - ${RDEPEND} -" -BDEPEND=" - virtual/pkgconfig -" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + DOCS=( AUTHORS FORMATS NEWS README.md SECURITY TODO ) FILECAPS=( cap_net_raw usr/sbin/mtr-packet ) + PATCHES=( "${FILESDIR}"/${PN}-0.88-tinfo.patch ) -RESTRICT="test" src_prepare() { default -- cgit v1.2.3-65-gdbad