#!/bin/bash
#
# Trigger vars and find information
#
# $Id$
#
######################################################################

######################################################################
#
# Set variables whose change should not trigger a rebuild or will
# by value change trigger a rebuild, as change of this file will not
# trigger a rebuild.
# E.g: version, builds, deps, auxdata, paths, builds of other packages
#
######################################################################

setScipyTriggerVars() {
  SCIPY_BLDRVERSION_STD=0.13.3
  SCIPY_BLDRVERSION_EXP=0.16.1
  computeVersion scipy
  if [[ `uname` =~ "CYGWIN" ]] && ! $NUMPY_WIN_USE_FORTRAN; then
    SCIPY_BUILDS=${SCIPY_BUILDS:-"NONE"}
  else
    SCIPY_BUILDS=${SCIPY_BUILDS:-"pycsh"}
  fi
  SCIPY_DEPS=numpy
  if $SCIPY_USE_ATLAS; then
    SCIPY_DEPS=$SCIPY_DEPS,atlas
  fi
  SCIPY_DEPS=$SCIPY_DEPS,clapack_cmake,lapack
}
setScipyTriggerVars

######################################################################
#
# Find scipy
#
######################################################################

getInstScipyNodes() {
# Get full paths, convert to native as needed
  local nodes=("$PYTHON_SITEPKGSDIR/scipy" "$PYTHON_SITEPKGSDIR/scipy-${SCIPY_BLDRVERSION}-py${PYTHON_MAJMIN}.egg-info")
  echo ${nodes[*]}
}

findScipy() {
  techo "scipy installation nodes are `getInstScipyNodes`."
}


#!/bin/bash
#
# Trigger vars and find information
#
# $Id$
#
######################################################################

######################################################################
#
# Set variables whose change should not trigger a rebuild or will
# by value change trigger a rebuild, as change of this file will not
# trigger a rebuild.
# E.g: version, builds, deps, auxdata, paths, builds of other packages
#
######################################################################

setScipyTriggerVars() {
  SCIPY_BLDRVERSION_STD=0.13.3
  SCIPY_BLDRVERSION_EXP=0.17.1
  computeVersion scipy
  if [[ `uname` =~ "CYGWIN" ]] && ! $NUMPY_WIN_USE_FORTRAN; then
    SCIPY_BUILDS=${SCIPY_BUILDS:-"NONE"}
  else
    SCIPY_BUILDS=${SCIPY_BUILDS:-"pycsh"}
  fi
  SCIPY_DEPS=numpy
  if $SCIPY_USE_ATLAS; then
    SCIPY_DEPS=$SCIPY_DEPS,atlas
  fi
  SCIPY_DEPS=$SCIPY_DEPS,clapack_cmake,lapack
}
setScipyTriggerVars

######################################################################
#
# Find scipy
#
######################################################################

getInstScipyNodes() {
# Get full paths, convert to native as needed
  local nodes=("$PYTHON_SITEPKGSDIR/scipy" "$PYTHON_SITEPKGSDIR/scipy-${SCIPY_BLDRVERSION}-py${PYTHON_MAJMIN}.egg-info")
  echo ${nodes[*]}
}

findScipy() {
  techo "scipy installation nodes are `getInstScipyNodes`."
}


Upgrade exp version of scipy.
Upgrade exp version of scipy.

git-svn-id: 06aac1f7aa6783202dd435920b98a457d633d0b0@3127 a9e16012-fd73-49ee-95cb-036de7809213
