Ticket #42075: py-enable_Portfile.diff

File py-enable_Portfile.diff, 2.9 KB (added by jjstickel (Jonathan Stickel), 10 years ago)
  • python/py-enable/Portfile

    old new  
    44PortSystem              1.0
    55PortGroup               python 1.0
    66
     7PortGroup           github 1.0
     8github.setup        enthought enable 4.3.0
     9
    710name                py-enable
    8 version             4.2.0
    9 revision            1
    1011categories-append   devel
    1112maintainers         gmail.com:jjstickel openmaintainer
    1213description         The Enthought enable package
     
    1718                    drawing engine.
    1819license             BSD
    1920platforms           darwin
    20 homepage            https://github.com/enthought/enable
    21 master_sites        http://www.enthought.com/repo/ets/
    22 distname            enable-${version}
    2321
    24 checksums           rmd160  a8b8eb6b8c600127793a08eca3e4ec29cf98aa17 \
    25                     sha256  48c510bb833cbc9142babcb1914feac2cf64d5133a8ba7cdcdf0d1d782fafbd7
     22checksums           rmd160  73bd0a92c677784ee40432ab65f3ead6ac853b72 \
     23                    sha256  6eac82675cc4c52ddf1bb50c53ec82de92309bf7c2f003bfe4709d106c89693c
    2624
    2725python.versions     26 27
    2826
    2927if {${name} ne ${subport}} {
    30     patchfiles              no-64-bit-quartz.diff\
    31                             pyqt4_qsize.patch
    32     patch.pre_args          -p1
     28    # It seems this is not needed for version >= 4.3.0, but leaving here in
     29    # case problems are reported JJS 1/9/13
     30#    patchfiles              no-64-bit-quartz.diff
     31#    patch.pre_args          -p1
    3332
    3433    depends_build-append    port:py${python.version}-setuptools \
    3534                            port:py${python.version}-cython \
    3635                            port:swig-python
    3736    depends_lib-append      port:py${python.version}-traitsui\
    3837                            port:py${python.version}-reportlab
     38       
     39    # # wx-3.0 is not fully compatible with enthought modules, JJS 1/8/14
     40    # variant wx description {Use wxWidgets backend} {
     41    #     depends_lib-append      port:py${python.version}-wxpython-3.0
     42    # }
     43
     44    variant pyqt4 conflicts pyside description "Qt backend using PyQt4" {
     45        # Can use either py*-pyqt4 or py*-pyqt4-devel.
     46        depends_lib-append      path:share/py${python.version}-sip/PyQt4:py${python.version}-pyqt4
     47    }
     48
     49    variant pyside conflicts pyqt4 description "Qt backend using PySide" {
     50        depends_lib-append      port:py${python.version}-pyside
     51    }
     52
     53    default_variants-append +pyqt4
     54       
     55    notes "If wxpython is installed, enthought modules will try to use it\
     56 even if pyqt4 (or pyside) are also installed"
     57
    3958}
    4059
    41 # haven't retested if this is still true for version >= 4.0
    42 universal_variant no
     60# haven't retested if this is still true for version >= 4.0; commenting out but
     61# leaving here in case someone has a problem with universal, JJS 1/9/13
     62#universal_variant no