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-libs/xdmf2/
Date: Sun,  4 Sep 2016 14:02:45 +0000 (UTC)	[thread overview]
Message-ID: <1472997728.3192a0aa1e37838d0421e1471bcf9db9f74d9772.soap@gentoo> (raw)

commit:     3192a0aa1e37838d0421e1471bcf9db9f74d9772
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Sep  4 14:01:41 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Sep  4 14:02:08 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3192a0aa

sci-libs/xdmf2: Call 'python_optimize' only when USE=python

Gentoo-bug: 592848

Package-Manager: portage-2.3.0

 sci-libs/xdmf2/xdmf2-1.0_p141226-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/xdmf2/xdmf2-1.0_p141226-r2.ebuild b/sci-libs/xdmf2/xdmf2-1.0_p141226-r2.ebuild
index b1b0bbb..56bdc80 100644
--- a/sci-libs/xdmf2/xdmf2-1.0_p141226-r2.ebuild
+++ b/sci-libs/xdmf2/xdmf2-1.0_p141226-r2.ebuild
@@ -70,5 +70,5 @@ src_install() {
 
 	# need to byte-compile 'XdmfCore.py' and 'Xdmf.py'
 	# as the CMake build system does not compile them itself
-	python_optimize "${D%/}$(python_get_sitedir)"
+	use python && python_optimize "${D%/}$(python_get_sitedir)"
 }


             reply	other threads:[~2016-09-04 14:02 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-04 14:02 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-04-20 16:41 [gentoo-commits] repo/gentoo:master commit in: sci-libs/xdmf2/ David Seifert
2018-02-19 19:42 David Seifert
2018-08-02  1:17 Virgil Dupras
2018-10-27 21:12 Andreas Sturmlechner
2018-10-28 22:11 Thomas Deutschmann
2018-11-06  7:37 Mikle Kolyada
2018-11-07 11:04 Andreas Sturmlechner
2020-06-05  0:39 Andreas Sturmlechner
2020-06-05  0:39 Andreas Sturmlechner
2020-07-16  1:06 Sam James
2021-02-22 18:57 Sam James

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=1472997728.3192a0aa1e37838d0421e1471bcf9db9f74d9772.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