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)"
}