mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Simplify anaconda/miniconda definitions
This commit is contained in:
parent
47ce2155b4
commit
6e01f83742
12 changed files with 185 additions and 242 deletions
|
@ -771,6 +771,20 @@ build_package_pypy_builder() {
|
|||
build_package_pypy
|
||||
}
|
||||
|
||||
anaconda_architecture() {
|
||||
case "$(uname -s)" in
|
||||
"Darwin" ) echo "MaxOSX-x86_64" ;;
|
||||
"Linux" )
|
||||
case "$(uname -m)" in
|
||||
"i386" | "i486" | "i586" | "i686" | "i786" ) echo "Linux-x86" ;;
|
||||
"x86_64" ) echo "Linux-x86_64" ;;
|
||||
* ) return 1 ;;
|
||||
esac
|
||||
;;
|
||||
* ) return 1 ;;
|
||||
esac
|
||||
}
|
||||
|
||||
build_package_anaconda() {
|
||||
local package_name="$1"
|
||||
{ bash "${package_name}.sh" -b -p "${PREFIX_PATH}"
|
||||
|
|
|
@ -1,26 +1,19 @@
|
|||
case "$(uname -s)" in
|
||||
"Darwin" )
|
||||
package_name="Anaconda-1.4.0-MacOSX-x86_64"
|
||||
package_url="http://repo.continuum.io/archive/Anaconda-1.4.0-MacOSX-x86_64.sh#db8779f0a663e025da1b19755f372a57"
|
||||
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||
"Linux-x86" )
|
||||
install_script "Anaconda-1.4.0-Linux-x86" "http://repo.continuum.io/archive/Anaconda-1.4.0-Linux-x86.sh#d5826bb10bb25d2f03639f841ef2f65f" "anaconda" verify_py27
|
||||
;;
|
||||
"Linux" )
|
||||
case "$(uname -m)" in
|
||||
"i386" | "i486" | "i586" | "i686" | "i786" )
|
||||
package_name="Anaconda-1.4.0-Linux-x86"
|
||||
package_url="http://repo.continuum.io/archive/Anaconda-1.4.0-Linux-x86.sh#d5826bb10bb25d2f03639f841ef2f65f"
|
||||
;;
|
||||
"x86_64" )
|
||||
package_name="Anaconda-1.4.0-Linux-x86_64"
|
||||
package_url="http://repo.continuum.io/archive/Anaconda-1.4.0-Linux-x86_64.sh#9be0e7340f0cd2d2cbd5acbe8e988f45"
|
||||
;;
|
||||
esac
|
||||
"Linux-x86_64" )
|
||||
install_script "Anaconda-1.4.0-Linux-x86_64" "http://repo.continuum.io/archive/Anaconda-1.4.0-Linux-x86_64.sh#9be0e7340f0cd2d2cbd5acbe8e988f45" "anaconda" verify_py27
|
||||
;;
|
||||
"MacOSX-x86_64" )
|
||||
install_script "Anaconda-1.4.0-MacOSX-x86_64" "http://repo.continuum.io/archive/Anaconda-1.4.0-MacOSX-x86_64.sh#db8779f0a663e025da1b19755f372a57" "anaconda" verify_py27
|
||||
;;
|
||||
* )
|
||||
{ echo
|
||||
colorize 1 "ERROR"
|
||||
echo ": Precompiled binary of anaconda-1.4.0 is not available for $(uname -s)-$(uname -m)."
|
||||
echo
|
||||
} >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -n "${package_name}" ] && [ -n "${package_url}" ]; then
|
||||
install_script "${package_name}" "${package_url}" "anaconda" verify_py27
|
||||
else
|
||||
{ echo "Precompiled binary of anaconda-1.4.0 is not available for $(uname -s)-$(uname -m)."
|
||||
} 1>&4 2>&1
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
@ -1,26 +1,19 @@
|
|||
case "$(uname -s)" in
|
||||
"Darwin" )
|
||||
package_name="Anaconda-1.5.0-MacOSX-x86_64"
|
||||
package_url="http://repo.continuum.io/archive/Anaconda-1.5.0-MacOSX-x86_64.sh#6fe90601dbcecb29a2afcaf44aeb37f6"
|
||||
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||
"Linux-x86" )
|
||||
install_script "Anaconda-1.5.0-Linux-x86" "http://repo.continuum.io/archive/Anaconda-1.5.0-Linux-x86.sh#2a75cab6536838635fd38ee7fd3e2411" "anaconda" verify_py27
|
||||
;;
|
||||
"Linux" )
|
||||
case "$(uname -m)" in
|
||||
"i386" | "i486" | "i586" | "i686" | "i786" )
|
||||
package_name="Anaconda-1.5.0-Linux-x86"
|
||||
package_url="http://repo.continuum.io/archive/Anaconda-1.5.0-Linux-x86.sh#2a75cab6536838635fd38ee7fd3e2411"
|
||||
;;
|
||||
"x86_64" )
|
||||
package_name="Anaconda-1.5.0-Linux-x86_64"
|
||||
package_url="http://repo.continuum.io/archive/Anaconda-1.5.0-Linux-x86_64.sh#8319288082262fefbe322451aeae06ce"
|
||||
;;
|
||||
esac
|
||||
"Linux-x86_64" )
|
||||
install_script "Anaconda-1.5.0-Linux-x86_64" "http://repo.continuum.io/archive/Anaconda-1.5.0-Linux-x86_64.sh#8319288082262fefbe322451aeae06ce" "anaconda" verify_py27
|
||||
;;
|
||||
"MacOSX-x86_64" )
|
||||
install_script "Anaconda-1.5.0-MacOSX-x86_64" "http://repo.continuum.io/archive/Anaconda-1.5.0-MacOSX-x86_64.sh#6fe90601dbcecb29a2afcaf44aeb37f6" "anaconda" verify_py27
|
||||
;;
|
||||
* )
|
||||
{ echo
|
||||
colorize 1 "ERROR"
|
||||
echo "Precompiled binary of anaconda-1.5.0 is not available for $(uname -s)-$(uname -m)."
|
||||
echo
|
||||
} >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -n "${package_name}" ] && [ -n "${package_url}" ]; then
|
||||
install_script "${package_name}" "${package_url}" "anaconda" verify_py27
|
||||
else
|
||||
{ echo "Precompiled binary of anaconda-1.5.0 is not available for $(uname -s)-$(uname -m)."
|
||||
} 1>&4 2>&1
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
case "$(uname -s)" in
|
||||
"Darwin" )
|
||||
package_name="Anaconda-1.5.1-MacOSX-x86_64"
|
||||
package_url="http://repo.continuum.io/archive/Anaconda-1.5.1-MacOSX-x86_64.sh#03942512daf1b39eb3ff9016fc7efa0c"
|
||||
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||
"MacOSX-x86_64" )
|
||||
install_script "Anaconda-1.5.1-MacOSX-x86_64" "http://repo.continuum.io/archive/Anaconda-1.5.1-MacOSX-x86_64.sh#03942512daf1b39eb3ff9016fc7efa0c" "anaconda" verify_py27
|
||||
;;
|
||||
* )
|
||||
{ echo
|
||||
colorize 1 "ERROR"
|
||||
echo "Precompiled binary of anaconda-1.5.1 is not available for $(uname -s)-$(uname -m)."
|
||||
echo
|
||||
} >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -n "${package_name}" ] && [ -n "${package_url}" ]; then
|
||||
install_script "${package_name}" "${package_url}" "anaconda" verify_py27
|
||||
else
|
||||
{ echo "Precompiled binary of anaconda-1.5.1 is not available for $(uname -s)-$(uname -m)."
|
||||
} 1>&4 2>&1
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
@ -1,26 +1,19 @@
|
|||
case "$(uname -s)" in
|
||||
"Darwin" )
|
||||
package_name="Anaconda-1.6.0-MacOSX-x86_64"
|
||||
package_url="http://repo.continuum.io/archive/Anaconda-1.6.0-MacOSX-x86_64.sh#cccdd0353bfd46d3a93143fc6e47d728"
|
||||
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||
"Linux-x86" )
|
||||
install_script "Anaconda-1.6.0-Linux-x86" "http://repo.continuum.io/archive/Anaconda-1.6.0-Linux-x86.sh#7a7f1f53684d38a7aa36935e34af30a3" "anaconda" verify_py27
|
||||
;;
|
||||
"Linux" )
|
||||
case "$(uname -m)" in
|
||||
"i386" | "i486" | "i586" | "i686" | "i786" )
|
||||
package_name="Anaconda-1.6.0-Linux-x86"
|
||||
package_url="http://repo.continuum.io/archive/Anaconda-1.6.0-Linux-x86.sh#7a7f1f53684d38a7aa36935e34af30a3"
|
||||
;;
|
||||
"x86_64" )
|
||||
package_name="Anaconda-1.6.0-Linux-x86_64"
|
||||
package_url="http://repo.continuum.io/archive/Anaconda-1.6.0-Linux-x86_64.sh#207a0b4ebde49bcde67925ac8c72fe37"
|
||||
;;
|
||||
esac
|
||||
"Linux-x86_64" )
|
||||
install_script "Anaconda-1.6.0-Linux-x86_64" "http://repo.continuum.io/archive/Anaconda-1.6.0-Linux-x86_64.sh#207a0b4ebde49bcde67925ac8c72fe37" "anaconda" verify_py27
|
||||
;;
|
||||
"MacOSX-x86_64" )
|
||||
install_script "Anaconda-1.6.0-MacOSX-x86_64" "http://repo.continuum.io/archive/Anaconda-1.6.0-MacOSX-x86_64.sh#cccdd0353bfd46d3a93143fc6e47d728" "anaconda" verify_py27
|
||||
;;
|
||||
* )
|
||||
{ echo
|
||||
colorize 1 "ERROR"
|
||||
echo "Precompiled binary of anaconda-1.6.0 is not available for $(uname -s)-$(uname -m)."
|
||||
echo
|
||||
} >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -n "${package_name}" ] && [ -n "${package_url}" ]; then
|
||||
install_script "${package_name}" "${package_url}" "anaconda" verify_py27
|
||||
else
|
||||
{ echo "Precompiled binary of anaconda-1.6.0 is not available for $(uname -s)-$(uname -m)."
|
||||
} 1>&4 2>&1
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
@ -1,26 +1,19 @@
|
|||
case "$(uname -s)" in
|
||||
"Darwin" )
|
||||
package_name="Anaconda-1.6.1-MacOSX-x86_64"
|
||||
package_url="http://repo.continuum.io/archive/Anaconda-1.6.1-MacOSX-x86_64.sh#4b60123e71864c447a0adc16398d5386"
|
||||
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||
"Linux-x86" )
|
||||
install_script "Anaconda-1.6.1-Linux-x86" "http://repo.continuum.io/archive/Anaconda-1.6.1-Linux-x86.sh#06412ae8de02c87b8de7d7e6d35ed092" "anaconda" verify_py27
|
||||
;;
|
||||
"Linux" )
|
||||
case "$(uname -m)" in
|
||||
"i386" | "i486" | "i586" | "i686" | "i786" )
|
||||
package_name="Anaconda-1.6.1-Linux-x86"
|
||||
package_url="http://repo.continuum.io/archive/Anaconda-1.6.1-Linux-x86.sh#06412ae8de02c87b8de7d7e6d35ed092"
|
||||
;;
|
||||
"x86_64" )
|
||||
package_name="Anaconda-1.6.1-Linux-x86_64"
|
||||
package_url="http://repo.continuum.io/archive/Anaconda-1.6.1-Linux-x86_64.sh#70a1294c01e3ab5925fc52f2603de159"
|
||||
;;
|
||||
esac
|
||||
"Linux-x86_64" )
|
||||
install_script "Anaconda-1.6.1-Linux-x86_64" "http://repo.continuum.io/archive/Anaconda-1.6.1-Linux-x86_64.sh#70a1294c01e3ab5925fc52f2603de159" "anaconda" verify_py27
|
||||
;;
|
||||
"MacOSX-x86_64" )
|
||||
install_script "Anaconda-1.6.1-MacOSX-x86_64" "http://repo.continuum.io/archive/Anaconda-1.6.1-MacOSX-x86_64.sh#4b60123e71864c447a0adc16398d5386" "anaconda" verify_py27
|
||||
;;
|
||||
* )
|
||||
{ echo
|
||||
colorize 1 "ERROR"
|
||||
echo "Precompiled binary of anaconda-1.6.1 is not available for $(uname -s)-$(uname -m)."
|
||||
echo
|
||||
} >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -n "${package_name}" ] && [ -n "${package_url}" ]; then
|
||||
install_script "${package_name}" "${package_url}" "anaconda" verify_py27
|
||||
else
|
||||
{ echo "Precompiled binary of anaconda-1.6.1 is not available for $(uname -s)-$(uname -m)."
|
||||
} 1>&4 2>&1
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
@ -1,26 +1,19 @@
|
|||
case "$(uname -s)" in
|
||||
"Darwin" )
|
||||
package_name="Anaconda-1.7.0-MacOSX-x86_64"
|
||||
package_url="http://repo.continuum.io/archive/Anaconda-1.7.0-MacOSX-x86_64.sh#16194eb9be2301eeb135f9f01695a566"
|
||||
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||
"Linux-x86" )
|
||||
install_script "Anaconda-1.7.0-Linux-x86" "http://repo.continuum.io/archive/Anaconda-1.7.0-Linux-x86.sh#bbde22bd0346ad9c8932b4d98c0f4000" "anaconda" verify_py27
|
||||
;;
|
||||
"Linux" )
|
||||
case "$(uname -m)" in
|
||||
"i386" | "i486" | "i586" | "i686" | "i786" )
|
||||
package_name="Anaconda-1.7.0-Linux-x86"
|
||||
package_url="http://repo.continuum.io/archive/Anaconda-1.7.0-Linux-x86.sh#bbde22bd0346ad9c8932b4d98c0f4000"
|
||||
;;
|
||||
"x86_64" )
|
||||
package_name="Anaconda-1.7.0-Linux-x86_64"
|
||||
package_url="http://repo.continuum.io/archive/Anaconda-1.7.0-Linux-x86_64.sh#01dc7d6df2ed592e5401ab4fbe3aed4a"
|
||||
;;
|
||||
esac
|
||||
"Linux-x86_64" )
|
||||
install_script "Anaconda-1.7.0-Linux-x86_64" "http://repo.continuum.io/archive/Anaconda-1.7.0-Linux-x86_64.sh#01dc7d6df2ed592e5401ab4fbe3aed4a" "anaconda" verify_py27
|
||||
;;
|
||||
"MacOSX-x86_64" )
|
||||
install_script "Anaconda-1.7.0-MacOSX-x86_64" "http://repo.continuum.io/archive/Anaconda-1.7.0-MacOSX-x86_64.sh#16194eb9be2301eeb135f9f01695a566" "anaconda" verify_py27
|
||||
;;
|
||||
* )
|
||||
{ echo
|
||||
colorize 1 "ERROR"
|
||||
echo "Precompiled binary of anaconda-1.7.0 is not available for $(uname -s)-$(uname -m)."
|
||||
echo
|
||||
} >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -n "${package_name}" ] && [ -n "${package_url}" ]; then
|
||||
install_script "${package_name}" "${package_url}" "anaconda" verify_py27
|
||||
else
|
||||
{ echo "Precompiled binary of anaconda-1.7.0 is not available for $(uname -s)-$(uname -m)."
|
||||
} 1>&4 2>&1
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
@ -1,26 +1,19 @@
|
|||
case "$(uname -s)" in
|
||||
"Darwin" )
|
||||
package_name="Anaconda-1.8.0-MacOSX-x86_64"
|
||||
package_url="http://repo.continuum.io/archive/Anaconda-1.8.0-MacOSX-x86_64.sh#9fd7dd485c5f04fb65699a290e69671c"
|
||||
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||
"Linux-x86" )
|
||||
install_script "Anaconda-1.8.0-Linux-x86" "http://repo.continuum.io/archive/Anaconda-1.8.0-Linux-x86.sh#5028bf0aa7ff8a071d5532b8f8ec924c" "anaconda" verify_py27
|
||||
;;
|
||||
"Linux" )
|
||||
case "$(uname -m)" in
|
||||
"i386" | "i486" | "i586" | "i686" | "i786" )
|
||||
package_name="Anaconda-1.8.0-Linux-x86"
|
||||
package_url="http://repo.continuum.io/archive/Anaconda-1.8.0-Linux-x86.sh#5028bf0aa7ff8a071d5532b8f8ec924c"
|
||||
;;
|
||||
"x86_64" )
|
||||
package_name="Anaconda-1.8.0-Linux-x86_64"
|
||||
package_url="http://repo.continuum.io/archive/Anaconda-1.8.0-Linux-x86_64.sh#398d4b7ddc5c0a16c556c415b2444266"
|
||||
;;
|
||||
esac
|
||||
"Linux-x86_64" )
|
||||
install_script "Anaconda-1.8.0-Linux-x86_64" "http://repo.continuum.io/archive/Anaconda-1.8.0-Linux-x86_64.sh#398d4b7ddc5c0a16c556c415b2444266" "anaconda" verify_py27
|
||||
;;
|
||||
"MacOSX-x86_64" )
|
||||
install_script "Anaconda-1.8.0-MacOSX-x86_64" "http://repo.continuum.io/archive/Anaconda-1.8.0-MacOSX-x86_64.sh#9fd7dd485c5f04fb65699a290e69671c" "anaconda" verify_py27
|
||||
;;
|
||||
* )
|
||||
{ echo
|
||||
colorize 1 "ERROR"
|
||||
echo "Precompiled binary of anaconda-1.8.0 is not available for $(uname -s)-$(uname -m)."
|
||||
echo
|
||||
} >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -n "${package_name}" ] && [ -n "${package_url}" ]; then
|
||||
install_script "${package_name}" "${package_url}" "anaconda" verify_py27
|
||||
else
|
||||
{ echo "Precompiled binary of anaconda-1.8.0 is not available for $(uname -s)-$(uname -m)."
|
||||
} 1>&4 2>&1
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
@ -1,26 +1,19 @@
|
|||
case "$(uname -s)" in
|
||||
"Darwin" )
|
||||
package_name="Miniconda-2.2.2-MacOSX-x86_64"
|
||||
package_url="http://repo.continuum.io/miniconda/Miniconda-2.2.2-MacOSX-x86_64.sh#cd0c8059fd7040a25d015c67f85bbc44"
|
||||
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||
"Linux-x86" )
|
||||
install_script "Miniconda-2.2.2-Linux-x86" "http://repo.continuum.io/miniconda/Miniconda-2.2.2-Linux-x86.sh#26a4bdf7183aefa360f2aba8e9386a7f" "miniconda" verify_py27
|
||||
;;
|
||||
"Linux" )
|
||||
case "$(uname -m)" in
|
||||
"i386" | "i486" | "i586" | "i686" | "i786" )
|
||||
package_name="Miniconda-2.2.2-Linux-x86"
|
||||
package_url="http://repo.continuum.io/miniconda/Miniconda-2.2.2-Linux-x86.sh#26a4bdf7183aefa360f2aba8e9386a7f"
|
||||
;;
|
||||
"x86_64" )
|
||||
package_name="Miniconda-2.2.2-Linux-x86_64"
|
||||
package_url="http://repo.continuum.io/miniconda/Miniconda-2.2.2-Linux-x86_64.sh#a24a8baa264dee7cfd9286ae3d4add60"
|
||||
;;
|
||||
esac
|
||||
"Linux-x86_64" )
|
||||
install_script "Miniconda-2.2.2-Linux-x86_64" "http://repo.continuum.io/miniconda/Miniconda-2.2.2-Linux-x86_64.sh#a24a8baa264dee7cfd9286ae3d4add60" "miniconda" verify_py27
|
||||
;;
|
||||
"MacOSX-x86_64" )
|
||||
install_script "Miniconda-2.2.2-MacOSX-x86_64" "http://repo.continuum.io/miniconda/Miniconda-2.2.2-MacOSX-x86_64.sh#cd0c8059fd7040a25d015c67f85bbc44" "miniconda" verify_py27
|
||||
;;
|
||||
* )
|
||||
{ echo
|
||||
colorize 1 "ERROR"
|
||||
echo "Precompiled binary of miniconda-2.2.2 is not available for $(uname -s)-$(uname -m)."
|
||||
echo
|
||||
} >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -n "${package_name}" ] && [ -n "${package_url}" ]; then
|
||||
install_script "${package_name}" "${package_url}" "miniconda" verify_py27
|
||||
else
|
||||
{ echo "Precompiled binary of miniconda-2.2.2 is not available for $(uname -s)-$(uname -m)."
|
||||
} 1>&4 2>&1
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
@ -1,26 +1,19 @@
|
|||
case "$(uname -s)" in
|
||||
"Darwin" )
|
||||
package_name="Miniconda-3.0.0-MacOSX-x86_64"
|
||||
package_url="http://repo.continuum.io/miniconda/Miniconda-3.0.0-MacOSX-x86_64.sh#4dc63992aca6ddb3d10aba902ed00a56"
|
||||
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||
"Linux-x86" )
|
||||
install_script "Miniconda-3.0.0-Linux-x86" "http://repo.continuum.io/miniconda/Miniconda-3.0.0-Linux-x86.sh#9d1473a904a39f44d6f8e0860424d16b" "miniconda" verify_py27
|
||||
;;
|
||||
"Linux" )
|
||||
case "$(uname -m)" in
|
||||
"i386" | "i486" | "i586" | "i686" | "i786" )
|
||||
package_name="Miniconda-3.0.0-Linux-x86"
|
||||
package_url="http://repo.continuum.io/miniconda/Miniconda-3.0.0-Linux-x86.sh#9d1473a904a39f44d6f8e0860424d16b"
|
||||
;;
|
||||
"x86_64" )
|
||||
package_name="Miniconda-3.0.0-Linux-x86_64"
|
||||
package_url="http://repo.continuum.io/miniconda/Miniconda-3.0.0-Linux-x86_64.sh#acf150992cf8d5c332064b31ff885858"
|
||||
;;
|
||||
esac
|
||||
"Linux-x86_64" )
|
||||
install_script "Miniconda-3.0.0-Linux-x86_64" "http://repo.continuum.io/miniconda/Miniconda-3.0.0-Linux-x86_64.sh#acf150992cf8d5c332064b31ff885858" "miniconda" verify_py27
|
||||
;;
|
||||
"MacOSX-x86_64" )
|
||||
install_script "Miniconda-3.0.0-MacOSX-x86_64" "http://repo.continuum.io/miniconda/Miniconda-3.0.0-MacOSX-x86_64.sh#4dc63992aca6ddb3d10aba902ed00a56" "miniconda" verify_py27
|
||||
;;
|
||||
* )
|
||||
{ echo
|
||||
colorize 1 "ERROR"
|
||||
echo "Precompiled binary of miniconda-3.0.0 is not available for $(uname -s)-$(uname -m)."
|
||||
echo
|
||||
} >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -n "${package_name}" ] && [ -n "${package_url}" ]; then
|
||||
install_script "${package_name}" "${package_url}" "miniconda" verify_py27
|
||||
else
|
||||
{ echo "Precompiled binary of miniconda-3.0.0 is not available for $(uname -s)-$(uname -m)."
|
||||
} 1>&4 2>&1
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
@ -1,26 +1,19 @@
|
|||
case "$(uname -s)" in
|
||||
"Darwin" )
|
||||
package_name="Miniconda3-2.2.2-MacOSX-x86_64"
|
||||
package_url="http://repo.continuum.io/miniconda/Miniconda3-2.2.2-MacOSX-x86_64.sh#cc227b40bee9ea5f117114726f3b8a35"
|
||||
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||
"Linux-x86" )
|
||||
install_script "Miniconda3-2.2.2-Linux-x86" "http://repo.continuum.io/miniconda/Miniconda3-2.2.2-Linux-x86.sh#2dac0e1abf6b0599b6c59ccf3a8cbcf2" "miniconda" verify_py33
|
||||
;;
|
||||
"Linux" )
|
||||
case "$(uname -m)" in
|
||||
"i386" | "i486" | "i586" | "i686" | "i786" )
|
||||
package_name="Miniconda3-2.2.2-Linux-x86"
|
||||
package_url="http://repo.continuum.io/miniconda/Miniconda3-2.2.2-Linux-x86.sh#2dac0e1abf6b0599b6c59ccf3a8cbcf2"
|
||||
;;
|
||||
"x86_64" )
|
||||
package_name="Miniconda3-2.2.2-Linux-x86_64"
|
||||
package_url="http://repo.continuum.io/miniconda/Miniconda3-2.2.2-Linux-x86_64.sh#486bd0f9fa6a6f51e4194ce2a91a4b8e"
|
||||
;;
|
||||
esac
|
||||
"Linux-x86_64" )
|
||||
install_script "Miniconda3-2.2.2-Linux-x86_64" "http://repo.continuum.io/miniconda/Miniconda3-2.2.2-Linux-x86_64.sh#486bd0f9fa6a6f51e4194ce2a91a4b8e" "miniconda" verify_py33
|
||||
;;
|
||||
"MacOSX-x86_64" )
|
||||
install_script "Miniconda3-2.2.2-MacOSX-x86_64" "http://repo.continuum.io/miniconda/Miniconda3-2.2.2-MacOSX-x86_64.sh#cc227b40bee9ea5f117114726f3b8a35" "miniconda" verify_py33
|
||||
;;
|
||||
* )
|
||||
{ echo
|
||||
colorize 1 "ERROR"
|
||||
echo "Precompiled binary of miniconda3-2.2.2 is not available for $(uname -s)-$(uname -m)."
|
||||
echo
|
||||
} >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -n "${package_name}" ] && [ -n "${package_url}" ]; then
|
||||
install_script "${package_name}" "${package_url}" "miniconda" verify_py33
|
||||
else
|
||||
{ echo "Precompiled binary of miniconda3-2.2.2 is not available for $(uname -s)-$(uname -m)."
|
||||
} 1>&4 2>&1
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
@ -1,26 +1,19 @@
|
|||
case "$(uname -s)" in
|
||||
"Darwin" )
|
||||
package_name="Miniconda3-3.0.0-MacOSX-x86_64"
|
||||
package_url="http://repo.continuum.io/miniconda/Miniconda3-3.0.0-MacOSX-x86_64.sh#2b356f05895a0694fc59f7cd809038f2"
|
||||
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||
"Linux-x86" )
|
||||
install_script "Miniconda3-3.0.0-Linux-x86" "http://repo.continuum.io/miniconda/Miniconda3-3.0.0-Linux-x86.sh#4abe8655f5c361338fb317b018ce7c98" "miniconda" verify_py33
|
||||
;;
|
||||
"Linux" )
|
||||
case "$(uname -m)" in
|
||||
"i386" | "i486" | "i586" | "i686" | "i786" )
|
||||
package_name="Miniconda3-3.0.0-Linux-x86"
|
||||
package_url="http://repo.continuum.io/miniconda/Miniconda3-3.0.0-Linux-x86.sh#4abe8655f5c361338fb317b018ce7c98"
|
||||
;;
|
||||
"x86_64" )
|
||||
package_name="Miniconda3-3.0.0-Linux-x86_64"
|
||||
package_url="http://repo.continuum.io/miniconda/Miniconda3-3.0.0-Linux-x86_64.sh#f74f8e9223492ef292a9b2d87e265de9"
|
||||
;;
|
||||
esac
|
||||
"Linux-x86_64" )
|
||||
install_script "Miniconda3-3.0.0-Linux-x86_64" "http://repo.continuum.io/miniconda/Miniconda3-3.0.0-Linux-x86_64.sh#f74f8e9223492ef292a9b2d87e265de9" "miniconda" verify_py33
|
||||
;;
|
||||
"MacOSX-x86_64" )
|
||||
install_script "Miniconda3-3.0.0-MacOSX-x86_64" "http://repo.continuum.io/miniconda/Miniconda3-3.0.0-MacOSX-x86_64.sh#2b356f05895a0694fc59f7cd809038f2" "miniconda" verify_py33
|
||||
;;
|
||||
* )
|
||||
{ echo
|
||||
colorize 1 "ERROR"
|
||||
echo "Precompiled binary of miniconda3-3.0.0 is not available for $(uname -s)-$(uname -m)."
|
||||
echo
|
||||
} >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -n "${package_name}" ] && [ -n "${package_url}" ]; then
|
||||
install_script "${package_name}" "${package_url}" "miniconda" verify_py33
|
||||
else
|
||||
{ echo "Precompiled binary of miniconda3-3.0.0 is not available for $(uname -s)-$(uname -m)."
|
||||
} 1>&4 2>&1
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue