source: trunk/dports/python/py-robotframework-ride/Portfile

Last change on this file was 148976, checked in by raimue@…, 14 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.0 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
6PortGroup           wxWidgets 1.0
7
8name                py-robotframework-ride
9set internal_name   robotframework-ride
10
11version             1.5.2.1
12
13license             Apache-2
14
15categories-append   devel
16maintainers         jwa
17description         Robot Framework test case editor
18long_description    ${description}
19
20homepage            http://code.google.com/p/${internal_name}
21
22platforms           darwin
23python.versions     26 27
24python.default_version 27
25
26master_sites        pypi:r/${internal_name}
27distname            ${internal_name}-${version}
28
29checksums           rmd160  7698d06de28271c1909dcaffb90f08a2b37bcb44 \
30                    sha256  50c929f2629b0e86fc39d45887061df784a4ac9df39ccfcb87660c49897d1862
31
32if {${name} ne ${subport}} {
33    build.cmd           ${python.bin} setup.py
34    destroot.cmd        ${python.bin} setup.py
35    depends_lib-append  port:py${python.version}-robotframework \
36                        port:py${python.version}-paver
37
38    post-extract {
39        reinplace "s/pybot/pybot-${python.branch}/g" $worksrcpath/src/robotide/contrib/testrunner/runprofiles.py
40    }
41
42    variant wxpython30 conflicts wxpython28 description {Use wxPython 3.0 with Cocoa (experimental)} {
43        depends_lib-append  port:py${python.version}-wxpython-3.0
44        notes-append "Warning: wxPython 3.0 is not fully compatible with robotframework-ride.\n"
45    }
46
47    variant wxpython28 conflicts wxpython30 description {Use wxPython 2.8 with GTK} {
48        depends_lib-append  port:py${python.version}-wxpython-2.8
49    }
50
51    if {![variant_isset wxpython30] && ![variant_isset wxpython28]} {
52        default_variants    +wxpython28
53    }
54}
55
56if {${name} eq ${subport}} {
57    livecheck.type      regex
58    livecheck.url      https://pypi.python.org/pypi/${internal_name}
59    livecheck.regex     ${internal_name} (\[0-9.\]+)\<
60} else {
61    livecheck.type      none
62}
Note: See TracBrowser for help on using the repository browser.