[125254] trunk/dports/python/py-rasterio

stromnov at macports.org stromnov at macports.org
Thu Sep 11 12:02:03 PDT 2014


Revision: 125254
          https://trac.macports.org/changeset/125254
Author:   stromnov at macports.org
Date:     2014-09-11 12:02:03 -0700 (Thu, 11 Sep 2014)
Log Message:
-----------
py-rasterio: update to version 0.13

Modified Paths:
--------------
    trunk/dports/python/py-rasterio/Portfile

Added Paths:
-----------
    trunk/dports/python/py-rasterio/files/
    trunk/dports/python/py-rasterio/files/patch-setup.py.diff

Modified: trunk/dports/python/py-rasterio/Portfile
===================================================================
--- trunk/dports/python/py-rasterio/Portfile	2014-09-11 19:01:54 UTC (rev 125253)
+++ trunk/dports/python/py-rasterio/Portfile	2014-09-11 19:02:03 UTC (rev 125254)
@@ -5,8 +5,8 @@
 PortGroup           python 1.0
 
 name                py-rasterio
-version             0.12.1
-revision            1
+version             0.13
+revision            0
 categories-append   gis
 platforms           darwin
 license             BSD
@@ -23,13 +23,15 @@
 
 distname            rasterio-${version}
 
-checksums           rmd160  87084beb9223287a0cafbe39a9e3b7cf0287c9b7 \
-                    sha256  92bcc20371644abdf7bf16139b31840086a4c0bfbac66d995650f0a66a333209
+checksums           rmd160  6961783019338087764f2c2975fe081830da5a8b \
+                    sha256  19febac31f7a0316e8eff782b34cfba621037892bfc0078a12e503c54b7d1165
 
 if {${name} ne ${subport}} {
     depends_build-append \
-                        port:py${python.version}-setuptools
-    depends_lib-append  port:py${python.version}-numpy \
+                        port:py${python.version}-cython
+
+    depends_lib-append  port:py${python.version}-setuptools \
+                        port:py${python.version}-numpy \
                         port:py${python.version}-click \
                         port:py${python.version}-affine \
                         port:py${python.version}-pyproj \
@@ -39,6 +41,9 @@
         depends_lib-append  port:py${python.version}-enum34
     }
 
+    # Use newer Cython (fix build for python 3.4+)
+    patchfiles-append   patch-setup.py.diff
+
     livecheck.type      none
 } else {
     livecheck.type      regex

Added: trunk/dports/python/py-rasterio/files/patch-setup.py.diff
===================================================================
--- trunk/dports/python/py-rasterio/files/patch-setup.py.diff	                        (rev 0)
+++ trunk/dports/python/py-rasterio/files/patch-setup.py.diff	2014-09-11 19:02:03 UTC (rev 125254)
@@ -0,0 +1,21 @@
+--- setup.py.orig	2014-09-11 22:56:13.000000000 +0400
++++ setup.py	2014-09-11 22:57:05.000000000 +0400
+@@ -71,8 +71,7 @@
+     extra_link_args=extra_link_args)
+ 
+ # When building from a repo, Cython is required.
+-if os.path.exists("MANIFEST.in") and "clean" not in sys.argv:
+-    log.info("MANIFEST.in found, presume a repo, cythonizing...")
++if True:
+     if not cythonize:
+         log.critical(
+             "Cython.Build.cythonize not found. "
+@@ -126,7 +125,7 @@
+     'affine>=1.0',
+     'click',
+     'Numpy>=1.7',
+-    'setuptools' ] 
++    'setuptools' ]
+ 
+ if sys.version_info < (3, 4):
+     inst_reqs.append('enum34')
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140911/79d57255/attachment.html>


More information about the macports-changes mailing list