Files
MX_Pmodule/Programming/anaconda/build
Spencer Bliven 8ce24107fc Update anaconda module
- Update build script with best practices for variables, download
  location, etc.
- Format modulefile info
- Activate base environment by default
- More robust unloading script
2019-04-08 17:00:22 +02:00

25 lines
517 B
Plaintext
Executable File

#!/usr/bin/env modbuild
pbuild::add_to_group 'Programming'
source "${BUILDBLOCK_DIR}/files/config-${V_PKG}.sh"
pbuild::pre_prep() {
curl -fsSLo "$PMODULES_DISTFILESDIR/Miniconda2-${CONDA_VERSION}-Linux-x86_64.sh" \
"https://repo.anaconda.com/miniconda/Miniconda2-${CONDA_VERSION}-Linux-x86_64.sh"
}
pbuild::configure() {
:
}
pbuild::compile() {
:
}
pbuild::install() {
# Install conda
bash "$PMODULES_DISTFILESDIR/Miniconda2-${CONDA_VERSION}-Linux-x86_64.sh" \
-b -p "$PREFIX/conda"
}