public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/elfix/
Date: Sat, 27 May 2023 06:12:26 +0000 (UTC)	[thread overview]
Message-ID: <1685167934.070bd3b85bf308afdfbb064c8deac031932cf555.sam@gentoo> (raw)

commit:     070bd3b85bf308afdfbb064c8deac031932cf555
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May 27 06:05:05 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> 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 <sam <AT> 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)
 }


             reply	other threads:[~2023-05-27  6:12 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-27  6:12 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-26 15:26 [gentoo-commits] repo/gentoo:master commit in: sys-apps/elfix/ Arthur Zamarin
2024-05-26  6:01 Sam James
2024-05-26  6:01 Sam James
2024-05-26  6:01 Sam James
2024-05-26  6:01 Sam James
2024-05-26  6:01 Sam James
2024-05-26  6:01 Sam James
2024-05-26  6:01 Sam James
2024-05-06 18:32 Conrad Kostecki
2023-01-10  5:57 Sam James
2023-01-10  5:57 Sam James
2021-08-20 14:21 Marek Szuba
2019-12-09 22:14 Anthony G. Basile
2019-05-23 13:16 Mikle Kolyada
2019-05-07 18:03 Tobias Klausmann
2019-05-03  7:11 Sergei Trofimovich
2019-04-30  9:55 Mikle Kolyada
2019-04-28 20:34 Thomas Deutschmann
2019-04-28 13:03 Sergei Trofimovich
2019-04-28  7:42 Sergei Trofimovich
2019-04-27 15:48 Sergei Trofimovich
2019-04-27  8:47 Sergei Trofimovich
2019-04-26  1:47 Aaron Bauman
2019-04-23  0:25 Anthony G. Basile
2019-04-13 10:42 Anthony G. Basile
2019-01-23 13:41 Mikle Kolyada
2018-12-27 17:19 Matt Turner
2018-12-26 20:00 Sergei Trofimovich
2018-12-26 13:55 Sergei Trofimovich
2018-12-15 22:39 Sergei Trofimovich
2018-12-14 22:44 Sergei Trofimovich
2018-12-14 22:22 Sergei Trofimovich
2018-12-14  2:13 Thomas Deutschmann
2018-12-13 21:22 Rick Farina
2018-12-13 20:59 Anthony G. Basile
2018-12-08  9:44 Sergei Trofimovich
2018-12-08  9:36 Sergei Trofimovich
2018-12-07  2:41 Thomas Deutschmann
2018-12-03  6:43 Mikle Kolyada
2018-12-01 14:51 Sergei Trofimovich
2018-11-28 21:51 Anthony G. Basile
2018-04-27 22:11 Anthony G. Basile
2017-06-20  8:42 Alexis Ballier
2015-11-23  9:25 Agostino Sarubbo
2015-11-16 14:19 Agostino Sarubbo
2015-11-10 18:58 Markus Meier
2015-11-05 11:20 Agostino Sarubbo
2015-11-04 15:17 Agostino Sarubbo
2015-11-03 16:18 Agostino Sarubbo
2015-11-01 11:16 Jeroen Roovers
2015-10-30  9:18 Agostino Sarubbo
2015-10-29  7:05 Jeroen Roovers
2015-10-27 20:11 Anthony G. Basile
2015-10-27 20:05 Anthony G. Basile
2015-09-04  0:14 Anthony G. Basile
2015-09-04  0:14 Anthony G. Basile

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1685167934.070bd3b85bf308afdfbb064c8deac031932cf555.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox