projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36694c1
)
sci-libs/xdmf2: Call 'python_optimize' only when USE=python
author
David Seifert
<soap@gentoo.org>
Sun, 4 Sep 2016 14:01:41 +0000
(16:01 +0200)
committer
David Seifert
<soap@gentoo.org>
Sun, 4 Sep 2016 14:02:08 +0000
(16:02 +0200)
Gentoo-bug: 592848
Package-Manager: portage-2.3.0
sci-libs/xdmf2/xdmf2-1.0_p141226-r2.ebuild
patch
|
blob
|
history
diff --git
a/sci-libs/xdmf2/xdmf2-1.0_p141226-r2.ebuild
b/sci-libs/xdmf2/xdmf2-1.0_p141226-r2.ebuild
index b1b0bbb9fb443855f6f3ad2f191a49b844a40bcd..56bdc804edc714a303b0190c3f1332cbfd0a838b 100644
(file)
--- 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)"
}