patches : ['Python-2.7.10-ssl.patch']
}
+version_2_7_16_CO9 :
+{
+ compil_script: 'Python-2.7.16.sh'
+}
+
version_3_6_5 :
{
patches : []
--- /dev/null
+#!/bin/bash
+
+echo "##########################################################################"
+echo "Python" $VERSION
+echo "##########################################################################"
+
+rm -rf $BUILD_DIR
+mkdir $BUILD_DIR
+cd $BUILD_DIR
+
+if [ ${#VERSION} -lt 5 ]; then
+ echo "ERROR : VERSION argument of Python compilation script has not the expected x.y.z format"
+ exit 1
+fi
+PYTHON_VERSION="${VERSION:0:3}"
+PYTHON_VERSION_MAJ=${PYTHON_VERSION:0:1}
+
+# --enable-shared : enable building shared python library
+# --with-threads : enable thread support
+# --without-pymalloc: disable specialized mallocs
+# --with-ensurepip : installation using bundled pip
+# --enable-optimizations: recommandé et utilisé par Nijni -> mais trop long!
+CONFIGURE_ARGUMENTS="--enable-shared --with-threads --with-ensurepip=install --with-ssl --enable-loadable-sqlite-extensions --enable-unicode=ucs4"
+if [ "${SAT_ENABLE_PYTHON_PYMALLOC}" == "1" ]; then
+ CONFIGURE_ARGUMENTS+=" --with-pymalloc"
+else
+ CONFIGURE_ARGUMENTS+=" --without-pymalloc"
+fi
+
+echo
+echo "*** configure --prefix=$PRODUCT_INSTALL $CONFIGURE_ARGUMENTS"
+$SOURCE_DIR/configure --prefix=$PRODUCT_INSTALL $CONFIGURE_ARGUMENTS
+if [ $? -ne 0 ]; then
+ echo "ERROR on configure"
+ exit 1
+fi
+
+echo
+echo "*** make" $MAKE_OPTIONS
+make $MAKE_OPTIONS
+if [ $? -ne 0 ]; then
+ echo "ERROR on make"
+ exit 2
+fi
+
+echo
+echo "*** make install"
+make install
+if [ $? -ne 0 ]; then
+ echo "ERROR on make install"
+ exit 3
+fi
+
+echo
+echo "########## END"
+
--- /dev/null
+#!/bin/bash
+
+echo "##########################################################################"
+echo "scipy" $VERSION
+echo "##########################################################################"
+
+LINUX_DISTRIBUTION="$DIST_NAME$DIST_VERSION"
+
+echo "*** check installation"
+mkdir -p ${PRODUCT_INSTALL}
+rm -rf $BUILD_DIR
+mkdir -p $BUILD_DIR/cache/pip
+cd $BUILD_DIR
+
+export PYTHONPATH=${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages:$PYTHONPATH
+export PATH=${PRODUCT_INSTALL}/bin:$PATH
+
+WHEELS=('scipy-0.18.1-cp27-cp27m-manylinux1_x86_64.whl')
+for WHEEL in "${WHEELS[@]}"; do
+ ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip $SOURCE_DIR/$WHEEL --no-deps --target=$PRODUCT_INSTALL/lib/python${PYTHON_VERSION}/site-packages
+ if [ $? -ne 0 ]; then
+ echo "ERROR: could not install $WHEEL"
+ exit 1
+ fi
+done
+
+echo
+echo "########## END"
version_0_18_1 :
{
compil_script : "scipy.sh"
- depend : ['numpy','lapack']
+ depend : ['numpy','lapack', 'setuptools']
+}
+
+version_0_18_1_x86_64 :
+{
+ archive_info : {archive_name : "scipy-0.18.1-x86_64.tar.gz"}
+ compil_script : "scipy-0.18.1.sh"
+ depend : ['numpy','lapack', 'setuptools']
}
version_0_15_1 :