alabaster : 'native'
assimulo : '3.5.2'
Babel : 'native'
+ BasicIterativeStatistics : 'v0.1.0'
boost : 'native'
CAS : {tag : 'CR780-SALOME-PATCH', section: 'version_CR780_SALOME_PATCH', base: 'no'}
catalyst: '2.0'
Pillow : 'native'
planegcs : '0.18-3cb6890'
psutil : 'native'
+ poetry : '1.8.3'
+ poetry_core : '1.9.0'
+ pyyaml: 'native'
PyFMI : '2.6'
Pygments : 'native'
pyparsing : 'native'
PyQt : 'native'
pyreadline : 'native'
+ pytest : 'native'
Python : 'native'
pytz : 'native'
qt : 'native'
'APPLICATION.products.netcdf' : '4.6.2'
'APPLICATION.products.qt' : '5.15.2'
'APPLICATION.products.qwt' : '6.1.6'
+ 'APPLICATION.products.poetry' : {tag: '1.5.1', base: 'no', section: 'version_1_5_1_x86_64' }
'APPLICATION.products.PyQt' : '5.15.3'
'APPLICATION.products.sip' : '5.5.0'
'APPLICATION.products.PyFMI' : {tag: '2.6', base: 'no', section: 'version_2_6_no_pip' }
'APPLICATION.products.opencv' : '3.2.0'
'APPLICATION.products.cminpack' : 'native'
'APPLICATION.products.hdf5' : 'native'
+ 'APPLICATION.products.pytest' : '8.1.1'
+ 'APPLICATION.products.poetry_core' : '1.6.1'
+ 'APPLICATION.products.poetry' : {tag: '1.5.1', base: 'no', section: 'version_1_5_1_x86_64' }
'APPLICATION.products.PyFMI' : {tag:'2.6', base: 'no', section: 'version_2_6_no_pip' }
'APPLICATION.products.qt' : '5.15.2'
'APPLICATION.products.qwt' : '6.1.6'
'APPLICATION.products.opencv' : '3.2.0'
'APPLICATION.products.hdf5' : 'native'
'APPLICATION.products.cminpack' : 'native'
+ 'APPLICATION.products.pytest' : '8.1.1'
+ 'APPLICATION.products.pyyaml' : {tag: '6.0', base: 'no', section: 'version_6_0_x86_64' }
'APPLICATION.products.mdurl' : {tag: '0.1.2', base: 'no', section: 'version_0_1_2_no_pip' }
'APPLICATION.products.markdown_it_py' : {tag: '3.0.0', base : 'no', section: 'version_3_0_0_no_pip'}
'APPLICATION.products.PyFMI' : {tag:'2.6', base: 'no', section: 'version_2_6_no_pip'}
'APPLICATION.products.swig' : '4.0.2'
'APPLICATION.products.tbb' : '2021.9.0'
'APPLICATION.products.PyFMI' : {tag: '2.6', base: 'no', section: 'version_2_6_DB12' }
+ 'APPLICATION.products.poetry' : {tag: '1.5.1', base: 'no', section: 'version_1_5_1_x86_64' }
'APPLICATION.products.ParaView' : {tag: '5.11.0', base: 'no', section: 'version_5_11_0_MPI_DB12', hpc: 'yes' }
}
{
'APPLICATION.products.meshio' : {tag: '5.3.5' , base: 'no', section: 'version_5_3_5_no_pip' }
'APPLICATION.products.h5py' : {tag: '3.11.0', base: 'no', section: 'version_3_11_0_no_pip'}
'APPLICATION.products.YACS' : {tag: 'master', base: 'no', section: 'version_master_FD32' }
+ 'APPLICATION.products.poetry_core' : {tag: '1.9.0', base: 'no', section: 'version_1_9_0_x86_64' }
+ 'APPLICATION.products.poetry' : {tag: '1.5.1', base: 'no', section: 'version_1_5_1_x86_64' }
}
{
__condition__ : "VARS.dist in ['FD34']"
workdir : $LOCAL.workdir + $VARS.sep + $APPLICATION.name
cmake_generator : 'Visual Studio 15 2017'
cmake_build_type: 'Release' # Debug, RelWithDebInfo, Release, MinSizeRel
- tag : 'master'
+ tag : 'master'
dev : 'no'
verbose : 'no'
debug : 'no'
{
# PREREQUISITES :
alabaster : '0.7.16'
+ attrs : '24.2.0'
Babel : '2.7.0'
+ BasicIterativeStatistics : 'v0.1.0'
boost : '1.67.0'
CAS : {tag:'CR780-SALOME-PATCH', section:'version_CR780_SALOME_PATCH_win', base: 'no'}
certifi : '2019.6.16'
doxygen : '1.8.3.1'
eigen : '3.3.4'
embree : '3.12.2'
+ exceptiongroup : '1.2.2'
expat : '2.0.1'
f2c : '1.0.0'
fftw: '3.3.9'
h5py : '3.11.0'
idna : '2.8'
imagesize : '1.1.0'
+ iniconfig : '2.0.0'
ispc : '1.15.0'
Jinja2 : '2.10.1'
kiwisolver : '1.4.5'
perl : '5.28.1.1'
Pillow : '10.2.0'
planegcs : '0.18-3cb6890'
+ pluggy : '1.5.0'
+ poetry_core : '1.9.0'
+ pyyaml: '6.0'
+ pytest : '8.3.2'
psutil : '5.9.8'
pthreads : '2.9.1'
PyFMI : '2.6'
swig : '4.0.2'
tbb : '2019_U8_win'
toml : '0.10.2'
+ tomli : '2.0.1'
tcltk : '8.6.9'
urllib3 : '1.25.3'
zlib : '1.2.5'
# PREREQUISITES :
alabaster : '0.7.6'
Babel : '2.14.0'
+ BasicIterativeStatistics : 'v0.1.0'
boost : '1.71.0'
CAS : {tag : 'CR780-SALOME-PATCH', section: 'version_CR780_SALOME_PATCH', base: 'no'}
catalyst: '2.0'
petsc : {tag : '3.16.0', base: 'no', section: 'version_3_16_0', hpc: 'yes'}
Pillow : '8.4.0'
planegcs : '0.18-3cb6890'
+ poetry : '1.8.3'
+ poetry_core : '1.9.0'
+ pyyaml: '6.0'
psutil : '5.9.8'
PyFMI : {tag: '2.6', base: 'no', section: 'version_2_6_no_pip'}
Pygments : '2.17.2'
pyparsing : '3.1.1'
PyQt : '5.15.3'
pyreadline : '2.0'
+ pytest : '8.1.1'
Python : '3.9.14'
pytz : '2017.2'
qt : '5.15.2'
__condition__ : "VARS.dist in ['CO7']"
'APPLICATION.rm_products' : ['gcc', 'gmp', 'mpc', 'mpfr']
'APPLICATION.products.openturns' : {tag:'1.22', base:'no', section:'version_1_22_CO7'}
+ 'APPLICATION.products.pyyaml' : {tag: '6.0', base: 'no', section: 'version_6_0_x86_64' }
+ 'APPLICATION.products.poetry' : {tag: '1.8.3', base: 'no', section: 'version_1_8_3_x86_64' }
}
{
__condition__ : "VARS.dist in ['CO8']"
--- /dev/null
+default :
+{
+ name : "BasicIterativeStatistics"
+ build_source : "script"
+ compil_script : "BasicIterativeStatistics" + $VARS.scriptExtension
+ get_source : "git"
+ git_info:
+ {
+ repositories :
+ {
+ github : "https://github.com/IterativeStatistics/BasicIterativeStatistics.git"
+ }
+ }
+ environ :
+ {
+ env_script: $name + ".py"
+ }
+ depend : ['Python', 'setuptools', 'numpy', 'pyyaml', 'openturns', 'poetry_core', 'pytest']
+ opt_depend: ['poetry']
+ patches : []
+ source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
+ build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
+ install_dir : 'base'
+ properties:
+ {
+ incremental : "yes"
+ pip : "no"
+ }
+}
+
+default_win :
+{
+ properties :
+ {
+ incremental : "yes"
+ pip : "no"
+ single_install_dir: 'no'
+ }
+}
+
+version_v0_1_0:
+{
+ patches: ['basicIterativeStatistics-pyver.patch']
+}
"MEDCOUPLING",
"medfile"
]
- opt_depend: ["openmpi", "mpi4py"]
+ opt_depend: ["openmpi", "mpi4py", "pytest"]
build_depend : ["cmake", "swig", "cppunit"]
source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
compil_script : "C3PO-v2.3.sh"
patches: ['C3PO-v2.3-0001.patch', 'C3PO-v2.3-0002.patch']
}
+
version_v2_0 :
{
patches: ['C3PO-v2.0.patch']
"CONFIGURATION"
]
build_depend : ["cmake", "swig", "doxygen", "graphviz", "cppunit"]
- opt_depend : []
+ opt_depend : ["BasicIterativeStatistics"]
source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
properties:
"CONFIGURATION",
"openmpi"
]
- opt_depend : ["ParMetis", "metis"]
+ opt_depend : ["ParMetis", "metis", "BasicIterativeStatistics"]
}
default_MPI_STD:
"openmpi",
"sphinx_rtd_theme"
]
- opt_depend : ["ParMetis"]
+ opt_depend : ["ParMetis", "BasicIterativeStatistics"]
}
version_micro:
--- /dev/null
+default :
+{
+ name : "attrs"
+ build_source : "script"
+ compil_script : 'pip_install' + $VARS.scriptExtension
+ get_source : "archive"
+ system_info :
+ {
+ rpm : ["python3-attrs"]
+ rpm_dev : []
+ apt : ["python3-attrs"]
+ apt_dev : []
+ }
+ environ :
+ {
+ env_script : $name + ".py"
+ }
+ depend : ['Python', 'setuptools', 'numpy', 'openturns', 'Cython', 'pluggy']
+ source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
+ build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
+ install_dir : 'base'
+ properties:
+ {
+ incremental : "yes"
+ pip : "yes"
+ }
+}
--- /dev/null
+default :
+{
+ name : "build"
+ build_source : "script"
+ compil_script : 'pip_install' + $VARS.scriptExtension
+ get_source : "archive"
+ system_info :
+ {
+ rpm : ["python3-build"]
+ rpm_dev : []
+ apt : ["python3-build"]
+ apt_dev : []
+ }
+ environ :
+ {
+ env_script : $name + ".py"
+ }
+ depend : ['Python', 'setuptools', 'numpy', 'openturns', 'Cython', 'poetry_core']
+ source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
+ build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
+ install_dir : 'base'
+ properties:
+ {
+ incremental : "yes"
+ pip : "yes"
+ }
+}
--- /dev/null
+@echo off
+
+echo ##########################################################################
+echo BasicIterativeStatistics %VERSION%
+echo ##########################################################################
+
+if NOT exist "%PRODUCT_INSTALL%" mkdir %PRODUCT_INSTALL%
+
+REM clean BUILD directory
+if exist "%BUILD_DIR%" rmdir /Q /S %BUILD_DIR%
+mkdir %BUILD_DIR%\cache\pip
+
+cd %SOURCE_DIR%
+xcopy * %BUILD_DIR%\ /E /I /Q
+cd %BUILD_DIR%
+
+REM Ensure that BasicIterativeStatistics is not present.
+%PYTHON_ROOT_DIR%\python.exe -m pip uninstall -y iterative_stats
+
+%PYTHON_ROOT_DIR%\python.exe -m pip install --cache-dir=%BUILD_DIR%\cache\pip . --no-deps --no-build-isolation
+if NOT %ERRORLEVEL% == 0 (
+ echo ERROR on python -m pip install
+ exit 3
+)
+
+echo.
+echo Product %PRODUCT_NAME% version: %VERSION%> %PRODUCT_INSTALL%\README.txt
+echo Installation folder: %PYTHON_ROOT_DIR%>> %PRODUCT_INSTALL%\README.txt
+
+echo.
+echo ########## END
--- /dev/null
+#!/bin/bash
+
+echo "##########################################################################"
+echo "BasicIterativeStatistics" $VERSION
+echo "##########################################################################"
+
+LINUX_DISTRIBUTION="$DIST_NAME$DIST_VERSION"
+
+echo $PYTHONPATH|tr ':' '\n'|grep -E 'poetry|pyyaml'
+mkdir -p ${PRODUCT_INSTALL}
+
+rm -rf $BUILD_DIR
+mkdir -p $BUILD_DIR/cache/pip
+cd $BUILD_DIR
+cp -R $SOURCE_DIR/* .
+
+echo
+
+echo "*** ${PYTHONBIN} -m pip install . --prefix=${PRODUCT_INSTALL}"
+${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip . --no-deps --prefix=$PRODUCT_INSTALL --no-build-isolation
+if [ $? -ne 0 ] ; then
+ echo "Error on pip install"
+ exit 1
+fi
+
+if [ -d ${PRODUCT_INSTALL}/local ];then
+ mv ${PRODUCT_INSTALL}/local/* ${PRODUCT_INSTALL}
+ rm -rf ${PRODUCT_INSTALL}/local
+fi
+
+if [ -d ${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/dist-packages ]; then
+ mv ${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/dist-packages ${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages
+fi
+
+echo
+echo "########## END"
exit 2
fi
-if [ "${SAT_Python_IS_NATIVE}" == "1" ]; then
+if [ "${SAT_Python_IS_NATIVE}" == "1" ] && [ "$PYTEST_ROOT_DIR" != "" ]; then
PYTEST=$(which pytest)
fi
--- /dev/null
+#!/bin/bash
+
+echo "##########################################################################"
+echo "poetry " $VERSION
+echo "##########################################################################"
+
+LINUX_DISTRIBUTION="$DIST_NAME$DIST_VERSION"
+echo "*** check installation"
+export PYTHONPATH=${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages:$PYTHONPATH
+export PATH=${PRODUCT_INSTALL}/bin:$PATH
+mkdir -p ${PRODUCT_INSTALL}
+rm -rf $BUILD_DIR
+mkdir -p $BUILD_DIR/cache/pip
+cd $BUILD_DIR
+
+USE_WHEELS=true
+export WHEELS=('poetry-1.5.1-py3-none-any.whl')
+for WHEEL in "${WHEELS[@]}"; do
+ echo $WHELL
+ ${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}/lib/python$PYTHON_VERSION/site-packages/bin ];then
+ mv ${PRODUCT_INSTALL}/lib/python$PYTHON_VERSION/site-packages/bin* ${PRODUCT_INSTALL}/bin
+fi
+
+echo
+echo "########## END"
--- /dev/null
+#!/bin/bash
+
+echo "##########################################################################"
+echo "poetry " $VERSION
+echo "##########################################################################"
+
+LINUX_DISTRIBUTION="$DIST_NAME$DIST_VERSION"
+echo "*** check installation"
+export PYTHONPATH=${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages:$PYTHONPATH
+export PATH=${PRODUCT_INSTALL}/bin:$PATH
+mkdir -p ${PRODUCT_INSTALL}
+rm -rf $BUILD_DIR
+mkdir -p $BUILD_DIR/cache/pip
+cd $BUILD_DIR
+
+USE_WHEELS=true
+case $LINUX_DISTRIBUTION in
+ DB10|UB20*|CO7)
+ export WHEELS=('poetry-1.8.3-py3-none-any.whl')
+ ;;
+ *)
+ exit 1
+ ;;
+esac
+if $USE_WHEELS == true ; then
+ for WHEEL in "${WHEELS[@]}"; do
+ echo $WHELL
+ ${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
+else
+ echo "Not implemented"
+fi
+if [ -d ${PRODUCT_INSTALL}/lib/python3.7/site-packages/bin ];then
+ mv ${PRODUCT_INSTALL}/lib/python3.7/site-packages/bin* ${PRODUCT_INSTALL}/bin
+fi
+
+echo
+echo "########## END"
--- /dev/null
+#!/bin/bash
+
+echo "##########################################################################"
+echo "poetry " $VERSION
+echo "##########################################################################"
+
+LINUX_DISTRIBUTION="$DIST_NAME$DIST_VERSION"
+echo "*** check installation"
+export PYTHONPATH=${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages:$PYTHONPATH
+export PATH=${PRODUCT_INSTALL}/bin:$PATH
+mkdir -p ${PRODUCT_INSTALL}
+rm -rf $BUILD_DIR
+mkdir -p $BUILD_DIR/cache/pip
+cd $BUILD_DIR
+cp -R $SOURCE_DIR/* .
+
+echo "*** ${PYTHONBIN} -m pip install . --prefix=${PRODUCT_INSTALL}"
+${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip . --prefix=$PRODUCT_INSTALL --no-build-isolation -vvv
+if [ $? -ne 0 ] ; then
+ echo "Error on pip install"
+ exit 1
+fi
+
+if [ -d ${PRODUCT_INSTALL}/local ];then
+ mv ${PRODUCT_INSTALL}/local/* ${PRODUCT_INSTALL}
+ rm -rf ${PRODUCT_INSTALL}/local
+fi
+
+if [ -d ${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/dist-packages ]; then
+ mv ${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/dist-packages ${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages
+fi
+
+echo
+echo "########## END"
--- /dev/null
+#!/bin/bash
+
+echo "##########################################################################"
+echo "poetry_core " $VERSION
+echo "##########################################################################"
+
+LINUX_DISTRIBUTION="$DIST_NAME$DIST_VERSION"
+echo "*** check installation"
+export PYTHONPATH=${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages:$PYTHONPATH
+export PATH=${PRODUCT_INSTALL}/bin:$PATH
+mkdir -p ${PRODUCT_INSTALL}
+rm -rf $BUILD_DIR
+mkdir -p $BUILD_DIR/cache/pip
+cd $BUILD_DIR
+
+export WHEELS=('poetry_core-1.9.0-py3-none-any.whl')
+for WHEEL in "${WHEELS[@]}"; do
+ echo $WHELL
+ ${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}/lib/python$PYTHON_VERSION/site-packages/bin ];then
+ mv ${PRODUCT_INSTALL}/lib/python$PYTHON_VERSION/site-packages/bin* ${PRODUCT_INSTALL}/bin
+fi
+
+echo
+echo "########## END"
--- /dev/null
+#!/bin/bash
+echo "##########################################################################"
+echo "poetry_core " $VERSION
+echo "##########################################################################"
+
+LINUX_DISTRIBUTION="$DIST_NAME$DIST_VERSION"
+echo "*** check installation"
+export PYTHONPATH=${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages:$PYTHONPATH
+export PATH=${PRODUCT_INSTALL}/bin:$PATH
+mkdir -p ${PRODUCT_INSTALL}
+rm -rf $BUILD_DIR
+mkdir -p $BUILD_DIR/cache/pip
+cd $BUILD_DIR
+cp -R $SOURCE_DIR/* .
+
+echo "*** ${PYTHONBIN} -m pip install . --prefix=${PRODUCT_INSTALL}"
+${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip . --prefix=$PRODUCT_INSTALL --no-build-isolation -vvv
+if [ $? -ne 0 ] ; then
+ echo "Error on pip install"
+ exit 1
+fi
+
+if [ -d ${PRODUCT_INSTALL}/local ];then
+ mv ${PRODUCT_INSTALL}/local/* ${PRODUCT_INSTALL}
+ rm -rf ${PRODUCT_INSTALL}/local
+fi
+
+if [ -d ${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/dist-packages ]; then
+ mv ${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/dist-packages ${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages
+fi
+
+echo
+echo "########## END"
--- /dev/null
+@echo off
+
+echo ##########################################################################
+echo pytest %VERSION%
+echo ##########################################################################
+
+if NOT exist "%PRODUCT_INSTALL%" mkdir %PRODUCT_INSTALL%
+
+REM clean BUILD directory
+if exist "%BUILD_DIR%" rmdir /Q /S %BUILD_DIR%
+mkdir %BUILD_DIR%\cache\pip
+
+cd %SOURCE_DIR%
+xcopy * %BUILD_DIR%\ /E /I /Q
+cd %BUILD_DIR%
+
+REM Ensure that pytest is not present.
+%PYTHON_ROOT_DIR%\python.exe -m pip uninstall -y pytest
+
+%PYTHON_ROOT_DIR%\python.exe setup.py install
+if NOT %ERRORLEVEL% == 0 (
+ echo ERROR on python setup.py
+ exit 3
+)
+
+echo.
+echo Product %PRODUCT_NAME% version: %VERSION%> %PRODUCT_INSTALL%\README.txt
+echo Installation folder: %PYTHON_ROOT_DIR%>> %PRODUCT_INSTALL%\README.txt
+
+echo.
+echo ########## END
--- /dev/null
+#!/bin/bash
+
+echo "##########################################################################"
+echo "pytest $VERSION"
+echo "##########################################################################"
+
+rm -rf "${BUILD_DIR}"
+mkdir "${BUILD_DIR}"
+cd "${BUILD_DIR}" || { echo "cd ${BUILD_DIR} fails"; exit 1; }
+cp -r "${SOURCE_DIR}"/* .
+
+
+if [ "${SAT_Python_IS_NATIVE}" == "1" ]; then
+ PYTEST=$(which pytest)
+fi
+
+if [ "${SAT_Python_IS_NATIVE}" != "1" ] || [ -z "${PYTEST}" ]; then
+ echo
+ echo "*** install with $PYTHONBIN -m pip install . --cache-dir=${BUILD_DIR}/cache/pip"
+ ${PYTHONBIN} -m pip install . --prefix=$PRODUCT_INSTALL --cache-dir=$BUILD_DIR/cache/pip -vvv
+ if [ $? -ne 0 ]; then
+ echo "pip install pytest fails"
+ echo 3
+ fi
+fi
+
+if [ -d ${PRODUCT_INSTALL}/local ];then
+ mv ${PRODUCT_INSTALL}/local/* ${PRODUCT_INSTALL}
+ rm -rf ${PRODUCT_INSTALL}/local
+fi
+
+if [ -d ${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/dist-packages ]; then
+ mv ${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/dist-packages ${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages
+fi
+
+echo
+echo "########## END"
--- /dev/null
+#!/bin/bash
+
+echo "##########################################################################"
+echo "pyyaml " $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
+USE_WHEELS=true
+case $LINUX_DISTRIBUTION in
+ DB11|CO7)
+ export WHEELS=('PyYAML-6.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl')
+ ;;
+ *)
+ exit 1
+ ;;
+esac
+if $USE_WHEELS == true ; then
+ for WHEEL in "${WHEELS[@]}"; do
+ echo $WHELL
+ ${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
+else
+ echo "Not implemented"
+fi
+
+echo
+echo "########## END"
--- /dev/null
+#!/bin/bash
+
+echo "##########################################################################"
+echo "pyyaml " $VERSION
+echo "##########################################################################"
+
+rm -rf $BUILD_DIR
+mkdir -p $BUILD_DIR
+cd $BUILD_DIR
+cp -R $SOURCE_DIR/* .
+
+echo
+echo "*** ${PYTHONBIN} -m pip install . --prefix=${PRODUCT_INSTALL}"
+if ! ${PYTHONBIN} -m pip install . --prefix=${PRODUCT_INSTALL} -vvv --no-deps; then
+ echo "Error on pip install"
+fi
+
+if [ -d ${PRODUCT_INSTALL}/local ];then
+ mv ${PRODUCT_INSTALL}/local/* ${PRODUCT_INSTALL}
+ rm -rf ${PRODUCT_INSTALL}/local
+fi
+
+if [ -d ${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/dist-packages ]; then
+ mv ${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/dist-packages ${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages
+fi
+
+echo
+echo "########## END"
--- /dev/null
+#!/usr/bin/env python
+#-*- coding:utf-8 -*-
+
+import os.path
+import platform
+
+def set_env(env, prereq_dir, version):
+ pyver = 'python' + env.get('PYTHON_VERSION')
+ env.set('BASICITERATIVESTATISTICS_ROOT_DIR',prereq_dir)
+ env.set("BASICITERATIVESTATISTICS_VERSION",version)
+ if not platform.system() == "Windows" :
+ env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'lib', pyver, 'site-packages'))
+ else:
+ pass
+
+def set_nativ_env(env):
+ pass
--- /dev/null
+#!/usr/bin/env python
+#-*- coding:utf-8 -*-
+
+import os.path, platform
+
+def set_env(env, prereq_dir, version):
+ env.set("ATTRS_ROOT_DIR",prereq_dir)
+
+ versionPython = env.get('PYTHON_VERSION')
+ if not platform.system() == "Windows" :
+ env.prepend('PYTHONPATH',os.path.join(prereq_dir, 'lib', 'python' + versionPython, 'site-packages'))
+ env.prepend('PATH', os.path.join(prereq_dir, 'bin'))
+ env.prepend('PYTHONPATH',os.path.join(prereq_dir, 'bin'))
+
+def set_nativ_env(env):
+ pass
--- /dev/null
+#!/usr/bin/env python
+#-*- coding:utf-8 -*-
+
+import os.path, platform
+
+def set_env(env, prereq_dir, version):
+ env.set("BUILDPY_ROOT_DIR",prereq_dir)
+
+ versionPython = env.get('PYTHON_VERSION')
+ if not platform.system() == "Windows" :
+ env.prepend('PYTHONPATH',os.path.join(prereq_dir, 'lib', 'python' + versionPython, 'site-packages'))
+ env.prepend('PATH', os.path.join(prereq_dir, 'bin'))
+ env.prepend('PYTHONPATH',os.path.join(prereq_dir, 'bin'))
+
+def set_nativ_env(env):
+ pass
--- /dev/null
+#!/usr/bin/env python
+#-*- coding:utf-8 -*-
+
+import os.path, platform
+
+def set_env(env, prereq_dir, version):
+ env.set("EXCEPTIONGROUP_ROOT_DIR",prereq_dir)
+
+ versionPython = env.get('PYTHON_VERSION')
+ if not platform.system() == "Windows" :
+ env.prepend('PYTHONPATH',os.path.join(prereq_dir, 'lib', 'python' + versionPython, 'site-packages'))
+ env.prepend('PATH', os.path.join(prereq_dir, 'bin'))
+ env.prepend('PYTHONPATH',os.path.join(prereq_dir, 'bin'))
+
+def set_nativ_env(env):
+ pass
--- /dev/null
+#!/usr/bin/env python
+#-*- coding:utf-8 -*-
+
+import os.path, platform
+
+def set_env(env, prereq_dir, version):
+ env.set("INICONFIG_ROOT_DIR",prereq_dir)
+
+ versionPython = env.get('PYTHON_VERSION')
+ if not platform.system() == "Windows" :
+ env.prepend('PYTHONPATH',os.path.join(prereq_dir, 'lib', 'python' + versionPython, 'site-packages'))
+ env.prepend('PATH', os.path.join(prereq_dir, 'bin'))
+ env.prepend('PYTHONPATH',os.path.join(prereq_dir, 'bin'))
+
+def set_nativ_env(env):
+ pass
--- /dev/null
+#!/usr/bin/env python
+#-*- coding:utf-8 -*-
+
+import os.path, platform
+
+def set_env(env, prereq_dir, version):
+ env.set("PLUGGY_ROOT_DIR",prereq_dir)
+
+ versionPython = env.get('PYTHON_VERSION')
+ if not platform.system() == "Windows" :
+ env.prepend('PYTHONPATH',os.path.join(prereq_dir, 'lib', 'python' + versionPython, 'site-packages'))
+ env.prepend('PATH', os.path.join(prereq_dir, 'bin'))
+ env.prepend('PYTHONPATH',os.path.join(prereq_dir, 'bin'))
+
+def set_nativ_env(env):
+ pass
--- /dev/null
+#!/usr/bin/env python
+#-*- coding:utf-8 -*-
+
+import os.path
+import platform
+
+def set_env(env, prereq_dir, version):
+ pyver = 'python' + env.get('PYTHON_VERSION')
+ env.set('POETRY_ROOT_DIR',prereq_dir)
+ env.set("POETRY_VERSION",version)
+ if not platform.system() == "Windows" :
+ env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'lib', pyver, 'site-packages'))
+ env.prepend('PATH', os.path.join(prereq_dir, 'bin'))
+ else:
+ pass
+
+def set_nativ_env(env):
+ pass
--- /dev/null
+#!/usr/bin/env python
+#-*- coding:utf-8 -*-
+
+import os.path
+import platform
+
+def set_env(env, prereq_dir, version):
+ pyver = 'python' + env.get('PYTHON_VERSION')
+ env.set('POETRY_CORE_ROOT_DIR',prereq_dir)
+ env.set("POETRY_CORE_VERSION",version)
+ if not platform.system() == "Windows" :
+ env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'lib', pyver, 'site-packages', 'poetry'))
+ env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'lib', pyver, 'site-packages'))
+ else:
+ pass
+
+def set_nativ_env(env):
+ pass
--- /dev/null
+#!/usr/bin/env python
+#-*- coding:utf-8 -*-
+
+import os.path
+import platform
+
+def set_env(env, prereq_dir, version):
+ pyver = 'python' + env.get('PYTHON_VERSION')
+ env.set('PYTEST_ROOT_DIR',prereq_dir)
+ env.set("PYTEST_VERSION",version)
+ if not platform.system() == "Windows" :
+ env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'lib', pyver, 'site-packages'))
+ env.append('PATH',os.path.join(prereq_dir,'bin'))
+ else:
+ pass
+
+def set_nativ_env(env):
+ pass
--- /dev/null
+#!/usr/bin/env python
+#-*- coding:utf-8 -*-
+
+import os.path
+import platform
+
+def set_env(env, prereq_dir, version):
+ pyver = 'python' + env.get('PYTHON_VERSION')
+ env.set('PYYAML_ROOT_DIR',prereq_dir)
+ env.set("PYYAML_VERSION",version)
+ if not platform.system() == "Windows" :
+ env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'lib', pyver, 'site-packages'))
+ else:
+ pass
+
+def set_nativ_env(env):
+ pass
--- /dev/null
+default :
+{
+ name : "exceptiongroup"
+ build_source : "script"
+ compil_script : 'pip_install' + $VARS.scriptExtension
+ get_source : "archive"
+ system_info :
+ {
+ rpm : []
+ rpm_dev : []
+ apt : []
+ apt_dev : []
+ }
+ environ :
+ {
+ env_script : $name + ".py"
+ }
+ depend : ['Python', 'setuptools', 'numpy', 'openturns', 'Cython', 'pluggy']
+ source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
+ build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
+ install_dir : 'base'
+ properties:
+ {
+ incremental : "yes"
+ pip : "yes"
+ }
+}
--- /dev/null
+default :
+{
+ name : "iniconfig"
+ build_source : "script"
+ compil_script : 'pip_install' + $VARS.scriptExtension
+ get_source : "archive"
+ system_info :
+ {
+ rpm : ["python3-iniconfig"]
+ rpm_dev : []
+ apt : ["python3-iniconfig"]
+ apt_dev : []
+ }
+ environ :
+ {
+ env_script : $name + ".py"
+ }
+ depend : ['Python', 'setuptools', 'numpy', 'openturns', 'Cython', 'pluggy']
+ source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
+ build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
+ install_dir : 'base'
+ properties:
+ {
+ incremental : "yes"
+ pip : "yes"
+ }
+}
--- /dev/null
+diff --git a/pyproject.toml b/pyproject.toml
+index 7e857b7..f4f0362 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -12,7 +12,7 @@ classifiers = [
+ ]
+
+ [tool.poetry.dependencies]
+-python = ">=3.8,<3.11"
++python = ">=3.7,<3.13"
+ pyyaml = "6.0"
+ numpy = "^1.19.0"
+
--- /dev/null
+default :
+{
+ name : "pluggy"
+ build_source : "script"
+ compil_script : 'pip_install' + $VARS.scriptExtension
+ get_source : "archive"
+ system_info :
+ {
+ rpm : ["python3-pluggy"]
+ rpm_dev : []
+ apt : ["python3-pluggy"]
+ apt_dev : []
+ }
+ environ :
+ {
+ env_script : $name + ".py"
+ }
+ depend : ['Python', 'setuptools', 'numpy', 'openturns', 'Cython']
+ source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
+ build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
+ install_dir : 'base'
+ properties:
+ {
+ incremental : "yes"
+ pip : "yes"
+ }
+}
--- /dev/null
+default :
+{
+ name : "poetry"
+ build_source : "script"
+ compil_script: "poetry" + $VARS.scriptExtension
+ get_source : "archive"
+ archive_info : {archive_name : $name + "-" + $APPLICATION.products.poetry + ".tar.gz"}
+ patches : []
+ system_info :
+ {
+ rpm : []
+ rpm_dev : []
+ apt : []
+ apt_dev : []
+ }
+ environ :
+ {
+ env_script : $name + ".py"
+ }
+ depend : ['Python', 'setuptools', 'numpy', 'openturns', 'Cython', 'pyyaml', 'pytest', 'poetry_core']
+ opt_depend : ['build']
+ source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
+ build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
+ install_dir : 'base'
+ properties:
+ {
+ incremental : "yes"
+ pip : "no"
+ }
+}
+
+default_win:
+{
+ properties:
+ {
+ incremental : "yes"
+ pip : "yes"
+ }
+}
+
+version_1_5_1_x86_64:
+{
+ compil_script: "poetry-1.5.1.sh"
+ archive_info : {archive_name : "poetry-1.5.1-x86_64.tar.gz"}
+}
+
+version_1_8_3_x86_64:
+{
+ compil_script: "poetry-1.8.3.sh"
+ archive_info : {archive_name : "poetry-1.8.3-x86_64.tar.gz"}
+}
--- /dev/null
+default :
+{
+ name : "poetry_core"
+ build_source : "script"
+ compil_script: "poetry_core" + $VARS.scriptExtension
+ get_source : "archive"
+ archive_info : {archive_name : $name + "-" + $APPLICATION.products.poetry_core + ".tar.gz"}
+ patches : []
+ system_info :
+ {
+ rpm : []
+ rpm_dev : []
+ apt : []
+ apt_dev : []
+ }
+ environ :
+ {
+ env_script : $name + ".py"
+ }
+ depend : ['Python', 'setuptools', 'numpy', 'openturns', 'Cython', 'pyyaml', 'pytest']
+ source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
+ build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
+ install_dir : 'base'
+ properties:
+ {
+ incremental : "yes"
+ pip : "no"
+ }
+}
+
+default_win:
+{
+ properties:
+ {
+ incremental : "yes"
+ pip : "yes"
+ }
+}
+
+version_1_9_0_x86_64:
+{
+ compil_script: "poetry_core-1.9.0.sh"
+ archive_info : {archive_name : "poetry-1.9.0-x86_64.tar.gz"}
+}
--- /dev/null
+default :
+{
+ name : "pytest"
+ build_source : "script"
+ compil_script: "pytest" + $VARS.scriptExtension
+ get_source : "archive"
+ archive_info : {archive_name : $name + "-" + $APPLICATION.products.pytest + ".tar.gz"}
+ patches : []
+ system_info :
+ {
+ rpm : []
+ rpm_dev : []
+ apt : ['python3-pytest']
+ apt_dev : []
+ }
+ environ :
+ {
+ env_script : $name + ".py"
+ }
+ depend : ['Python', 'setuptools', 'numpy', 'openturns', 'Cython']
+ source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
+ build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
+ install_dir : 'base'
+ properties:
+ {
+ incremental : "yes"
+ pip : "no"
+ }
+}
+
+default_win :
+{
+ properties :
+ {
+ incremental : "yes"
+ pip : "yes"
+ }
+ depend : ['Python', 'setuptools', 'numpy', 'openturns', 'Cython', 'iniconfig', 'exceptiongroup', 'tomli']
+}
--- /dev/null
+default :
+{
+ name : "pyyaml"
+ build_source : "script"
+ compil_script: "pyyaml" + $VARS.scriptExtension
+ get_source : "archive"
+ archive_info : {archive_name : $name + "-" + $APPLICATION.products.pyyaml + ".tar.gz"}
+ patches : []
+ system_info :
+ {
+ rpm : []
+ rpm_dev : []
+ apt : ['python3-yaml']
+ apt_dev : []
+ }
+ environ :
+ {
+ env_script : $name + ".py"
+ }
+ depend : ['Python', 'setuptools', 'numpy', 'openturns', 'Cython']
+ source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
+ build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
+ install_dir : 'base'
+ properties:
+ {
+ incremental : "yes"
+ pip : "no"
+ }
+}
+
+default_win:
+{
+ properties:
+ {
+ incremental : "yes"
+ pip : "yes"
+ }
+}
+
+version_6_0_x86_64:
+{
+ compil_script: "pyyaml-6.0.sh"
+ archive_info : {archive_name : "pyyaml-6.0-x86_64.tar.gz"}
+}