openVKL: '0.11.0'
ospray : '2.4.0'
packaging : '17.1'
+ packagespy : '9bb05ac'
pandas : '0.25.2'
patsy : '0.5.2'
ParaView : {tag:'5.11.0', base: 'no', section: 'version_5_11_0_MPI', hpc: 'yes'}
openturns: '1.19'
ospray : '2.4.0'
packaging : 'native'
+ packagespy : '9bb05ac'
pandas : 'native'
ParaView : {tag:'5.11.0', base: 'no', section: 'version_5_11_0_MPI', hpc: 'yes'}
PERSALYS: 'v13.0'
openVKL: '0.11.0'
ospray : '2.4.0'
packaging : '17.1'
+ packagespy : '9bb05ac'
pandas : '0.25.2'
patsy : '0.5.2'
ParaView : {tag:'5.11.0', base: 'no', section: 'version_5_11_0_MPI', hpc: 'yes'}
'GUI',
'MEDCOUPLING'
]
- build_depend : ["cmake", "swig", "doxygen", "graphviz","cppunit"]
+ build_depend : ["cmake", "swig", "doxygen", "graphviz","cppunit"]
+ opt_depend : ['packagespy']
# mscgen
source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
echo
echo "*** fix headers"
cd $PRODUCT_INSTALL/bin
-
pyVersionMajor=python$($PYTHONBIN -c 'import sys; print(".".join(map(str, sys.version_info[0:1])))')
if [ $? -ne 0 ]; then
- echo ERROR: Failed to extract major Python version - assuming Python version equal to 3...
- pyVersionMajor=python3
+ echo ERROR: Failed to extract major Python version - assuming Python version equal to 3...
+ pyVersionMajor=python3
elif [ "${pyVersionMajor}" == "python2" ]; then
- pyVersionMajor=python
+ pyVersionMajor=python
fi
echo INFO: Python version major: ${pyVersionMajor}
sed -e "s%#\!.*python[0-9]*%#\!/usr/bin/env ${pyVersionMajor}%" omniidl > _omniidl
--- /dev/null
+#!/bin/bash
+
+echo "##########################################################################"
+echo "packagespy" $VERSION
+echo "##########################################################################"
+
+# nothing to be done here, simply copy sources to installation directory
+cp -rf $SOURCE_DIR/packagespy $PRODUCT_INSTALL
+if [ $? -ne 0 ]
+then
+ echo "ERROR: could not copy to $PRODUCT_INSTALL"
+ exit 1
+fi
+cd $PRODUCT_INSTALL/
+PYTHON=${PYTHONBIN##*/}
+grep -rl '#!/usr/bin/env python' . |xargs sed -i "s%#\!/usr/bin/env python/#\!/usr/bin/env ${PYTHON}/g"
+
+echo
+echo "########## END"
--- /dev/null
+#!/usr/bin/env python
+#-*- coding:utf-8 -*-
+
+import os
+import platform
+
+def set_env(env, prereq_dir, version):
+ env.set("PACKAGESPY_ROOT_DIR",prereq_dir)
+ env.prepend('PYTHONPATH',prereq_dir)
+
+def set_nativ_env(env):
+ pass
--- /dev/null
+default :
+{
+ name : "packagespy"
+ build_source : "script"
+ compil_script : $name + $VARS.scriptExtension
+ get_source : "archive"
+ environ :
+ {
+ env_script : $name + ".py"
+ }
+ patches : []
+ depend : ["python", "setuptools"]
+ 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"
+ }
+}
+
+version_9bb05ac :
+{
+ archive_info : {archive_name : "packagespy-9bb05ac.tar.gz"}
+}