Ticket #42059: py-pyface_Portfile.diff

File py-pyface_Portfile.diff, 2.7 KB (added by jjstickel (Jonathan Stickel), 10 years ago)
  • python/py-pyface/Portfile

    old new  
    55PortGroup                   python 1.0
    66#PortGroup              wxWidgets 1.0
    77
     8PortGroup           github 1.0
     9github.setup        enthought pyface 4.4.0
     10
    811name                    py-pyface
    9 version                 4.2.0
    10 revision                1
    1112categories-append       devel
    1213license                 BSD
    1314maintainers             gmail.com:jjstickel openmaintainer
     
    1819                        abstraction layer, which is used to support the\
    1920                        "visualization" features of the Traits package.
    2021platforms               darwin
    21 homepage                https://github.com/enthought/pyface
    22 master_sites            http://www.enthought.com/repo/ets/
    23 distname                pyface-${version}
    2422
    25 checksums               rmd160  cd4656b8cab966e6e9ef298a09926b596f1be6cf \
    26                         sha256  f2dfc6edaca3e51f3efcdf4e1d85d1cf219e2989959c4683a6cff4f28d4f801c
     23checksums           rmd160  667a4b7acbab68167c53a158dd21487d0303e97b \
     24                    sha256  f675d9ddb736328fc6ec8d1daf94d3779b66ed6640596dcc4a1d96c141806548
    2725
    2826python.versions         26 27
    2927
    3028if {${name} ne ${subport}} {
    3129    depends_build-append    port:py${python.version}-setuptools
    3230    depends_lib-append      port:py${python.version}-traits
    33 }
    3431
    35 # removing wx variant until wxwidgets/wxpython mess gets sorted out; see ticke
    36 # 38375, JJS 8/2/13
    37 # variant wx description {Use wxWidgets backend} {
    38 #     if {${name} ne ${subport}} {
    39 #         depends_lib-append      port:py${python.version}-wxpython-2.8
    40 #     }
    41 # }
     32    # # wx-3.0 is not fully compatible with enthought, JJS 1/8/14
     33    # variant wx description {Use wxWidgets backend} {
     34    #     depends_lib-append      port:py${python.version}-wxpython-3.0
     35    # }
    4236
    43 variant pyqt4 conflicts pyside description "Qt backend using PyQt4" {
    44     if {${name} ne ${subport}} {
     37    variant pyqt4 conflicts pyside description "Qt backend using PyQt4" {
    4538        # Can use either py*-pyqt4 or py*-pyqt4-devel.
    4639        depends_lib-append      path:share/py${python.version}-sip/PyQt4:py${python.version}-pyqt4
    4740    }
    48 }
    4941
    50 variant pyside conflicts pyqt4 description "Qt backend using PySide" {
    51     if {${name} ne ${subport}} {
     42    variant pyside conflicts pyqt4 description "Qt backend using PySide" {
    5243        depends_lib-append      port:py${python.version}-pyside
    5344    }
    54 }
    5545
    56 default_variants-append +pyqt4
     46    default_variants-append +pyqt4
     47       
     48    notes "If wxpython is installed, enthought modules will try to use it\
     49 even if pyqt4 (or pyside) are also installed"
     50}