diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-20 03:40:05 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-20 03:40:05 +0000 |
commit | f4e0d41bdfa80b65960c85d4d526814a91f52e62 (patch) | |
tree | 43653b6dcc8152642eeb803f19d9b247a3aed871 /community/python-matplotlib/PKGBUILD | |
parent | a7868499c166c245f671318faaaf777a802fbefe (diff) |
Mon Jan 20 03:36:38 UTC 2014
Diffstat (limited to 'community/python-matplotlib/PKGBUILD')
-rw-r--r-- | community/python-matplotlib/PKGBUILD | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/community/python-matplotlib/PKGBUILD b/community/python-matplotlib/PKGBUILD index d6c9dac0f..fa82979c0 100644 --- a/community/python-matplotlib/PKGBUILD +++ b/community/python-matplotlib/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 98442 2013-10-10 15:29:19Z fyan $ +# $Id: PKGBUILD 104353 2014-01-19 04:17:18Z bgyorgy $ # Maintainer: Stéphane Gaudreault <stephane@archlinux.org> # Contributor: Stefan Husmann <stefan-husmann@t-online.de> # Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve> @@ -7,7 +7,7 @@ pkgbase=python-matplotlib pkgname=('python2-matplotlib' 'python-matplotlib') pkgver=1.3.1 -pkgrel=1 +pkgrel=2 pkgdesc="A python plotting library, making publication quality plots" arch=('i686' 'x86_64') url='http://matplotlib.org' @@ -20,18 +20,23 @@ optdepends=('pygtk: for use with the GTK or GTKAgg backend' 'tk: used by the TkAgg backend' 'ghostscript: usetex dependencies' 'texlive-bin: usetex dependencies') -source=("http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-${pkgver}/matplotlib-${pkgver}.tar.gz") +source=("http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-${pkgver}/matplotlib-${pkgver}.tar.gz" + "ffmpeg-2.0.patch") +sha512sums=('04877aa15b6d52a6f813e8377098d13c432f66ae2522c544575440180944c9b73a2164ae63edd3a0eff807883bf7b39cd55f28454ccee8c76146567ff4a6fd40' + 'f76cde48aee9819f080bc34717c9cb6270f6dfac0490e7b19673ee665392be1837621aa858435f48595fa7d095e8efaee6737c87f9d42419499f5b8b8b001129') prepare() { cp -a matplotlib-${pkgver} matplotlib-${pkgver}-py3 cd matplotlib-${pkgver} + patch -Np1 -i ../ffmpeg-2.0.patch for file in $(find . -name '*.py' -print); do sed -i -e "s|^#!.*/usr/bin/python|#!/usr/bin/python2|" \ -e "s|^#!.*/usr/bin/env *python|#!/usr/bin/env python2|" ${file} done cd ../matplotlib-${pkgver}-py3 + patch -Np1 -i ../ffmpeg-2.0.patch for file in $(find . -name '*.py' -print); do sed -i -e "s|^#!.*/usr/bin/python|#!/usr/bin/python3|" \ -e "s|^#!.*/usr/bin/env *python|#!/usr/bin/env python3|" ${file} @@ -65,4 +70,3 @@ package_python-matplotlib() { install -dm755 "${pkgdir}"/usr/share/licenses/python-matplotlib install -m 644 doc/users/license.rst "${pkgdir}"/usr/share/licenses/python-matplotlib } -sha512sums=('04877aa15b6d52a6f813e8377098d13c432f66ae2522c544575440180944c9b73a2164ae63edd3a0eff807883bf7b39cd55f28454ccee8c76146567ff4a6fd40') |