[123059] trunk/dports/python/py-cartopy/Portfile

petr at macports.org petr at macports.org
Mon Aug 4 11:07:33 PDT 2014


Revision: 123059
          https://trac.macports.org/changeset/123059
Author:   petr at macports.org
Date:     2014-08-04 11:07:33 -0700 (Mon, 04 Aug 2014)
Log Message:
-----------
py-cartopy @0.10.0: update to @0.11.1, modify dependencies;

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

Modified: trunk/dports/python/py-cartopy/Portfile
===================================================================
--- trunk/dports/python/py-cartopy/Portfile	2014-08-04 18:04:41 UTC (rev 123058)
+++ trunk/dports/python/py-cartopy/Portfile	2014-08-04 18:07:33 UTC (rev 123059)
@@ -5,7 +5,7 @@
 PortGroup           python 1.0
 PortGroup           github 1.0
 
-github.setup        SciTools cartopy 0.10.0 v
+github.setup        SciTools cartopy 0.11.1 v
 
 name                py-${github.project}
 categories-append   science gis graphics
@@ -25,9 +25,9 @@
 
 homepage            http://scitools.org.uk/cartopy/
 
-checksums           md5     85efc6a5b1542a2b6a52c8ca67ada127 \
-                    rmd160  899002e614241acb51a9b1ac8040eee4ab821b07 \
-                    sha256  c10dd63d3eed31f54cd3c48ce52d02a210a05357fc36c208bd067dbe65363b20
+checksums           md5     6b8b6b98e257a673ce9ab445cebedca4 \
+                    rmd160  1dfd40d5dba5c7f3d1cc6088d7e8835c20c9f088 \
+                    sha256  516f63d98aa3b2e3cac545d9021fbd568df392a54d5397796b696c06228702b5
 
 python.versions     27
 
@@ -37,21 +37,31 @@
                             port:py${python.version}-numpy
 
     depends_lib-append      port:proj \
-                            port:geos
-
-    depends_run-append      port:py${python.version}-numpy \
-                            port:py${python.version}-scipy \
+                            port:geos \
+                            port:py${python.version}-numpy \
                             port:py${python.version}-matplotlib \
                             port:py${python.version}-shapely \
-                            port:py${python.version}-pyshp
+                            port:py${python.version}-pyshp \
+                            port:py${python.version}-six
 
     # Required for post-installation testing only.
     depends_run-append      port:py${python.version}-nose \
                             port:py${python.version}-pep8 \
                             port:py${python.version}-mock
 
-    # PIL dependency: allow both PIL and Pillow to satisfy it.
-    depends_run-append      path:${python.pkgd}/PIL:py${python.version}-Pillow
+    # Adding documentation
+    post-destroot {
+        set dest_doc ${destroot}${prefix}/share/doc/${subport}
+        xinstall -d  ${dest_doc}
+        xinstall -m 755 -W ${worksrcpath} \
+            README.md \
+            INSTALL \
+            CHANGES \
+            COPYING \
+            COPYING.LESSER \
+            CONTRIBUTING.md \
+                ${dest_doc}
+    }
 
     livecheck.type  none
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140804/a81bb02f/attachment.html>


More information about the macports-changes mailing list