aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-misc/salome-pycalculator/salome-pycalculator-5.1.3.ebuild')
-rw-r--r--sci-misc/salome-pycalculator/salome-pycalculator-5.1.3.ebuild3
1 files changed, 1 insertions, 2 deletions
diff --git a/sci-misc/salome-pycalculator/salome-pycalculator-5.1.3.ebuild b/sci-misc/salome-pycalculator/salome-pycalculator-5.1.3.ebuild
index db478f235..c572cfeb6 100644
--- a/sci-misc/salome-pycalculator/salome-pycalculator-5.1.3.ebuild
+++ b/sci-misc/salome-pycalculator/salome-pycalculator-5.1.3.ebuild
@@ -35,9 +35,8 @@ INSTALL_DIR="/opt/salome-${PV}/${MODULE_NAME}"
PYCALCULATOR_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..."
}