Ticket #53090: py-pyqt4.diff

File py-pyqt4.diff, 1.3 KB (added by RJVB (René Bertin), 8 years ago)
  • python/py-pyqt4/Portfile

    diff --git a/python/py-pyqt4/Portfile b/python/py-pyqt4/Portfile
    index e1c158b..b53da34 100644
    a b  
    11# -*- 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
    22
    33PortSystem      1.0
    4 PortGroup       qt4 1.0
    5 
    6 set depends_lib_backup \
    7                 ${depends_lib}
    84PortGroup       python 1.0
    95
    106name            py-pyqt4
    set patch [lindex [split ${version} .] 2] 
    3228python.versions 27 34 35
    3329python.default_version 27
    3430
    35 # at this point, the python portgroup will have reset depends_lib (python.versions does that),
    36 depends_lib-append \
    37                 ${depends_lib_backup}
    38 
    3931foreach py_ver ${python.versions} {
    4032    subport py${py_ver}-pyqt4-devel {}
    4133    subport py${py_ver}-pyqt4 {}
    foreach py_ver ${python.versions} { 
    4335
    4436if {${name} ne ${subport}} {
    4537
     38    PortGroup   qt4 1.0
     39
    4640    if {[string last devel ${subport}] != -1} {
    4741
    4842        # devel port
    if {${name} ne ${subport}} { 
    8074    dist_subdir        python
    8175
    8276    depends_lib-append port:py${python.version}-sip \
    83                        port:qt4-mac \
    8477                       port:dbus-python${python.version}
    8578
    8679    # patch-configure.py* file alters configure.py so that the