aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-misc/salome-kernel/salome-kernel-5.1.3.ebuild')
-rw-r--r--sci-misc/salome-kernel/salome-kernel-5.1.3.ebuild3
1 files changed, 1 insertions, 2 deletions
diff --git a/sci-misc/salome-kernel/salome-kernel-5.1.3.ebuild b/sci-misc/salome-kernel/salome-kernel-5.1.3.ebuild
index 57f762fbe..b470c9a8a 100644
--- a/sci-misc/salome-kernel/salome-kernel-5.1.3.ebuild
+++ b/sci-misc/salome-kernel/salome-kernel-5.1.3.ebuild
@@ -39,9 +39,8 @@ INSTALL_DIR="/opt/salome-${PV}/${MODULE_NAME}"
KERNEL_ROOT_DIR="/opt/salome-${PV}/${MODULE_NAME}"
export OPENPBS="/usr"
-PYVER=$(python_get_version)
-
pkg_setup() {
+ PYVER=$(python_get_version)
[[ ${PYVER} > 2.4 ]] && \
ewarn "Python 2.4 is highly recommended for Salome..."