2010-07-11 01:24:21 +00:00
|
|
|
#! /bin/sh
|
|
|
|
|
|
|
|
version=$1
|
|
|
|
|
|
|
|
[ -z $version ] && exit 1
|
|
|
|
|
|
|
|
dir=matplotlib-${version}
|
|
|
|
file=matplotlib-${version}.tar.gz
|
2015-02-25 03:25:45 +00:00
|
|
|
result=matplotlib-${version}-without-extern.tar.xz
|
2010-07-11 01:24:21 +00:00
|
|
|
|
2015-02-25 03:25:45 +00:00
|
|
|
test -f $file || wget -v http://downloads.sourceforge.net/matplotlib/$file
|
2011-02-18 10:09:44 +00:00
|
|
|
|
2010-07-11 01:24:21 +00:00
|
|
|
rm -rf matplotlib-${version}
|
|
|
|
tar xzf $file
|
|
|
|
|
2015-02-25 03:25:45 +00:00
|
|
|
rm -r matplotlib-${version}/extern/{agg24,CXX,qhull}
|
2010-07-11 01:24:21 +00:00
|
|
|
|
|
|
|
rm -f $result
|
2013-08-02 08:31:00 +00:00
|
|
|
tar cJf $result $dir
|