Adding upstream version 1.6.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
a5555eb4a1
commit
d5b8e0af0d
42 changed files with 3857 additions and 0 deletions
33
recipe/conda_build.sh
Normal file
33
recipe/conda_build.sh
Normal file
|
@ -0,0 +1,33 @@
|
|||
export VERSION="1.5.3"
|
||||
export BUILD_NAME="0"
|
||||
export CONDA_BLD_PATH=~/conda-bld
|
||||
USER="e3sm"
|
||||
PLATFORM="noarch"
|
||||
PKG="treelib"
|
||||
|
||||
if [ -d $CONDA_BLD_PATH ]; then
|
||||
rm -rf $CONDA_BLD_PATH
|
||||
fi
|
||||
echo "Creating build dir at" $CONDA_BLD_PATH
|
||||
mkdir $CONDA_BLD_PATH
|
||||
|
||||
conda config --set anaconda_upload no
|
||||
if [ ! -z "$1" ]; then
|
||||
export TAG="$1"
|
||||
else
|
||||
export TAG="master"
|
||||
fi
|
||||
echo "Building" $VERSION"-"$BUILD_NAME "for label:" $TAG
|
||||
|
||||
conda build .
|
||||
|
||||
if [ $? -eq 1 ]; then
|
||||
echo "conda build failed"
|
||||
exit
|
||||
fi
|
||||
|
||||
if [ ! -z "$1" ]; then
|
||||
anaconda upload -u $USER -l "$1" $CONDA_BLD_PATH/$PLATFORM/$PKG-$VERSION-$BUILD_NAME.tar.bz2
|
||||
else
|
||||
anaconda upload -u $USER $CONDA_BLD_PATH/$PLATFORM/$PKG-$VERSION-$BUILD_NAME.tar.bz2
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue