catalyst: '2.0'
C3PO: 'v2.3'
certifi : 'native'
+ cftime: 'native'
cgns : '4.2.0'
chardet : 'native'
click : 'native'
gdal : 'native'
gmsh : '4.10.3'
graphviz : 'native'
- h5py : '3.11.0'
+ h5py : 'native'
hdf5 : '1.10.3'
idna : 'native'
imagesize : 'native'
llvm : 'native'
markupsafe : 'native'
matplotlib : 'native'
+ mdurl : 'native'
+ markdown_it_py : '3.0.0'
medfile : '4.1.1'
mesa : {tag : '19.0.8-x86_64-'+$VARS.dist, base: 'no', section: 'version_bin'}
MeshGems : '2.15-1'
# comment out line above and uncomment the line below to use Netgen 6.
#netgen : '6.2.2101'
netcdf : 'native'
+ netCDF4: 'native'
nlopt : 'native'
nose: 'native'
numpy : 'native'
'APPLICATION.products.netcdf' : '4.6.2'
'APPLICATION.products.PyFMI' : {tag: '2.6', base: 'no', section: 'version_2_6_no_pip' }
'APPLICATION.products.scipy' : {tag: '1.5.2', base: 'no', section: 'version_1_5_2_no_pip' } # scipy >= 1.4 - system one too old
+ 'APPLICATION.products.mdurl' : {tag: '0.1.2', base: 'no', section: 'version_0_1_2' }
'APPLICATION.products.numpy' : {tag: '1.20.3', base: 'no', section: 'version_1_20_3' }
}
{
'APPLICATION.products.PyFMI' : {tag: '2.6', base: 'no', section: 'version_2_6_no_pip' }
'APPLICATION.products.Sphinx' : {tag: '1.7.6', base: 'no', section: 'version_1_7_6_no_pip' }
'APPLICATION.products.gdal' : {tag:'2.4.0', base: 'no', section: 'version_2_4_0_FD32' } # spns #29324
+ 'APPLICATION.products.mdurl' : {tag: '0.1.2', base: 'no', section: 'version_0_1_2' }
'APPLICATION.products.numpy' : {tag: '1.20.3', base: 'no', section: 'version_1_20_3' }
}
{
fi
;;
*)
+ echo "Not implemented"
+ exit 1
;;
esac
--- /dev/null
+#!/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=('markdown_it_py-3.0.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 --prefix=$PRODUCT_INSTALL
+ if [ $? -ne 0 ]; then
+ echo "ERROR: could not install $WHEEL"
+ exit 1
+ fi
+done
+
+echo
+echo "########## END"
--- /dev/null
+#!/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.2-py3-none-any.whl')
+for WHEEL in "${WHEELS[@]}"; do
+ ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip $SOURCE_DIR/$WHEEL --no-deps --prefix=$PRODUCT_INSTALL
+ if [ $? -ne 0 ]; then
+ echo "ERROR: could not install $WHEEL"
+ exit 1
+ fi
+done
+
+echo
+echo "########## END"
case $LINUX_DISTRIBUTION in
FD32|UB20*)
- WHEELS=('markdown_it_py-3.0.0-py3-none-any.whl'
- 'typing_extensions-4.11.0-py3-none-any.whl'
+ WHEELS=('typing_extensions-4.11.0-py3-none-any.whl'
'meshio-5.3.5-py3-none-any.whl'
)
for WHEEL in "${WHEELS[@]}"; do
done
;;
*)
+ echo "not implemented"
+ exit 1
;;
esac
mkdir -p $BUILD_DIR/cache/pip
cd $BUILD_DIR
-case $LINUX_DISTRIBUTION in
- FD32|UB20*)
- WHEELS=('rich-13.7.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 --prefix=$PRODUCT_INSTALL
- 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
- ;;
- *)
- ;;
-esac
+WHEELS=('rich-13.7.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 --prefix=$PRODUCT_INSTALL
+ 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"
{
name : "markdown_it_py"
build_source : "script"
- compil_script: "markdown_it_py.sh"
+ compil_script: "markdown-it-py.sh"
get_source : "archive"
patches : []
system_info :
{
- rpm : []
+ rpm : ['python3-markdown-it']
rpm_dev : []
- apt : []
+ apt : ['python3-markdown-it']
apt_dev : []
}
environ :
pip : "yes"
}
}
+
+version_3_0_0:
+{
+ compil_script: "markdown-it-py-3.0.0" + $VARS.scriptExtension
+ archive_info : {archive_name : "markdown-it-py-3.0.0-x86_64.tar.gz"}
+ properties :
+ {
+ incremental : "yes"
+ pip : "no"
+ }
+}
+
+version_3_0_0_win:
+{
+ archive_info : {archive_name : "markdown-it-py-3.0.0.tar.gz"}
+ properties :
+ {
+ incremental : "yes"
+ pip : "yes"
+ }
+}
patches : []
system_info :
{
- rpm : []
+ rpm : ['python3-mdurl']
rpm_dev : []
- apt : []
+ apt : ['python3-mdurl']
apt_dev : []
}
environ :
pip : "yes"
}
}
+
+version_0_1_2:
+{
+ compil_script: "mdurl-0.1.2" + $VARS.scriptExtension
+ archive_info : {archive_name : "mdurl-0.1.2-x86_64.tar.gz"}
+ properties :
+ {
+ incremental : "yes"
+ pip : "no"
+ }
+}
+
+version_0_1_2_win:
+{
+ archive_info : {archive_name : "mdurl-0.1.2.tar.gz"}
+ properties :
+ {
+ incremental : "yes"
+ pip : "yes"
+ }
+}
{
env_script : $name + ".py"
}
- depend : ['Python', 'numpy', 'hdf5', 'h5py', 'netcdf', 'rich']
+ depend : ['Python', 'numpy', 'hdf5', 'h5py', 'netcdf', 'rich', 'netCDF4']
source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
install_dir : 'base'
version_13_7_1:
{
+ depend : ['Python', 'numpy', 'hdf5', 'h5py', 'markdown_it_py', 'Pygments']
archive_info :
{
archive_name : "rich-13.7.1-x86_64.tar.gz"