source: trunk/dports/python/py-radical-utils/Portfile

Last change on this file was 148976, checked in by raimue@…, 18 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: 1.9 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           radical.utils
8set _n              [string index ${_name} 0]
9
10name                py-radical-utils
11version             0.28
12categories-append   net parallel devel
13platforms           darwin
14supported_archs     noarch
15license             MIT
16
17maintainers         petr openmaintainer
18
19description         Shared code and tools for various Radical Group projects
20
21long_description    This Python package contains shared code and tools for \
22                    various Radical Group projects. Sometimes we call it the \
23                    Radical Kitchen Sink.
24
25homepage            https://github.com/saga-project/${_name}/
26
27distname            ${_name}-${version}
28master_sites        pypi:${_n}/${_name}/
29
30checksums           md5     6dff14928acd9f9bacf443cc4870aca0 \
31                    rmd160  398a0fd10f6ad05e455c4f3396338375ce19b16f \
32                    sha256  33172274a9e60a1558fce32f3c57d83260ced055321ae7a9a529174035607ff7
33
34python.versions     27
35
36if {${name} ne ${subport}} {
37    depends_build-append    port:py${python.version}-setuptools
38    depends_lib-append      port:py${python.version}-colorama \
39                            port:py${python.version}-pymongo \
40                            port:py${python.version}-nose
41
42    test.run        yes
43
44    # Adding documentation
45    post-destroot {
46        set dest_doc ${destroot}${prefix}/share/doc/${subport}
47        xinstall -${dest_doc}
48        xinstall -m 755 -W ${worksrcpath} \
49            LICENSE.md \
50            README.md \
51                ${dest_doc}
52    }
53
54    livecheck.type  none
55} else {
56    livecheck.type  regex
57    livecheck.url   https://pypi.python.org/pypi/${_name}/json
58    livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\""
59}
Note: See TracBrowser for help on using the repository browser.