[149298] trunk/dports/python/py-ngl/Portfile

petr at macports.org petr at macports.org
Fri Jun 10 00:19:49 PDT 2016


Revision: 149298
          https://trac.macports.org/changeset/149298
Author:   petr at macports.org
Date:     2016-06-10 00:19:48 -0700 (Fri, 10 Jun 2016)
Log Message:
-----------
py-ngl: fetch automatically

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

Modified: trunk/dports/python/py-ngl/Portfile
===================================================================
--- trunk/dports/python/py-ngl/Portfile	2016-06-10 06:54:37 UTC (rev 149297)
+++ trunk/dports/python/py-ngl/Portfile	2016-06-10 07:19:48 UTC (rev 149298)
@@ -19,22 +19,14 @@
     with an emphasis on high-quality 2D visualizations.
 
 homepage            http://www.pyngl.ucar.edu/
-master_sites        http://www.pyngl.ucar.edu/Download/
 distname            PyNGL-${version}
 
+master_sites        https://www.earthsystemgrid.org/download/fileDownload.htm?logicalFileId=40003c7a-306d-11df-8e89-00c0f03d5b7c&dummy=
+
 checksums           md5     231e0ad8ab7f295483f131367ab856cc \
-                    sha1    76bbb03c05f0acb1591172543d3decc7c4397422 \
-                    rmd160  bd4357d46af0a723cd81c16bdb0ecc3df03fa6a2
+                    rmd160  bd4357d46af0a723cd81c16bdb0ecc3df03fa6a2 \
+                    sha256  0666f605033609680f3e7312ae412a5a5b8792bc8f423b3cae3ae3e4af235a25
 
-# FIXME: download automatically
-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/20160610/20439098/attachment-0001.html>


More information about the macports-changes mailing list