public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/portage-utils/
Date: Sun, 28 Aug 2022 21:43:00 +0000 (UTC)	[thread overview]
Message-ID: <1661722966.af52d172e14a773c18e011a94d8c296d50b6d97d.soap@gentoo> (raw)

commit:     af52d172e14a773c18e011a94d8c296d50b6d97d
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 28 21:42:46 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Aug 28 21:42:46 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af52d172

app-portage/portage-utils: sync live ebuild

Closes: https://github.com/gentoo/gentoo/pull/27044
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 .../portage-utils/portage-utils-9999.ebuild        | 72 ++++++++++++----------
 1 file changed, 40 insertions(+), 32 deletions(-)

diff --git a/app-portage/portage-utils/portage-utils-9999.ebuild b/app-portage/portage-utils/portage-utils-9999.ebuild
index c1242cd92bab..b07e43f8a485 100644
--- a/app-portage/portage-utils/portage-utils-9999.ebuild
+++ b/app-portage/portage-utils/portage-utils-9999.ebuild
@@ -1,15 +1,13 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
+
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="Small and fast Portage helper tools written in C"
 HOMEPAGE="https://wiki.gentoo.org/wiki/Portage-utils"
 
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="nls static openmp +qmanifest +qtegrity"
-
 if [[ ${PV} == *9999 ]]; then
 	inherit git-r3 autotools
 	EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/portage-utils.git"
@@ -18,50 +16,60 @@ else
 	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="openmp +qmanifest +qtegrity static"
+
 RDEPEND="
 	qmanifest? (
-		openmp? (
-			|| (
-				>=sys-devel/gcc-4.2:*[openmp]
-				sys-devel/clang-runtime:*[openmp]
-			)
-		)
-		static? (
-			app-crypt/libb2:=[static-libs]
-			dev-libs/openssl:0=[static-libs]
-			sys-libs/zlib:=[static-libs]
-			app-crypt/gpgme:=[static-libs]
-		)
 		!static? (
+			app-crypt/gpgme:=
 			app-crypt/libb2:=
-			dev-libs/openssl:0=
+			dev-libs/openssl:=
 			sys-libs/zlib:=
-			app-crypt/gpgme:=
 		)
 	)
 	qtegrity? (
-		openmp? (
-			|| (
-				>=sys-devel/gcc-4.2:*[openmp]
-				sys-devel/clang-runtime:*[openmp]
-			)
+		!static? (
+			dev-libs/openssl:=
 		)
+	)"
+DEPEND="${RDEPEND}
+	qmanifest? (
 		static? (
-			dev-libs/openssl:0=[static-libs]
-		)
-		!static? (
-			dev-libs/openssl:0=
+			app-crypt/gpgme[static-libs]
+			app-crypt/libb2[static-libs]
+			dev-libs/openssl[static-libs]
+			sys-libs/zlib[static-libs]
 		)
 	)
-"
-DEPEND="${RDEPEND}"
+	qtegrity? (
+		static? (
+			dev-libs/openssl[static-libs]
+		)
+	)"
+BDEPEND="virtual/pkgconfig"
+
+pkg_pretend() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+src_prepare() {
+	default
+	[[ ${PV} == *9999 ]] && eautoreconf
+}
 
 src_configure() {
+	use static && append-ldflags -static
+
 	econf \
 		--disable-maintainer-mode \
 		--with-eprefix="${EPREFIX}" \
 		$(use_enable qmanifest) \
 		$(use_enable qtegrity) \
-		$(use_enable openmp) \
-		$(use_enable static)
+		$(use_enable openmp)
 }


             reply	other threads:[~2022-08-28 21:43 UTC|newest]

Thread overview: 210+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-28 21:43 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-25  3:40 [gentoo-commits] repo/gentoo:master commit in: app-portage/portage-utils/ Matt Turner
2024-09-24 15:03 Arthur Zamarin
2024-09-23  8:18 Arthur Zamarin
2024-09-23  7:13 Arthur Zamarin
2024-09-23  6:02 Arthur Zamarin
2024-09-23  6:02 Arthur Zamarin
2024-09-23  0:32 Sam James
2024-09-23  0:32 Sam James
2024-04-20 13:43 Fabian Groffen
2023-10-09  3:05 John Helmert III
2023-08-24 17:54 Arthur Zamarin
2023-08-20 18:10 Arthur Zamarin
2023-08-20 17:37 Arthur Zamarin
2023-08-20 13:16 Sam James
2023-08-20 13:11 Sam James
2023-08-20 13:11 Sam James
2023-08-20 10:58 Sam James
2023-08-20 10:29 Sam James
2023-07-23 15:46 Fabian Groffen
2023-07-20  6:15 Fabian Groffen
2023-06-29 19:57 Ben Kohler
2023-06-25 17:39 Arthur Zamarin
2023-06-25 17:39 Arthur Zamarin
2023-06-25 17:39 Arthur Zamarin
2023-06-25 17:39 Arthur Zamarin
2023-06-25 15:39 Arthur Zamarin
2023-06-25 15:39 Arthur Zamarin
2023-06-25 15:39 Arthur Zamarin
2023-06-25 15:39 Arthur Zamarin
2023-05-26  8:11 Fabian Groffen
2023-03-31 12:24 Arthur Zamarin
2023-03-31 12:23 Arthur Zamarin
2023-03-26  1:03 Sam James
2023-03-26  1:03 Sam James
2023-03-26  0:51 Sam James
2023-03-26  0:51 Sam James
2023-03-25 13:31 Arthur Zamarin
2023-03-25 12:44 Arthur Zamarin
2023-03-01 20:35 Fabian Groffen
2023-02-22 20:17 Fabian Groffen
2023-01-11  8:07 Sam James
2023-01-11  8:07 Sam James
2022-12-16  7:39 Sam James
2022-12-06  8:22 Fabian Groffen
2022-10-25 10:41 Arthur Zamarin
2022-10-25 10:21 Arthur Zamarin
2022-10-25  9:53 Arthur Zamarin
2022-10-25  9:45 Arthur Zamarin
2022-10-25  9:28 Sam James
2022-10-25  9:28 Sam James
2022-08-29  8:58 Fabian Groffen
2022-08-29  7:18 Agostino Sarubbo
2022-08-28 21:43 David Seifert
2022-08-28 20:45 Arthur Zamarin
2022-08-28 20:15 Arthur Zamarin
2022-08-28 20:15 Arthur Zamarin
2022-08-28 20:15 Arthur Zamarin
2022-08-28 20:15 Arthur Zamarin
2022-08-28 20:15 Arthur Zamarin
2022-08-27 14:36 David Seifert
2022-07-27  4:14 Sam James
2022-06-16  6:03 Fabian Groffen
2022-06-14  7:15 Fabian Groffen
2022-01-29  6:59 Arthur Zamarin
2022-01-29  6:53 Arthur Zamarin
2022-01-29  1:21 Sam James
2022-01-28  9:34 Agostino Sarubbo
2022-01-28  9:33 Agostino Sarubbo
2022-01-28  9:30 Agostino Sarubbo
2022-01-28  2:34 Sam James
2022-01-28  2:34 Sam James
2022-01-10  7:24 Fabian Groffen
2021-12-27 18:30 Fabian Groffen
2021-12-26 14:30 Fabian Groffen
2021-12-23 13:14 Fabian Groffen
2021-12-21 10:25 Fabian Groffen
2021-08-15 19:51 Sam James
2021-08-11 19:11 Sam James
2021-08-11  0:04 Sam James
2021-08-10  3:03 Sam James
2021-08-10  3:03 Sam James
2021-08-10  3:03 Sam James
2021-08-10  3:03 Sam James
2021-08-10  3:03 Sam James
2021-07-13 17:02 Fabian Groffen
2021-07-08 19:48 Georgy Yakovlev
2021-07-08  6:47 Fabian Groffen
2021-07-06  7:03 Fabian Groffen
2021-05-02 20:08 Mikle Kolyada
2021-02-24 19:06 Fabian Groffen
2021-01-06 13:23 Fabian Groffen
2020-12-27 14:01 Fabian Groffen
2020-11-24 12:56 Agostino Sarubbo
2020-11-23  7:52 Sergei Trofimovich
2020-11-18 22:01 Sergei Trofimovich
2020-11-18  2:17 Sam James
2020-11-17 22:01 Thomas Deutschmann
2020-11-17 19:31 Fabian Groffen
2020-11-14 20:32 Sam James
2020-11-12  7:45 Sergei Trofimovich
2020-11-09 22:09 Sam James
2020-11-07 20:56 Sam James
2020-10-04 20:14 Fabian Groffen
2020-08-17 15:05 Fabian Groffen
2020-07-02 10:09 Fabian Groffen
2020-05-17 18:01 Sergei Trofimovich
2020-05-15 11:47 Agostino Sarubbo
2020-05-15 11:46 Agostino Sarubbo
2020-05-14 21:26 Mart Raudsepp
2020-05-14 13:25 Agostino Sarubbo
2020-05-14 13:24 Agostino Sarubbo
2020-05-14 13:23 Agostino Sarubbo
2020-05-14 13:22 Agostino Sarubbo
2020-05-04 18:21 Fabian Groffen
2020-03-08  8:00 Fabian Groffen
2020-01-31 13:34 Fabian Groffen
2020-01-18 10:20 Fabian Groffen
2020-01-12 13:01 Fabian Groffen
2019-12-31  9:07 Fabian Groffen
2019-12-28  9:42 Fabian Groffen
2019-11-27 14:50 Fabian Groffen
2019-10-20 10:26 Fabian Groffen
2019-09-28  8:48 Fabian Groffen
2019-09-26 20:09 Mikle Kolyada
2019-09-26 20:09 Mikle Kolyada
2019-09-26 20:09 Mikle Kolyada
2019-09-26 20:09 Mikle Kolyada
2019-09-21  5:20 Matt Turner
2019-09-17  4:34 Jeroen Roovers
2019-09-17  1:13 Aaron Bauman
2019-09-16 22:03 Sergei Trofimovich
2019-09-16 22:02 Sergei Trofimovich
2019-09-16 22:00 Sergei Trofimovich
2019-09-16  7:56 Agostino Sarubbo
2019-09-16  7:55 Agostino Sarubbo
2019-09-15  9:36 Mikle Kolyada
2019-08-10 14:05 Fabian Groffen
2019-07-29  8:57 Mikle Kolyada
2019-07-29  8:57 Mikle Kolyada
2019-07-22 17:26 Aaron Bauman
2019-07-19  7:55 Fabian Groffen
2019-07-14 16:30 Fabian Groffen
2019-06-21  9:06 Fabian Groffen
2019-06-15  9:26 Sergei Trofimovich
2019-06-14  1:26 Göktürk Yüksek
2019-06-13 18:42 Fabian Groffen
2019-06-11  7:51 Fabian Groffen
2019-06-10 19:50 Thomas Deutschmann
2019-06-09 19:22 Sergei Trofimovich
2019-06-08  9:18 Fabian Groffen
2019-06-06 16:34 Fabian Groffen
2019-06-06  7:27 Fabian Groffen
2019-06-06  7:27 Fabian Groffen
2019-06-04 17:30 Fabian Groffen
2019-06-04 16:05 Fabian Groffen
2019-05-30 10:29 Fabian Groffen
2019-05-25 17:13 Fabian Groffen
2019-05-10 11:30 Fabian Groffen
2019-05-10 11:30 Fabian Groffen
2019-05-10 11:30 Fabian Groffen
2019-05-04 11:02 Mikle Kolyada
2019-04-14  9:38 Fabian Groffen
2019-04-14  9:22 Fabian Groffen
2019-02-10 18:13 Mikle Kolyada
2019-02-10 18:13 Mikle Kolyada
2019-01-31 14:23 Tobias Klausmann
2019-01-29 11:48 Mikle Kolyada
2019-01-24 22:22 Thomas Deutschmann
2019-01-23 20:53 Sergei Trofimovich
2019-01-21 23:31 Sergei Trofimovich
2019-01-21 23:28 Sergei Trofimovich
2019-01-21 23:26 Sergei Trofimovich
2019-01-21 22:15 Mikle Kolyada
2019-01-21 20:24 Mart Raudsepp
2019-01-21 19:40 Sergei Trofimovich
2018-12-21 14:53 Fabian Groffen
2018-08-01 13:54 Fabian Groffen
2018-07-15 20:15 Fabian Groffen
2018-06-08  7:51 Mikle Kolyada
2018-05-18 12:27 Fabian Groffen
2018-04-06 13:49 Fabian Groffen
2018-04-05 19:03 Fabian Groffen
2018-03-31 19:25 Mart Raudsepp
2018-03-30 18:43 Fabian Groffen
2018-03-25 12:41 Sergei Trofimovich
2018-03-23 15:43 Fabian Groffen
2018-03-22 17:13 Mikle Kolyada
2017-12-29 12:24 Fabian Groffen
2017-11-02 22:31 Sergei Trofimovich
2017-10-17 19:07 Markus Meier
2017-10-16 22:42 Sergei Trofimovich
2017-10-14 20:33 Sergei Trofimovich
2017-10-13 14:31 Thomas Deutschmann
2017-10-13  0:13 Sergei Trofimovich
2017-10-11 17:31 Manuel Rüger
2016-11-27  5:47 Mike Frysinger
2016-06-15  5:03 Mike Frysinger
2016-05-02  4:21 Matt Turner
2016-04-17 15:50 Fabian Groffen
2016-04-11 10:39 Agostino Sarubbo
2016-04-02 14:19 Agostino Sarubbo
2016-03-30 18:30 Markus Meier
2016-03-28 20:36 Jeroen Roovers
2016-03-28  4:54 Mike Frysinger
2016-02-22 20:39 Mike Frysinger
2016-02-14  1:31 Mike Frysinger
2016-01-14 16:45 Ian Stakenvicius
2015-11-28  2:45 Mike Frysinger
2015-11-28  2:45 Mike Frysinger

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=1661722966.af52d172e14a773c18e011a94d8c296d50b6d97d.soap@gentoo \
    --to=soap@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