[133075] trunk/dports/python/py-nio/Portfile

petr at macports.org petr at macports.org
Thu Feb 19 11:13:21 PST 2015


Revision: 133075
          https://trac.macports.org/changeset/133075
Author:   petr at macports.org
Date:     2015-02-19 11:13:21 -0800 (Thu, 19 Feb 2015)
Log Message:
-----------
py-nio: switch to automatic download

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

Modified: trunk/dports/python/py-nio/Portfile
===================================================================
--- trunk/dports/python/py-nio/Portfile	2015-02-19 18:39:15 UTC (rev 133074)
+++ trunk/dports/python/py-nio/Portfile	2015-02-19 19:13:21 UTC (rev 133075)
@@ -21,21 +21,14 @@
     written by Konrad Hinsen.
 
 homepage            http://www.pyngl.ucar.edu/Nio.shtml
-master_sites        http://www.pyngl.ucar.edu/Download/
 distname            PyNIO-${version}
 
+master_sites        "https://www.earthsystemgrid.org/download/fileDownload.htm?logicalFileId=e328ec94-306e-11df-8e89-00c0f03d5b7c&dummy="
+
 checksums           md5     c881b552cf914549f46d65a61f2d8cb0 \
                     sha1    288b70d83828e1cb99d3d7c61bd32b5c406c8b1a \
                     rmd160  b33d00041783ba259ae95f772c7fde0cf37d7303
 
-fetch {
-    if {![file exists ${distpath}/${distfiles}]} {
-        xinstall -d ${distpath}
-        ui_error "Download ${distfiles} manually and place it in ${distpath}.\n \
-            See instructions on ${master_sites}"
-    }
-}
-
 python.versions     26 27
 
 if {${name} ne ${subport}} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150219/f066bfc1/attachment-0001.html>


More information about the macports-changes mailing list