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 9B5F615810F for ; Sat, 27 May 2023 06:12:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D20EBE0887; Sat, 27 May 2023 06:12:28 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id B2CCCE087C for ; Sat, 27 May 2023 06:12:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 F1B22341040 for ; Sat, 27 May 2023 06:12:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8AE82A7B for ; Sat, 27 May 2023 06:12:26 +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: <1685167934.070bd3b85bf308afdfbb064c8deac031932cf555.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/elfix/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/elfix/elfix-0.9.5.ebuild sys-apps/elfix/elfix-9999.ebuild X-VCS-Directories: sys-apps/elfix/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 070bd3b85bf308afdfbb064c8deac031932cf555 X-VCS-Branch: master Date: Sat, 27 May 2023 06:12:26 +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: 7f59b24f-a183-49d6-874e-e214cc5ab58d X-Archives-Hash: 84800460a2cd002441f1a96c097c132b commit: 070bd3b85bf308afdfbb064c8deac031932cf555 Author: Sam James gentoo org> AuthorDate: Sat May 27 06:05:05 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sat May 27 06:12:14 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=070bd3b8 sys-apps/elfix: wire up (restricted) tests Signed-off-by: Sam James gentoo.org> sys-apps/elfix/elfix-0.9.5.ebuild | 15 +++++++-------- sys-apps/elfix/elfix-9999.ebuild | 17 ++++++++--------- 2 files changed, 15 insertions(+), 17 deletions(-) diff --git a/sys-apps/elfix/elfix-0.9.5.ebuild b/sys-apps/elfix/elfix-0.9.5.ebuild index d3dc77ed17fb..0f1ed96f6f05 100644 --- a/sys-apps/elfix/elfix-0.9.5.ebuild +++ b/sys-apps/elfix/elfix-0.9.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -17,14 +17,12 @@ HOMEPAGE="https://www.gentoo.org/proj/en/hardened/pax-quickstart.xml LICENSE="GPL-3" SLOT="0" -IUSE="+ptpax +xtpax" - -DOCS=( AUTHORS ChangeLog INSTALL README THANKS TODO ) - +IUSE="+ptpax test +xtpax" REQUIRED_USE="|| ( ptpax xtpax )" - # These only work with a properly configured PaX kernel -RESTRICT="test" +RESTRICT="!test? ( test ) test" + +DOCS=( AUTHORS ChangeLog INSTALL README THANKS TODO ) DEPEND="~dev-python/pypax-${PV}[ptpax=,xtpax=] ptpax? ( dev-libs/elfutils ) @@ -42,7 +40,8 @@ src_prepare() { src_configure() { rm -f "${S}/scripts/setup.py" - econf --disable-tests \ + econf \ + $(use_enable test tests) \ $(use_enable ptpax) \ $(use_enable xtpax) } diff --git a/sys-apps/elfix/elfix-9999.ebuild b/sys-apps/elfix/elfix-9999.ebuild index a7a57400096c..05b415e1f5d3 100644 --- a/sys-apps/elfix/elfix-9999.ebuild +++ b/sys-apps/elfix/elfix-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -8,7 +8,7 @@ if [[ ${PV} == *9999* ]] ; then inherit autotools git-r3 else SRC_URI="https://dev.gentoo.org/~blueness/elfix/${P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" fi DESCRIPTION="A suite of tools to work with ELF objects on Hardened Gentoo" @@ -17,14 +17,12 @@ HOMEPAGE="https://www.gentoo.org/proj/en/hardened/pax-quickstart.xml LICENSE="GPL-3" SLOT="0" -IUSE="+ptpax +xtpax" - -DOCS=( AUTHORS ChangeLog INSTALL README THANKS TODO ) - +IUSE="+ptpax test +xtpax" REQUIRED_USE="|| ( ptpax xtpax )" - # These only work with a properly configured PaX kernel -RESTRICT="test" +RESTRICT="!test? ( test ) test" + +DOCS=( AUTHORS ChangeLog INSTALL README THANKS TODO ) DEPEND="~dev-python/pypax-${PV}[ptpax=,xtpax=] ptpax? ( dev-libs/elfutils ) @@ -42,7 +40,8 @@ src_prepare() { src_configure() { rm -f "${S}/scripts/setup.py" - econf --disable-tests \ + econf \ + $(use_enable test tests) \ $(use_enable ptpax) \ $(use_enable xtpax) }