[arch-commits] Commit in python-pyproj/trunk (PKGBUILD)

Eli Schwartz eschwartz at archlinux.org
Tue Jul 3 03:31:53 UTC 2018


    Date: Tuesday, July 3, 2018 @ 03:31:53
  Author: eschwartz
Revision: 350298

upgpkg: python-pyproj 1.9.5.1-6

python 3.7 rebuild

Modified:
  python-pyproj/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-03 00:49:51 UTC (rev 350297)
+++ PKGBUILD	2018-07-03 03:31:53 UTC (rev 350298)
@@ -5,12 +5,12 @@
 pkgbase=python-pyproj
 pkgname=('python-pyproj' 'python2-pyproj')
 pkgver=1.9.5.1
-pkgrel=5
+pkgrel=6
 pkgdesc="Python interfaces to PROJ.4 library"
 arch=('x86_64')
-url="http://jswhit.github.io/pyproj/"
+url="https://jswhit.github.io/pyproj/"
 license=('custom')
-makedepends=('python-setuptools' 'python2-setuptools' 'proj')
+makedepends=('python-setuptools' 'python2-setuptools' 'proj' 'cython')
 source=($pkgname-$pkgver.tar.gz::https://github.com/jswhit/pyproj/archive/v${pkgver}rel.tar.gz)
 sha256sums=('0e19f02ebbf4c253813142ffe06e12489f3861877c3fab75b6c769c1a1960cac')
 
@@ -17,6 +17,9 @@
 prepare() {
   cd "${srcdir}"
 
+  # regenerate for python 3.7
+  cythonize -f pyproj-${pkgver}rel/_proj.pyx
+
 # Remove RPATH
   sed -i "s/runtime_library_dirs=libdirs,//" pyproj-${pkgver}rel/setup.py
 



More information about the arch-commits mailing list