#Packager: George Vlahavas pkgname=matplotlib pkgver=1.5.1 pkgrel=1gv source=("http://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-$pkgver/matplotlib-$pkgver.tar.gz") docs=("readme.txt" "install" "copying" "changelog" "authors" "news" "todo" "interactive" "known_bugs") url=http://matplotlib.sourceforge.net slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "matplotlib (a python 2D plotting library)" "matplotlib is a python 2D plotting library which produces publication" "quality figures in a variety of hardcopy formats and interactive" "environments across platforms. matplotlib can be used in python" "scripts, the python and ipython shell, web application servers, and" "six graphical user interface toolkits." ) build() { cd $startdir/src/$pkgname-$pkgver # Use setup.cfg to tell setup.py not to install pytz and dateutil mv setup.cfg.template setup.cfg sed -i "s|#pytz|pytz|" setup.cfg sed -i "s|#dateutil|dateutil|" setup.cfg python setup.py install --prefix=/usr --root=$startdir/pkg }