mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sci-libs/xdmf2: Call 'python_optimize' only when USE=python
Gentoo-bug: 592848 Package-Manager: portage-2.3.0
This commit is contained in:
@@ -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)"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user