From: David Seifert Date: Sun, 4 Sep 2016 14:01:41 +0000 (+0200) Subject: sci-libs/xdmf2: Call 'python_optimize' only when USE=python X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=3192a0aa1e37838d0421e1471bcf9db9f74d9772;p=gentoo.git sci-libs/xdmf2: Call 'python_optimize' only when USE=python Gentoo-bug: 592848 Package-Manager: portage-2.3.0 --- diff --git a/sci-libs/xdmf2/xdmf2-1.0_p141226-r2.ebuild b/sci-libs/xdmf2/xdmf2-1.0_p141226-r2.ebuild index b1b0bbb9fb44..56bdc804edc7 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)" }