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: sci-visualization/paraview/
Date: Mon, 25 Dec 2017 10:43:48 +0000 (UTC)	[thread overview]
Message-ID: <1514198589.7a63ab2293f21dde90d1888b4a341f0d71215964.soap@gentoo> (raw)

commit:     7a63ab2293f21dde90d1888b4a341f0d71215964
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 25 10:34:06 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Dec 25 10:43:09 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a63ab22

sci-visualization/paraview: [QA] Run cmake-utils_src_prepare

Closes: https://bugs.gentoo.org/639582
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-visualization/paraview/paraview-5.2.0.ebuild | 10 ++++------
 sci-visualization/paraview/paraview-5.3.0.ebuild | 10 ++++------
 2 files changed, 8 insertions(+), 12 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.2.0.ebuild b/sci-visualization/paraview/paraview-5.2.0.ebuild
index e699e91e48c..5abd820a733 100644
--- a/sci-visualization/paraview/paraview-5.2.0.ebuild
+++ b/sci-visualization/paraview/paraview-5.2.0.ebuild
@@ -102,9 +102,7 @@ pkg_setup() {
 }
 
 src_prepare() {
-
-	default
-	epatch "${PATCHES[@]}"
+	cmake-utils_src_prepare
 
 	# lib64 fixes
 	sed -i \
@@ -125,11 +123,11 @@ src_prepare() {
 		Plugins/SciberQuestToolKit/SciberQuest/CMakeLists.txt || die
 
 	# no proper switch
-	use nvcontrol || {
+	if ! use nvcontrol; then
 		sed -i \
 			-e '/VTK_USE_NVCONTROL/s#1#0#' \
 			VTK/Rendering/OpenGL/CMakeLists.txt || die
-	}
+	fi
 }
 
 src_configure() {
@@ -279,7 +277,7 @@ src_install() {
 	cmake-utils_src_install
 
 	# set up the environment
-	echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN}
+	echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN} || die
 
 	newicon "${S}"/Applications/ParaView/pvIcon-32x32.png paraview.png
 	make_desktop_entry paraview "Paraview" paraview

diff --git a/sci-visualization/paraview/paraview-5.3.0.ebuild b/sci-visualization/paraview/paraview-5.3.0.ebuild
index 221ba8da925..ea2160482ea 100644
--- a/sci-visualization/paraview/paraview-5.3.0.ebuild
+++ b/sci-visualization/paraview/paraview-5.3.0.ebuild
@@ -103,9 +103,7 @@ pkg_setup() {
 }
 
 src_prepare() {
-
-	default
-	epatch "${PATCHES[@]}"
+	cmake-utils_src_prepare
 
 	# lib64 fixes
 	sed -i \
@@ -123,11 +121,11 @@ src_prepare() {
 		ParaViewCore/ClientServerCore/Core/vtkPVPluginTracker.cxx || die
 
 	# no proper switch
-	use nvcontrol || {
+	if ! use nvcontrol; then
 		sed -i \
 			-e '/VTK_USE_NVCONTROL/s#1#0#' \
 			VTK/Rendering/OpenGL/CMakeLists.txt || die
-	}
+	fi
 }
 
 src_configure() {
@@ -277,7 +275,7 @@ src_install() {
 	cmake-utils_src_install
 
 	# set up the environment
-	echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN}
+	echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN} || die
 
 	newicon "${S}"/Applications/ParaView/pvIcon-32x32.png paraview.png
 	make_desktop_entry paraview "Paraview" paraview


             reply	other threads:[~2017-12-25 10:43 UTC|newest]

Thread overview: 90+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-25 10:43 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-07  4:30 [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/ Matthias Maier
2024-10-23  2:28 Matthias Maier
2024-03-17 15:52 Matthias Maier
2024-01-08 23:31 Matthias Maier
2024-01-08 23:31 Matthias Maier
2024-01-08 23:31 Matthias Maier
2023-12-02 18:41 Matthias Maier
2023-12-02 18:41 Matthias Maier
2023-12-02 18:41 Matthias Maier
2023-05-26 11:39 Andreas Sturmlechner
2023-04-20 19:47 Matthias Maier
2022-12-18  8:06 Sam James
2022-12-16  1:40 Sam James
2022-10-28 20:00 Matthias Maier
2022-10-18 14:18 Andrew Ammerlaan
2022-10-18 13:39 Andrew Ammerlaan
2022-09-04 12:12 David Seifert
2022-08-26 10:46 Sam James
2022-05-16  8:12 David Seifert
2021-09-20 17:51 Andreas K. Hüttel
2021-07-17 18:18 David Seifert
2021-06-02  7:11 Matthias Maier
2021-06-02  7:11 Matthias Maier
2021-03-14  2:33 Matthias Maier
2021-03-14  2:33 Matthias Maier
2021-01-20 10:16 David Seifert
2020-11-25 16:24 Andreas Sturmlechner
2020-11-25 16:10 Andreas Sturmlechner
2020-11-25 16:10 Andreas Sturmlechner
2020-11-25 16:10 Andreas Sturmlechner
2020-11-25 15:10 Andreas Sturmlechner
2020-11-25 14:50 Andreas Sturmlechner
2020-09-11 14:52 Matthias Maier
2020-09-11 14:52 Matthias Maier
2020-05-12  5:41 Matthias Maier
2020-04-26 11:00 David Seifert
2020-04-04  2:40 Matthias Maier
2020-04-03 20:07 Andreas Sturmlechner
2020-04-03 20:07 Andreas Sturmlechner
2020-04-03  2:49 Matthias Maier
2020-04-03  2:49 Matthias Maier
2020-03-09  1:13 Matthias Maier
2020-03-09  1:13 Matthias Maier
2020-02-09 16:36 Michał Górny
2020-02-08 17:06 David Seifert
2020-01-16  7:11 Michał Górny
2019-11-30 15:59 Matthias Maier
2019-08-04 21:00 Matthias Maier
2019-08-04 21:00 Matthias Maier
2019-08-04 21:00 Matthias Maier
2019-06-30 19:15 Matthias Maier
2019-06-30 18:20 Matthias Maier
2019-04-26 14:54 Matthias Maier
2019-04-25 22:11 Matthias Maier
2019-04-01 18:44 Matthias Maier
2018-10-31 15:13 Matthias Maier
2018-10-31 15:08 Matthias Maier
2018-07-15 16:09 Andreas Sturmlechner
2018-07-15 16:09 Andreas Sturmlechner
2018-07-15 16:09 Andreas Sturmlechner
2018-07-15 16:09 Andreas Sturmlechner
2018-07-15 16:09 Andreas Sturmlechner
2018-07-15 16:09 Andreas Sturmlechner
2018-07-15 16:09 Andreas Sturmlechner
2018-07-15 16:09 Andreas Sturmlechner
2018-07-15 16:09 Andreas Sturmlechner
2018-07-15 16:09 Andreas Sturmlechner
2018-07-15 16:09 Andreas Sturmlechner
2018-07-08  2:57 Matthias Maier
2018-06-11 20:52 Andreas Sturmlechner
2018-06-01  0:01 Matthias Maier
2018-04-25  1:23 Matthias Maier
2018-04-08  5:03 Matthias Maier
2017-05-31 21:14 Matthias Maier
2017-01-26 19:48 Matthias Maier
2017-01-26 19:48 Matthias Maier
2017-01-26 19:06 Matthias Maier
2017-01-26 19:06 Matthias Maier
2016-09-22 12:47 Matthias Maier
2016-08-19  4:17 Matthias Maier
2016-08-19  4:17 Matthias Maier
2016-08-08  4:18 Matthias Maier
2016-08-08  4:18 Matthias Maier
2016-08-08  3:43 Matthias Maier
2016-08-02  2:22 Matthias Maier
2016-07-28  3:31 Matthias Maier
2016-07-09 18:57 Matthias Maier
2016-07-09 18:57 Matthias Maier
2015-09-21 21:36 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=1514198589.7a63ab2293f21dde90d1888b4a341f0d71215964.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