'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']"
cd $BUILD_DIR
USE_WHEELS=true
-case $LINUX_DISTRIBUTION in
- DB10|UB20*|DB12)
- export WHEELS=('poetry-1.5.1-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
+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
--- /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"
pip : "no"
}
}
+
+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"}
+}