aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-misc/salome-yacs/salome-yacs-5.1.3.ebuild')
-rw-r--r--sci-misc/salome-yacs/salome-yacs-5.1.3.ebuild3
1 files changed, 1 insertions, 2 deletions
diff --git a/sci-misc/salome-yacs/salome-yacs-5.1.3.ebuild b/sci-misc/salome-yacs/salome-yacs-5.1.3.ebuild
index 51b20d1e2..4081d6457 100644
--- a/sci-misc/salome-yacs/salome-yacs-5.1.3.ebuild
+++ b/sci-misc/salome-yacs/salome-yacs-5.1.3.ebuild
@@ -47,9 +47,8 @@ MY_S="${WORKDIR}/src${PV}/${MODULE_NAME}_SRC_${PV}"
INSTALL_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..."
}