[115025] trunk/dports/python/py-saga/Portfile

mojca at macports.org mojca at macports.org
Sun Dec 22 02:58:17 PST 2013


Revision: 115025
          https://trac.macports.org/changeset/115025
Author:   mojca at macports.org
Date:     2013-12-22 02:58:17 -0800 (Sun, 22 Dec 2013)
Log Message:
-----------
py-saga: upgrade to 0.9.15 (maintainer, #41745)

 * reformat long_description to fit a 80 char terminal
 * master_sites now uses https to avoid redirect
 * avoid hardcoding of package name in master_sites and homepage
 * add livecheck

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

Modified: trunk/dports/python/py-saga/Portfile
===================================================================
--- trunk/dports/python/py-saga/Portfile	2013-12-22 10:50:37 UTC (rev 115024)
+++ trunk/dports/python/py-saga/Portfile	2013-12-22 10:58:17 UTC (rev 115025)
@@ -4,8 +4,11 @@
 PortSystem          1.0
 PortGroup           python 1.0
 
+set _name           saga-python
+set _n              [string index ${_name} 0]
+
 name                py-saga
-version             0.9.12
+version             0.9.15
 categories-append   net science
 platforms           darwin
 supported_archs     noarch
@@ -16,26 +19,44 @@
 
 description         A Simple API for Grid and Distributed Applications
 
-long_description    SAGA (Simple API for Grid Applications) defines a \
-                    high-level interface to the most commonly used distributed \
-                    computing functionality. SAGA-Python provides a Python \
-                    module that is compliant with the OGF GFD.90 SAGA \
-                    specification. Its main focus is ease of use and simple \
-                    user-space deployment in heterogeneous distributed computing \
-                    environments. It supports a wide range of application \
-                    use-cases from simple, uncoupled tasks to complex workflows.
+long_description    \
+    SAGA (Simple API for Grid Applications) defines a high-level interface to \
+    the most commonly used distributed computing functionality. SAGA-Python \
+    provides a Python module that is compliant with the OGF GFD.90 SAGA \
+    specification. Its main focus is ease of use and simple user-space \
+    deployment in heterogeneous distributed computing environments. \
+    It supports a wide range of application use-cases from simple, uncoupled \
+    tasks to complex workflows.
 
-homepage            http://saga-project.github.io/saga-python/
+homepage            http://saga-project.github.io/${_name}/
 
-distname            saga-python-${version}
-master_sites        http://pypi.python.org/packages/source/s/saga-python/
+distname            ${_name}-${version}
+master_sites        https://pypi.python.org/packages/source/${_n}/${_name}/
 
-checksums           md5     c5edc9524cdd638af471f81fdd809588 \
-                    rmd160  e8654dced5553feff44a25dcff68e2c30c56b44d \
-                    sha256  0a963261fadfc43982e0657a84ff3dac4ce801809910b648e39fa8539d73b56f
+checksums           md5     6001141951faebbca00d2c18ed9dcff9 \
+                    rmd160  a9dc00d335efe91b0eee507b3802641f67688378 \
+                    sha256  fb06183fcdd282bb7fc29abd272c14502e10cf1e469d4aeadd3dd9ff240b1595
 
 python.versions     26 27
 
 if {${name} ne ${subport}} {
     depends_build-append    port:py${python.version}-setuptools
+
+    depends_lib-append      port:py${python.version}-colorama \
+                            port:py${python.version}-radical-utils \
+                            port:py${python.version}-libcloud
+    # Adding documentation
+    post-destroot {
+        set dest_doc ${destroot}${prefix}/share/doc/${subport}
+        xinstall -d  ${dest_doc}
+        xinstall -m 755 -W ${worksrcpath} \
+            CHANGES.md \
+            LICENSE.md \
+            README.md \
+                ${dest_doc}
+    }
 }
+
+livecheck.type      regex
+livecheck.url       [lindex ${master_sites} 0]
+livecheck.regex     ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131222/fc11e792/attachment-0001.html>


More information about the macports-changes mailing list