source: trunk/dports/python/py-saga/Portfile

Last change on this file was 148976, checked in by raimue@…, 16 months ago

Mass update of python ports for master_sites pypi

The pypi hosting site changed the naming scheme for new uploads. While old URLs
continue to work, this possibly breaks updates as master_sites would need to be
changed. This patch updates all previously hardcoded references to
pypi.python.org to the pypi: mirror sites, which was already updated to check
at both the old and new location. See #51391.

Overriding maintainers as this is a mass update of ports.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 148976 2016-05-24 07:48:05Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7set _name           saga-python
8set _n              [string index ${_name} 0]
9
10name                py-saga
11version             0.28
12categories-append   net science
13platforms           darwin
14supported_archs     noarch
15license             MIT
16
17maintainers         petr openmaintainer
18
19description         A Simple API for Grid and Distributed Applications
20
21long_description    \
22    SAGA (Simple API for Grid Applications) defines a high-level interface to \
23    the most commonly used distributed computing functionality. SAGA-Python \
24    provides a Python module that is compliant with the OGF GFD.90 SAGA \
25    specification. Its main focus is ease of use and simple user-space \
26    deployment in heterogeneous distributed computing environments. \
27    It supports a wide range of application use-cases from simple, uncoupled \
28    tasks to complex workflows.
29
30homepage            http://saga-project.github.io/${_name}/
31
32distname            ${_name}-${version}
33master_sites        pypi:${_n}/${_name}/
34
35checksums           md5     ca1e7c1207beb865358f61e88afce5ec \
36                    rmd160  5d82d00a6cd7919f33d553ad0982c929dfd126d5 \
37                    sha256  62d3b2b7eab195af6f7654ca6e26d70d056c0339a2278e7f4a855711c7dfce68
38
39python.versions     27
40
41if {${name} ne ${subport}} {
42    depends_build-append    port:py${python.version}-setuptools
43
44    depends_lib-append      port:py${python.version}-colorama \
45                            port:py${python.version}-radical-utils \
46                            port:py${python.version}-libcloud
47
48    # testing only
49    depends_run-append      port:py${python.version}-nose
50
51    # Adding documentation
52    post-destroot {
53        set dest_doc ${destroot}${prefix}/share/doc/${subport}
54        xinstall -${dest_doc}
55        xinstall -m 755 -W ${worksrcpath} \
56            CHANGES.md \
57            LICENSE.md \
58            README.md \
59                ${dest_doc}
60    }
61
62    livecheck.type  none
63} else {
64    livecheck.type  regex
65    livecheck.url   https://pypi.python.org/pypi/${_name}/json
66    livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\""
67}
Note: See TracBrowser for help on using the repository browser.