Ticket #40297: py-robotframework-ride.Portfile.diff
File py-robotframework-ride.Portfile.diff, 1.8 KB (added by mojca (Mojca Miklavec), 11 years ago) |
---|
-
Portfile
34 34 build.cmd ${python.bin} setup.py 35 35 destroot.cmd ${python.bin} setup.py 36 36 depends_lib-append port:py${python.version}-robotframework \ 37 port:py${python.version}-wxpython-2.8 \ 38 port:py${python.version}-paver 37 port:py${python.version}-paver 39 38 40 # TODO: this port probably needs a variant to switch between py-wxpython-2.8 and py-wxpython-3.041 # until it starts working properly on py-wxpython-3.042 # Depending on 2.8 for now43 # if {${os.major}>=12} {44 # depends_lib-delete port:py${python.version}-wxpython-2.845 # depends_lib-append port:py${python.version}-wxpython-3.046 # }47 48 39 post-extract { 49 40 reinplace "s/pybot/pybot-${python.branch}/g" $worksrcpath/src/robotide/contrib/testrunner/runprofiles.py 50 41 } 51 42 52 # with 'py-wxpython-3.0' and 'py-wxpython-2.8 +gtk' this should not be needed 53 # this should only be issued when depending on 'py-wxpython-2.8 +carbon' on 64-bit OS or deleted 54 # notes "To run, use 'arch -i386 ride.py-${python.branch}' to use 32bit architecture" 43 variant wxpython30 conflicts wxpython28 description {Use wxPython 3.0 with Cocoa (experimental)} { 44 depends_lib-append port:py${python.version}-wxpython-3.0 45 notes-append "Warning: wxPython 3.0 is not fully compatible with robotframework-ride.\n" 46 } 47 48 variant wxpython28 conflicts wxpython28 description {Use wxPython 2.8 with GTK} { 49 depends_lib-append port:py${python.version}-wxpython-2.8 50 } 51 52 if {![variant_isset wxpython30] && ![variant_isset wxpython28]} { 53 default_variants +wxpython28 54 } 55 55 } 56 56 57 57 if {${name} eq ${subport}} {