python-matplotlib/generate-tarball.sh
Thomas Spura eb0ae8e8e8 - update to new version
- filter private *.so files
2011-02-18 11:09:44 +01:00

20 lines
354 B
Bash
Executable File

#! /bin/sh
version=$1
[ -z $version ] && exit 1
dir=matplotlib-${version}
file=matplotlib-${version}.tar.gz
result=matplotlib-${version}-without-gpc.tar.gz
wget -vc http://downloads.sourceforge.net/matplotlib/$file
rm -rf matplotlib-${version}
tar xzf $file
rm matplotlib-${version}/agg24/include/agg_conv_gpc.h
rm -f $result
tar czf $result $dir