summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Mesa2018-10-21 14:08:23 -0500
committerSamuel Mesa2018-10-21 14:08:23 -0500
commitb83724d0771eb754a538899510118d2f8c1b1e19 (patch)
treebfd80db56956ca9a7cdc887d248e3f2551ef0a47
parent2388b968609b3a433522d494932a8b876ce1497b (diff)
downloadaur-b83724d0771eb754a538899510118d2f8c1b1e19.tar.gz
Fix error building with PYCAIRO
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c4293aed9d7..4f21900ff27 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-mapnik
pkgdesc = Python3 bindings for Mapnik
pkgver = 3.0.16
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/mapnik/python-mapnik
arch = any
license = LGPL
diff --git a/PKGBUILD b/PKGBUILD
index a014b9b1534..45450076f84 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=python-mapnik
pkgver=3.0.16
-pkgrel=1
+pkgrel=2
pkgdesc="Python3 bindings for Mapnik"
url="https://github.com/mapnik/python-mapnik"
@@ -18,6 +18,7 @@ sha1sums=('8e30049954b14282667677a5d5a145eddedfc8df')
package() {
cd python-mapnik-$pkgver
- PYCAIRO=true python setup.py install --root="$pkgdir" --optimize=1
+ export PYCAIRO_NO_IMPORT
+ python setup.py install --root="$pkgdir" --optimize=1
}