summaryrefslogtreecommitdiff
path: root/extra/python-cairo/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/python-cairo/PKGBUILD')
-rw-r--r--extra/python-cairo/PKGBUILD17
1 files changed, 11 insertions, 6 deletions
diff --git a/extra/python-cairo/PKGBUILD b/extra/python-cairo/PKGBUILD
index 2ecb2b88f..fe4cd5832 100644
--- a/extra/python-cairo/PKGBUILD
+++ b/extra/python-cairo/PKGBUILD
@@ -1,20 +1,25 @@
-# $Id: PKGBUILD 198388 2013-10-30 14:34:05Z allan $
+# $Id: PKGBUILD 208839 2014-03-27 14:43:25Z fyan $
# Maintainer: Angel Velasquez <angvp@archlinux.org>
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=python-cairo
pkgver=1.10.0
-pkgrel=3
+pkgrel=4
pkgdesc="Python bindings for the cairo graphics library"
arch=('i686' 'x86_64')
url="http://www.cairographics.org/pycairo"
license=('LGPL3')
depends=('python' 'cairo')
-source=(http://cairographics.org/releases/pycairo-${pkgver}.tar.bz2)
-md5sums=('e6fd3f2f1e6a72e0db0868c4985669c5')
+source=(http://cairographics.org/releases/pycairo-${pkgver}.tar.bz2
+ pycairo-1.10.0-waf-python3.4.patch)
+md5sums=('e6fd3f2f1e6a72e0db0868c4985669c5'
+ '418e36055c75392f6501918d1c33d448')
build() {
- cd "${srcdir}/pycairo-${pkgver}"
+ cd pycairo-${pkgver}
+
+ # https://bugs.gentoo.org/show_bug.cgi?id=504342
+ patch -i "$srcdir/pycairo-1.10.0-waf-python3.4.patch"
# Ensure that ./waf has created the cached unpacked version
# of the wafadmin source tree.
@@ -27,6 +32,6 @@ build() {
}
package() {
- cd "${srcdir}/pycairo-${pkgver}"
+ cd pycairo-${pkgver}
./waf install --destdir="${pkgdir}"
}