[yt-svn] commit/yt: 2 new changesets
Bitbucket
commits-noreply at bitbucket.org
Wed Feb 1 08:21:37 PST 2012
2 new commits in yt:
https://bitbucket.org/yt_analysis/yt/changeset/367ea3bfff2e/
changeset: 367ea3bfff2e
branch: yt
user: MatthewTurk
date: 2012-01-25 20:12:52
summary: Adding SHA512 hashes directly to the install script.
affected #: 1 file
diff -r 4ebd338ffa518a9609ad832df4628503ea3c233b -r 367ea3bfff2eb4791911cbf4039c33f9afc7d9ff doc/install_script.sh
--- a/doc/install_script.sh
+++ b/doc/install_script.sh
@@ -288,9 +288,12 @@
echo "Downloading $1 from yt-project.org"
[ -e $1 ] && return
${GETFILE} "http://yt-project.org/dependencies/$1" || do_exit
- ${GETFILE} "http://yt-project.org/dependencies/$1.md5" || do_exit
- ( which md5sum &> /dev/null ) || return # return if we don't have md5sum
- ( md5sum -c $1.md5 2>&1 ) 1>> ${LOG_FILE} || do_exit
+ if !( which sha512sum &> /dev/null )
+ then
+ echo "I am unable to locate sha512sum. FILE INTEGRITY NOT VERIFIED."
+ return # return if we don't have sha512sum
+ fi
+ ( sha512sum -c $1.sha512 2>&1 ) 1>> ${LOG_FILE} || do_exit
}
ORIG_PWD=`pwd`
@@ -304,6 +307,27 @@
mkdir -p ${DEST_DIR}/src
cd ${DEST_DIR}/src
+# Now we dump all our SHA512 files out.
+
+echo '8da1b0af98203254a1cf776d73d09433f15b5090871f9fd6d712cea32bcd44446b7323ae1069b28907d2728e77944a642825c61bc3b54ceb46c91897cc4f6051 Cython-0.15.1.tar.gz' > Cython-0.15.1.tar.gz.sha512
+echo '2564011f64cd7ea24d49c6103603ced857bcb79a3837032b959005b64f9da226a08c95d920ae59034ca2c5957a45c99949811649de9e5e73cdbb23396e11f756 Forthon-0.8.5.tar.gz' > Forthon-0.8.5.tar.gz.sha512
+echo 'b8a12bf05b3aafa71135e47da81440fd0f16a4bd91954bc5615ad3d3b7f9df7d5a7d5620dc61088dc6b04952c5c66ebda947a4cfa33ed1be614c8ca8c0f11dff PhiloGL-1.4.2.zip' > PhiloGL-1.4.2.zip.sha512
+echo '44eea803870a66ff0bab08d13a8b3388b5578ebc1c807d1d9dca0a93e6371e91b15d02917a00b3b20dc67abb5a21dabaf9b6e9257a561f85eeff2147ac73b478 PyX-0.11.1.tar.gz' > PyX-0.11.1.tar.gz.sha512
+echo '1a754d560bfa433f0960ab3b5a62edb5f291be98ec48cf4e5941fa5b84139e200b87a52efbbd6fa4a76d6feeff12439eed3e7a84db4421940d1bbb576f7a684e Python-2.7.2.tgz' > Python-2.7.2.tgz.sha512
+echo 'c017d3d59dd324ac91af0edc178c76b60a5f90fbb775cf843e39062f95bd846238f2c53705f8890ed3f34bc0e6e75671a73d13875eb0287d6201cb45f0a2d338 bzip2-1.0.5.tar.gz' > bzip2-1.0.5.tar.gz.sha512
+echo 'de73b14727c2a6623c19896d4c034ad0f705bf5ccbb8501c786a9d074cce97a7760db9246ae7da3db47dd2de29a1707a8a0ee17ab41a6d9140f2a7dbf455af0f ext-3.3.2.zip' > ext-3.3.2.zip.sha512
+echo '6d65dcbb77978d4f4a9711062f11ae9d61133ca086f9207a8c1ecea8807dc9612cc8c3b2428157d2fb00dea8e0958f61e35cce4e07987c80bc808bbda3608a6c ext-slate-110328.zip' > ext-slate-110328.zip.sha512
+echo 'b519218f93946400326e9b656669269ecb3e5232b944e18fbc3eadc4fe2b56244d68aae56d6f69042b4c87c58c881ee2aaa279561ea0f0f48d5842155f4de9de freetype-2.4.4.tar.gz' > freetype-2.4.4.tar.gz.sha512
+echo '1531789e0a77d4829796d18552a4de7aecae7e8b63763a7951a8091921995800740fe03e72a7dbd496a5590828131c5f046ddead695e5cba79343b8c205148d1 h5py-2.0.1.tar.gz' > h5py-2.0.1.tar.gz.sha512
+echo '9644896e4a84665ad22f87eb885cbd4a0c60a5c30085d5dd5dba5f3c148dbee626f0cb01e59a7995a84245448a3f1e9ba98687d3f10250e2ee763074ed8ddc0e hdf5-1.8.7.tar.gz' > hdf5-1.8.7.tar.gz.sha512
+echo '2c883d64886e5d595775dde497f101ff2ecec0786eabcdc69861c20e7d081e67b5e97551194236933b78f1ff7b119fcba0a9ce3aa4851440fc58f84d2094177b ipython-0.10.tar.gz' > ipython-0.10.tar.gz.sha512
+echo 'e748b66a379ee1e7963b045c3737670acf6aeeff1ebed679f427e74b642faa77404c2d5bbddb922339f009c229d0af1ae77cc43eab290e50af6157a6406d833f libpng-1.2.43.tar.gz' > libpng-1.2.43.tar.gz.sha512
+echo 'f5ab95c29ef6958096970265a6079f0eb8c43a500924346c4a6c6eb89d9110eeeb6c34a53715e71240e82ded2b76a7b8d5a9b05a07baa000b2926718264ad8ff matplotlib-1.1.0.tar.gz' > matplotlib-1.1.0.tar.gz.sha512
+echo '78715bb2bd7ed3291089948530a59d5eff146a64179eae87904a2c328716f26749abb0c5417d6001cadfeebabb4e24985d5a59ceaae4d98c4762163970f83975 mercurial-2.0.tar.gz' > mercurial-2.0.tar.gz.sha512
+echo 'de3dd37f753614055dcfed910e9886e03688b8078492df3da94b1ec37be796030be93291cba09e8212fffd3e0a63b086902c3c25a996cf1439e15c5b16e014d9 numpy-1.6.1.tar.gz' > numpy-1.6.1.tar.gz.sha512
+echo '5ad681f99e75849a5ca6f439c7a19bb51abc73d121b50f4f8e4c0da42891950f30407f761a53f0fe51b370b1dbd4c4f5a480557cb2444c8c7c7d5412b328a474 sqlite-autoconf-3070500.tar.gz' > sqlite-autoconf-3070500.tar.gz.sha512
+echo 'edae735960279d92acf58e1f4095c6392a7c2059b8f1d2c46648fc608a0fb06b392db2d073f4973f5762c034ea66596e769b95b3d26ad963a086b9b2d09825f2 zlib-1.2.3.tar.bz2' > zlib-1.2.3.tar.bz2.sha512
+
# Individual processes
if [ -z "$HDF5_DIR" ]
then
https://bitbucket.org/yt_analysis/yt/changeset/cc3c53c247df/
changeset: cc3c53c247df
branch: yt
user: MatthewTurk
date: 2012-01-25 22:07:34
summary: Adding a check for shasum versus sha512sum.
affected #: 1 file
diff -r 367ea3bfff2eb4791911cbf4039c33f9afc7d9ff -r cc3c53c247df905d4ca16be66e16bfe820b263e1 doc/install_script.sh
--- a/doc/install_script.sh
+++ b/doc/install_script.sh
@@ -283,17 +283,30 @@
export GETFILE="curl -sSO"
fi
+if type -P sha512sum &> /dev/null
+then
+ echo "Using sha512sum"
+ export SHASUM="sha512sum"
+elif type -P shasum &> /dev/null
+then
+ echo "Using shasum -a 512"
+ export SHASUM="shasum -a 512"
+else
+ echo
+ echo "I am unable to locate any shasum-like utility."
+ echo "ALL FILE INTEGRITY IS NOT VERIFIABLE."
+ echo "THIS IS PROBABLY A BIG DEAL."
+ echo
+ echo "(I'll hang out for a minute for you to consider this.)"
+ sleep 60
+fi
+
function get_enzotools
{
echo "Downloading $1 from yt-project.org"
[ -e $1 ] && return
${GETFILE} "http://yt-project.org/dependencies/$1" || do_exit
- if !( which sha512sum &> /dev/null )
- then
- echo "I am unable to locate sha512sum. FILE INTEGRITY NOT VERIFIED."
- return # return if we don't have sha512sum
- fi
- ( sha512sum -c $1.sha512 2>&1 ) 1>> ${LOG_FILE} || do_exit
+ ( ${SHASUM} -c $1.sha512 2>&1 ) 1>> ${LOG_FILE} || do_exit
}
ORIG_PWD=`pwd`
Repository URL: https://bitbucket.org/yt_analysis/yt/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the yt-svn
mailing list