public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/parmetis/
Date: Mon, 31 Dec 2018 21:14:49 +0000 (UTC)	[thread overview]
Message-ID: <1546290826.475e43d7365b80a6fa40226ff49c863bcfe0dae5.asturm@gentoo> (raw)

commit:     475e43d7365b80a6fa40226ff49c863bcfe0dae5
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 31 20:58:43 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Dec 31 21:13:46 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=475e43d7

sci-libs/parmetis: EAPI-6 bump, add missing cmake-utils_src_prepare

Closes: https://bugs.gentoo.org/671994
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sci-libs/parmetis/parmetis-4.0.3.ebuild | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/sci-libs/parmetis/parmetis-4.0.3.ebuild b/sci-libs/parmetis/parmetis-4.0.3.ebuild
index 0df1f3da634..bb48b4e600f 100644
--- a/sci-libs/parmetis/parmetis-4.0.3.ebuild
+++ b/sci-libs/parmetis/parmetis-4.0.3.ebuild
@@ -1,14 +1,13 @@
 # Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-
-inherit eutils cmake-utils toolchain-funcs
+EAPI=6
 
 # Check metis version bundled in parmetis tar ball
 # by diff of metis and parmetis tar ball
 METISPV=5.1.0
 METISP=metis-${METISPV}
+inherit cmake-utils toolchain-funcs
 
 DESCRIPTION="Parallel (MPI) unstructured graph partitioning library"
 HOMEPAGE="http://www-users.cs.umn.edu/~karypis/metis/parmetis/"
@@ -36,6 +35,8 @@ pkg_setup() {
 }
 
 src_prepare() {
+	cmake-utils_src_prepare
+
 	# libdir love
 	sed -i \
 		-e '/DESTINATION/s/lib/lib${LIB_SUFFIX}/g' \
@@ -58,7 +59,6 @@ src_prepare() {
 			-e '/add_subdirectory(include/d' \
 			-e '/add_subdirectory(libparmetis/d' \
 			CMakeLists.txt || die
-
 	fi
 
 	if use int64; then
@@ -77,8 +77,8 @@ src_configure() {
 			-DMETIS_PATH="${S}/metis"
 			-DGKRAND=ON
 			-DMETIS_INSTALL=ON
-			$(cmake-utils_use openmp OPENMP)
-			$(cmake-utils_use pcre PCRE)
+			-DOPENMP=$(usex openmp)
+			-DPCRE=$(usex pcre)
 			$@
 		)
 		cmake-utils_src_configure


             reply	other threads:[~2018-12-31 21:14 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-31 21:14 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-08 23:17 [gentoo-commits] repo/gentoo:master commit in: sci-libs/parmetis/ Sam James
2025-03-08 21:40 Jakov Smolić
2025-03-08 20:32 Andreas Sturmlechner
2023-06-03  9:50 WANG Xuerui
2023-05-03 10:55 Jakov Smolić
2023-05-03  8:49 Andrew Ammerlaan
2023-05-02 17:36 Arthur Zamarin
2023-03-07  0:18 Yixun Lan
2022-05-16  8:12 David Seifert
2022-03-07  4:51 Sam James
2022-03-07  4:29 Sam James
2022-02-13 23:09 Jakov Smolić
2022-02-13 21:08 Conrad Kostecki
2022-02-02  5:30 Sam James
2021-07-20  7:41 Andrew Ammerlaan
2020-01-11 16:33 Ulrich Müller
2019-05-21 20:30 Aaron Bauman
2019-03-09 19:18 Thomas Deutschmann
2018-12-31 21:14 Andreas Sturmlechner
2018-11-26  0:31 Matthias Maier

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=1546290826.475e43d7365b80a6fa40226ff49c863bcfe0dae5.asturm@gentoo \
    --to=asturm@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