python-matplotlib/generate-tarball.sh
Zbigniew Jędrzejewski-Szmek 98dd5e3da2 New sources
2015-02-24 23:07:02 -05:00

20 lines
372 B
Bash
Executable File

#! /bin/sh
version=$1
[ -z $version ] && exit 1
dir=matplotlib-${version}
file=matplotlib-${version}.tar.gz
result=matplotlib-${version}-without-extern.tar.xz
test -f $file || wget -v http://downloads.sourceforge.net/matplotlib/$file
rm -rf matplotlib-${version}
tar xzf $file
rm -r matplotlib-${version}/extern/{agg24,CXX,qhull}
rm -f $result
tar cJf $result $dir