summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2016-09-04 16:01:41 +0200
committerDavid Seifert <soap@gentoo.org>2016-09-04 16:02:08 +0200
commit3192a0aa1e37838d0421e1471bcf9db9f74d9772 (patch)
tree4868f57f0dc2c74a789db0cd9447e89d600555dc /sci-libs/xdmf2/xdmf2-1.0_p141226-r2.ebuild
parentdev-python/tqdm: fetching source from current repo (diff)
downloadgentoo-3192a0aa1e37838d0421e1471bcf9db9f74d9772.tar.gz
gentoo-3192a0aa1e37838d0421e1471bcf9db9f74d9772.tar.bz2
gentoo-3192a0aa1e37838d0421e1471bcf9db9f74d9772.zip
sci-libs/xdmf2: Call 'python_optimize' only when USE=python
Gentoo-bug: 592848 Package-Manager: portage-2.3.0
Diffstat (limited to 'sci-libs/xdmf2/xdmf2-1.0_p141226-r2.ebuild')
-rw-r--r--sci-libs/xdmf2/xdmf2-1.0_p141226-r2.ebuild2
1 files changed, 1 insertions, 1 deletions
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)"
}