Ticket #53197: py-pyqt5.2.diff

File py-pyqt5.2.diff, 2.3 KB (added by RJVB (René Bertin), 7 years ago)
  • python/py-pyqt5/Portfile

    diff --git a/python/py-pyqt5/Portfile b/python/py-pyqt5/Portfile
    index f18fd41..1337d7c 100644
    a b PortSystem 1.0 
    44PortGroup               python 1.0
    55
    66name                    py-pyqt5
    7 version                 5.6
     7version                 5.7.1
    88revision                4
    99categories-append       devel
    1010platforms               darwin
    if {${name} ne ${subport}} { 
    4242                        global qt5_dependency
    4343                        depends_lib-append ${qt5_dependency}
    4444                    } else {
    45                         depends_lib-append port:${qt5main}
     45                        # pull in the port:qt5 meta-port, plus 2 components qt5-kde provides by default
     46                        depends_lib-append port:${qt5main} \
     47                            port:${qt5main}-qtscript \
     48                            port:${qt5main}-qt3d
    4649                    }
    4750                } else {
    4851                    set portname "${qt5main}-${comp}"
    if {${name} ne ${subport}} { 
    7881    # using --dbus means the compiler will find dbus-python.h but not
    7982    # the DBus headers themselves
    8083    # do not clear include directories just because --dbus is given
    81     patchfiles-append patch-dbus_includes.diff
     84    patchfiles-append   patch-dbus_includes.diff \
     85                        patch-for-sip419.diff
    8286
    8387    build.cmd           make
    8488    build.target        all
  • new file python/py-pyqt5/files/patch-for-sip419.diff

    diff --git a/python/py-pyqt5/files/patch-for-sip419.diff b/python/py-pyqt5/files/patch-for-sip419.diff
    new file mode 100644
    index 0000000..c685800
    - +  
     1--- sip/QtCore/orig.QtCoremod.sip       2016-04-24 12:55:17.000000000 +0200
     2+++ sip/QtCore/QtCoremod.sip    2017-01-02 18:54:25.000000000 +0100
     3@@ -20,7 +20,7 @@
     4 // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
     5 
     6 
     7-%Module(name=PyQt5.QtCore, call_super_init=True, default_VirtualErrorHandler=PyQt5, keyword_arguments="Optional", version=1)
     8+%Module(name=PyQt5.QtCore, call_super_init=True, default_VirtualErrorHandler=PyQt5, keyword_arguments="Optional")
     9 
     10 %Timeline {Qt_5_0_0 Qt_5_0_1 Qt_5_0_2 Qt_5_1_0 Qt_5_1_1 Qt_5_2_0 Qt_5_2_1 Qt_5_3_0 Qt_5_3_1 Qt_5_3_2 Qt_5_4_0 Qt_5_4_1 Qt_5_4_2 Qt_5_5_0 Qt_5_5_1 Qt_5_6_0}
     11