Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/xdmf2/
Date: Sun, 04 Sep 2016 14:02:52
Message-Id: 1472997728.3192a0aa1e37838d0421e1471bcf9db9f74d9772.soap@gentoo
1 commit: 3192a0aa1e37838d0421e1471bcf9db9f74d9772
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 4 14:01:41 2016 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 4 14:02:08 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3192a0aa
7
8 sci-libs/xdmf2: Call 'python_optimize' only when USE=python
9
10 Gentoo-bug: 592848
11
12 Package-Manager: portage-2.3.0
13
14 sci-libs/xdmf2/xdmf2-1.0_p141226-r2.ebuild | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17 diff --git a/sci-libs/xdmf2/xdmf2-1.0_p141226-r2.ebuild b/sci-libs/xdmf2/xdmf2-1.0_p141226-r2.ebuild
18 index b1b0bbb..56bdc80 100644
19 --- a/sci-libs/xdmf2/xdmf2-1.0_p141226-r2.ebuild
20 +++ b/sci-libs/xdmf2/xdmf2-1.0_p141226-r2.ebuild
21 @@ -70,5 +70,5 @@ src_install() {
22
23 # need to byte-compile 'XdmfCore.py' and 'Xdmf.py'
24 # as the CMake build system does not compile them itself
25 - python_optimize "${D%/}$(python_get_sitedir)"
26 + use python && python_optimize "${D%/}$(python_get_sitedir)"
27 }