From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EE59E158091 for ; Sat, 11 Jun 2022 05:48:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3A706E085E; Sat, 11 Jun 2022 05:48:15 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1D0A9E085E for ; Sat, 11 Jun 2022 05:48:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D9E95341907 for ; Sat, 11 Jun 2022 05:48:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 86D954FF for ; Sat, 11 Jun 2022 05:48:12 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1654926483.57dc9f52aa59e0f9430aa7a46579190f316ee9e2.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/ethq/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/ethq/ethq-0.6.1-r1.ebuild sys-apps/ethq/ethq-0.6.1.ebuild sys-apps/ethq/ethq-9999.ebuild X-VCS-Directories: sys-apps/ethq/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 57dc9f52aa59e0f9430aa7a46579190f316ee9e2 X-VCS-Branch: master Date: Sat, 11 Jun 2022 05:48:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0a860784-36c5-494f-9b73-833eeac14262 X-Archives-Hash: 3a74486b2d4d90878828a405d4055acb commit: 57dc9f52aa59e0f9430aa7a46579190f316ee9e2 Author: Sam James gentoo org> AuthorDate: Sat Jun 11 05:43:51 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sat Jun 11 05:48:03 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57dc9f52 sys-apps/ethq: don't revbump for Werror fix Bug: https://bugs.gentoo.org/770943 See: https://github.com/gentoo/gentoo/pull/19561 Signed-off-by: Sam James gentoo.org> sys-apps/ethq/ethq-0.6.1-r1.ebuild | 56 -------------------------------------- sys-apps/ethq/ethq-0.6.1.ebuild | 10 +++---- sys-apps/ethq/ethq-9999.ebuild | 4 +-- 3 files changed, 7 insertions(+), 63 deletions(-) diff --git a/sys-apps/ethq/ethq-0.6.1-r1.ebuild b/sys-apps/ethq/ethq-0.6.1-r1.ebuild deleted file mode 100644 index b95aba17d42b..000000000000 --- a/sys-apps/ethq/ethq-0.6.1-r1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_PV=${PV//./_} -MY_P=${PN}-${MY_PV} - -inherit toolchain-funcs - -DESCRIPTION="Ethernet NIC Queue stats viewer" -HOMEPAGE="https://github.com/isc-projects/ethq" -SRC_URI="https://github.com/isc-projects/ethq/archive/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -DEPEND="sys-libs/ncurses:0" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_P}" - -src_prepare() { - default - - # Respect FLAGS, remove Werror - sed -i -e '/CXXFLAGS/s/= -O3/+=/' \ - -e '/CXXFLAGS/s/ -Werror//' \ - -e '/LDFLAGS/s/=/+=/' Makefile || die "sed failed for Makefile" - - if ! use test ; then - sed -i '/TARGETS/s/ethq_test//' Makefile \ - || die "sed failed for USE flag test" - fi -} - -src_compile() { - # override for ncurses[tinfo] - emake CXX="$(tc-getCXX)" LIBS_CURSES="$($(tc-getPKG_CONFIG) --libs ncurses)" -} - -src_test() { - local driver - for driver in tests/* ; do - "${S}"/ethq_test "${driver##*/}" "${driver}" \ - || die "test failed on ${driver}" - done -} - -src_install() { - einstalldocs - dobin ethq -} diff --git a/sys-apps/ethq/ethq-0.6.1.ebuild b/sys-apps/ethq/ethq-0.6.1.ebuild index 6749cb3094e6..172f1ef054f7 100644 --- a/sys-apps/ethq/ethq-0.6.1.ebuild +++ b/sys-apps/ethq/ethq-0.6.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -18,17 +18,17 @@ KEYWORDS="~amd64 ~x86" IUSE="test" RESTRICT="!test? ( test )" -DEPEND="sys-libs/ncurses:0=" +DEPEND="sys-libs/ncurses:=" RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" S="${WORKDIR}/${MY_P}" src_prepare() { default - # Respect FLAGS - sed -i -e '/CXXFLAGS/s/= -O3/+=/' \ + # Respect FLAGS, remove Werror + sed -i -e '/CXXFLAGS/s/= -O3/+=/' \ + -e '/CXXFLAGS/s/ -Werror//' \ -e '/LDFLAGS/s/=/+=/' Makefile || die "sed failed for Makefile" if ! use test ; then diff --git a/sys-apps/ethq/ethq-9999.ebuild b/sys-apps/ethq/ethq-9999.ebuild index ce1c594d966b..11b6f2389400 100644 --- a/sys-apps/ethq/ethq-9999.ebuild +++ b/sys-apps/ethq/ethq-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -17,7 +17,7 @@ KEYWORDS="" IUSE="test" RESTRICT="!test? ( test )" -DEPEND="sys-libs/ncurses:0=" +DEPEND="sys-libs/ncurses:=" RDEPEND="${DEPEND}" BDEPEND="virtual/pkgconfig"