Ticket #41745: patch.py-saga.diff

File patch.py-saga.diff, 3.2 KB (added by petrrr, 11 years ago)

patch for py-saga/Portfile (updated 3)

  • Portfile

    old new  
    44PortSystem          1.0
    55PortGroup           python 1.0
    66
     7set _name           saga-python
     8set _n              [string index ${_name} 0]
     9
    710name                py-saga
    8 version             0.9.12
     11version             0.9.15
    912categories-append   net science
    1013platforms           darwin
    1114supported_archs     noarch
     
    1619
    1720description         A Simple API for Grid and Distributed Applications
    1821
    19 long_description    SAGA (Simple API for Grid Applications) defines a \
    20                     high-level interface to the most commonly used distributed \
    21                     computing functionality. SAGA-Python provides a Python \
    22                     module that is compliant with the OGF GFD.90 SAGA \
    23                     specification. Its main focus is ease of use and simple \
    24                     user-space deployment in heterogeneous distributed computing \
    25                     environments. It supports a wide range of application \
    26                     use-cases from simple, uncoupled tasks to complex workflows.
    27 
    28 homepage            http://saga-project.github.io/saga-python/
    29 
    30 distname            saga-python-${version}
    31 master_sites        http://pypi.python.org/packages/source/s/saga-python/
    32 
    33 checksums           md5     c5edc9524cdd638af471f81fdd809588 \
    34                     rmd160  e8654dced5553feff44a25dcff68e2c30c56b44d \
    35                     sha256  0a963261fadfc43982e0657a84ff3dac4ce801809910b648e39fa8539d73b56f
     22long_description    \
     23    SAGA (Simple API for Grid Applications) defines a high-level interface to \
     24    the most commonly used distributed computing functionality. SAGA-Python \
     25    provides a Python module that is compliant with the OGF GFD.90 SAGA \
     26    specification. Its main focus is ease of use and simple user-space \
     27    deployment in heterogeneous distributed computing environments. \
     28    It supports a wide range of application use-cases from simple, uncoupled \
     29    tasks to complex workflows.
     30
     31homepage            http://saga-project.github.io/${_name}/
     32
     33distname            ${_name}-${version}
     34master_sites        https://pypi.python.org/packages/source/${_n}/${_name}/
     35
     36checksums           md5     6001141951faebbca00d2c18ed9dcff9 \
     37                    rmd160  a9dc00d335efe91b0eee507b3802641f67688378 \
     38                    sha256  fb06183fcdd282bb7fc29abd272c14502e10cf1e469d4aeadd3dd9ff240b1595
    3639
    3740python.versions     26 27
    3841
    3942if {${name} ne ${subport}} {
    4043    depends_build-append    port:py${python.version}-setuptools
     44
     45    depends_lib-append      port:py${python.version}-colorama \
     46                            port:py${python.version}-radical-utils \
     47                            port:py${python.version}-libcloud                           
     48    # Adding documentation
     49    post-destroot {
     50        set dest_doc ${destroot}${prefix}/share/doc/${subport}
     51        xinstall -d  ${dest_doc}
     52        xinstall -m 755 -W ${worksrcpath} \
     53            CHANGES.md \
     54            LICENSE.md \
     55            README.md \
     56                ${dest_doc}
     57    }
    4158}
     59
     60livecheck.type      regex
     61livecheck.url       [lindex ${master_sites} 0]
     62livecheck.regex     ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<"