summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Mesa2017-04-06 09:55:55 -0500
committerSamuel Mesa2017-04-06 09:55:55 -0500
commit7d55ce79a2717125de8448d0179b78d82dcf614c (patch)
tree1e27be5d26f89343dddc14a7b27772d174013990
downloadaur-7d55ce79a2717125de8448d0179b78d82dcf614c.tar.gz
Initial version 3.0.13
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD23
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..fdf2c8542b4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = python-mapnik
+ pkgdesc = Python3 bindings for Mapnik
+ pkgver = 3.0.13
+ pkgrel = 1
+ url = https://github.com/mapnik/python-mapnik
+ arch = any
+ license = LGPL
+ makedepends = python-setuptools
+ depends = python
+ depends = mapnik
+ depends = python-cairo
+ depends = python-pypdf2
+ source = https://github.com/mapnik/python-mapnik/archive/v3.0.13.tar.gz
+ sha1sums = 0b60b471fb2afad080e703cf3ceae72e31633344
+
+pkgname = python-mapnik
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fccc2a7e647
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Samuel Mesa <samuelmesa@gmail.com>
+# based on script by: Johannes Löthberg <johannes@kyriasis.com>
+
+pkgname=python-mapnik
+pkgver=3.0.13
+pkgrel=1
+
+pkgdesc="Python3 bindings for Mapnik"
+url="https://github.com/mapnik/python-mapnik"
+arch=('any')
+license=('LGPL')
+
+depends=('python' 'mapnik' 'python-cairo' 'python-pypdf2')
+makedepends=('python-setuptools')
+
+source=("https://github.com/mapnik/python-mapnik/archive/v$pkgver.tar.gz")
+sha1sums=('0b60b471fb2afad080e703cf3ceae72e31633344')
+
+package() {
+ cd python-mapnik-$pkgver
+ PYCAIRO=true python setup.py install --root="$pkgdir" --optimize=1
+}
+