]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
spns #41854: RO8 spns/41854
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Wed, 15 May 2024 07:45:04 +0000 (09:45 +0200)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Wed, 15 May 2024 07:45:04 +0000 (09:45 +0200)
applications/SALOME-master-native.pyconf
products/compil_scripts/h5py-3.0.0.sh [new file with mode: 0755]
products/compil_scripts/markdown-it-py-2.0.1.sh [new file with mode: 0755]
products/compil_scripts/mdurl-0.1.0.sh [new file with mode: 0755]
products/compil_scripts/meshio-4.3.13.sh [new file with mode: 0755]
products/compil_scripts/rich-12.6.0.sh [new file with mode: 0755]
products/h5py.pyconf
products/markdown_it_py.pyconf
products/mdurl.pyconf
products/meshio.pyconf
products/rich.pyconf

index 9b94a979c2099fcef529c28acb33e6bea7d33c14..63191ca5037d74a763498620859e23552663e8ca 100644 (file)
@@ -311,8 +311,13 @@ __overwrite__ :
         'APPLICATION.products.openturns'        : {tag: '1.22',   base: 'no', section: 'version_1_22_CO8'       }
         'APPLICATION.products.PyFMI'            : {tag: '2.6',    base: 'no', section: 'version_2_6_no_pip'     }
         'APPLICATION.products.statsmodels'      : {tag: '0.6.1',  base: 'no', section: 'version_0_6_1_no_pip'   }
-        'APPLICATION.products.gdal'             : {tag:'2.4.0',   base: 'no', section: 'version_2_4_0_CO8_native'} # spns #29324
+        'APPLICATION.products.gdal'             : {tag: '2.4.0',  base: 'no', section: 'version_2_4_0_CO8_native'} # spns #29324
         'APPLICATION.products.swig'             : '4.0.2'
+        'APPLICATION.products.mdurl'            : {tag: '0.1.0',  base: 'no', section: 'version_0_1_0_no_pip' }
+        'APPLICATION.products.markdown_it_py'   : {tag: '2.0.1',  base: 'no', section: 'version_2_0_1_no_pip' }
+        'APPLICATION.products.rich'             : {tag: '12.6.0', base: 'no', section: 'version_12_6_0_no_pip'}
+        'APPLICATION.products.meshio'           : {tag: '4.3.13', base: 'no', section: 'version_4_3_13_no_pip' }
+        'APPLICATION.products.h5py'             : {tag: '3.0.0',  base: 'no', section: 'version_3_0_0_no_pip' }
     }
     {
          __condition__ : "VARS.dist in ['CO9']"
diff --git a/products/compil_scripts/h5py-3.0.0.sh b/products/compil_scripts/h5py-3.0.0.sh
new file mode 100755 (executable)
index 0000000..c3ce967
--- /dev/null
@@ -0,0 +1,40 @@
+#!/bin/bash                                                                                                                                                                              
+
+echo "##########################################################################"
+echo "h5py" $VERSION
+echo "##########################################################################"
+
+LINUX_DISTRIBUTION="$DIST_NAME$DIST_VERSION"
+
+rm -rf $BUILD_DIR
+mkdir -p $BUILD_DIR/cache/pip
+
+mkdir -p $PRODUCT_INSTALL
+
+cd $BUILD_DIR
+
+export PYTHONPATH=${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages:$PYTHONPATH
+export PATH=${PRODUCT_INSTALL}/bin:$PATH
+
+case $LINUX_DISTRIBUTION in
+    CO8)
+        WHEELS=('h5py-3.0.0-cp36-cp36m-manylinux1_x86_64.whl')
+        ;;
+    *)
+        echo "Not implemented"
+        exit 1
+        ;;
+esac
+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
+if [ -d ${PRODUCT_INSTALL}/lib64 ]; then
+    mv ${PRODUCT_INSTALL}/lib64 ${PRODUCT_INSTALL}/lib
+fi
+
+echo
+echo "########## END"
diff --git a/products/compil_scripts/markdown-it-py-2.0.1.sh b/products/compil_scripts/markdown-it-py-2.0.1.sh
new file mode 100755 (executable)
index 0000000..aa1a907
--- /dev/null
@@ -0,0 +1,28 @@
+#!/bin/bash                                                                                                                                                                              
+
+echo "##########################################################################"
+echo "markdown-it-py" $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=('markdown_it_py-2.0.1-py3-none-any.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"
diff --git a/products/compil_scripts/mdurl-0.1.0.sh b/products/compil_scripts/mdurl-0.1.0.sh
new file mode 100755 (executable)
index 0000000..f0e836d
--- /dev/null
@@ -0,0 +1,28 @@
+#!/bin/bash                                                                                                                                                                              
+
+echo "##########################################################################"
+echo "mdurl" $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=('mdurl-0.1.0-py3-none-any.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"
diff --git a/products/compil_scripts/meshio-4.3.13.sh b/products/compil_scripts/meshio-4.3.13.sh
new file mode 100755 (executable)
index 0000000..94551a5
--- /dev/null
@@ -0,0 +1,28 @@
+#!/bin/bash                                                                                                                                                                              
+
+echo "##########################################################################"
+echo "meshio" $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=('cached_property-1.5.2-py2.py3-none-any.whl' 'meshio-4.3.13-py3-none-any.whl')
+for WHEEL in "${WHEELS[@]}"; do
+    ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip  $SOURCE_DIR/$WHEEL --prefix=$PRODUCT_INSTALL
+    if [ $? -ne 0 ]; then
+        echo "ERROR: could not install $WHEEL"
+        exit 1
+    fi
+done
+
+echo
+echo "########## END"
diff --git a/products/compil_scripts/rich-12.6.0.sh b/products/compil_scripts/rich-12.6.0.sh
new file mode 100755 (executable)
index 0000000..0c6dcb3
--- /dev/null
@@ -0,0 +1,33 @@
+#!/bin/bash                                                                                                                                                                              
+
+echo "##########################################################################"
+echo "rich" $VERSION
+echo "##########################################################################"
+
+LINUX_DISTRIBUTION="$DIST_NAME$DIST_VERSION"
+
+if [ ! -d $PRODUCT_INSTALL ]; then
+    mkdir -p $PRODUCT_INSTALL
+fi
+
+rm -rf $BUILD_DIR
+mkdir -p $BUILD_DIR/cache/pip
+cd $BUILD_DIR
+
+WHEELS=('rich-12.6.0-py3-none-any.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
+ls -ltr $PRODUCT_INSTALL/
+if [ -d ${PRODUCT_INSTALL}/lib64 ]; then
+    mv ${PRODUCT_INSTALL}/lib64 ${PRODUCT_INSTALL}/lib
+elif [ -d ${PRODUCT_INSTALL}/local ]; then
+    mv ${PRODUCT_INSTALL}/local ${PRODUCT_INSTALL}/lib
+fi
+
+echo
+echo "########## END"
index d17634abb7596e283624666a2bf0c0a2583bc1b7..cd85a27b3d17d510b87deeb2f1ac0a03d1c1db5f 100644 (file)
@@ -47,3 +47,14 @@ version_3_11_0_win:
      pip : "yes"
    }
 }
+
+version_3_0_0_no_pip:
+{
+   compil_script: "h5py-3.0.0"  + $VARS.scriptExtension
+   archive_info : {archive_name : "h5py-3.0.0-x86_64.tar.gz"}
+   properties :
+   {
+     incremental : "yes"
+     pip : "no"
+   }
+}
index 8d33fb07554ff23549948613f66aae498b72f81d..76d70de086c65ebaf2fff01b26a420ab660b035b 100644 (file)
@@ -62,3 +62,14 @@ version_2_2_0_no_pip:
      pip : "no"
    }
 }
+
+version_2_0_1_no_pip:
+{
+   compil_script: "markdown-it-py-2.0.1"  + $VARS.scriptExtension
+   archive_info : {archive_name : "markdown-it-py-2.0.1-x86_64.tar.gz"}
+   properties :
+   {
+     incremental : "yes"
+     pip : "no"
+   }
+}
index 627234b7f40b662b6a548e7cf46e8c40fc3dc3f5..8de90e45633f2b0710b99026747a1d5c5c554ee3 100644 (file)
@@ -48,3 +48,14 @@ version_0_1_2_win:
      pip : "yes"
    }
 }
+
+version_0_1_0_no_pip:
+{
+   compil_script: "mdurl-0.1.0"  + $VARS.scriptExtension
+   archive_info : {archive_name : "mdurl-0.1.0-x86_64.tar.gz"}
+   properties :
+   {
+     incremental : "yes"
+     pip : "no"
+   }
+}
index 3dbe3c33d4af1c099541ecba4c6282c6c37b9a15..390a75d411b520fb30637d8814c0c3b4d95503a5 100644 (file)
@@ -69,3 +69,15 @@ version_5_3_4_no_pip :
      single_install_dir : "no"
    }
 }
+
+version_4_3_13_no_pip :
+{
+   compil_script: "meshio-4.3.13"  + $VARS.scriptExtension
+   archive_info : {archive_name : "meshio-4.3.13-x86_64.tar.gz"}
+   properties :
+   {
+     incremental : "yes"
+     pip : "no"
+     single_install_dir : "no"
+   }
+}
index 6a9ec4f48229244a006bd942524bf9542b5ac6ed..39db5f7283056e82784e45424607be0d9e8d68ab 100644 (file)
@@ -42,6 +42,9 @@ version_13_7_1_no_pip:
     }
 }
 
+version_13_7_1 :
+{}
+
 version_13_7_1_win :
 {
     depend : ['Python', 'numpy', 'hdf5', 'h5py', 'markdown_it_py', 'Pygments']
@@ -51,3 +54,17 @@ version_13_7_1_win :
       pip : "yes"
     }
 }
+
+version_12_6_0_no_pip:
+{
+    compil_script: "rich-12.6.0"  + $VARS.scriptExtension
+    archive_info :
+    {
+      archive_name  : "rich-12.6.0-x86_64.tar.gz"
+    }
+    properties :
+    {
+      incremental : "yes"
+      pip : "no"
+    }
+}