Ticket #52500: patch-pyqt5.diff

File patch-pyqt5.diff, 1.6 KB (added by mamoll (Mark Moll), 8 years ago)
  • Portfile

     
    2525python.versions 27 34 35
    2626
    2727if {${name} ne ${subport}} {
     28    patchfiles         patch-pythonversion.diff
     29    post-patch {
     30        reinplace -W ${worksrcpath} "s|@PYTHONVERSION@|${python.version}|g" designer/designer.pro-in qmlscene/qmlscene.pro-in
     31    }
    2832    depends_lib-append port:py${python.version}-sip \
    2933        port:qt5                                    \
    3034        port:qt5-qtwebengine                        \
  • files/patch-pythonversion.diff

     
     1diff -rubw designer/designer.pro-in designer/designer.pro-in
     2--- designer/designer.pro-in    2016-04-24 05:55:17.000000000 -0500
     3+++ designer/designer.pro-in    2016-10-05 14:49:15.000000000 -0500
     4@@ -4,7 +4,7 @@
     5 # Work around QTBUG-39300.
     6 CONFIG -= android_install
     7 
     8-TARGET      = pyqt5
     9+TARGET      = pyqt5-@PYTHONVERSION@
     10 TEMPLATE    = lib
     11 
     12 INCLUDEPATH += @PYINCDIR@
     13diff -rubw qmlscene/qmlscene.pro-in qmlscene/qmlscene.pro-in
     14--- qmlscene/qmlscene.pro-in    2016-04-24 05:55:17.000000000 -0500
     15+++ qmlscene/qmlscene.pro-in    2016-10-05 14:52:14.000000000 -0500
     16@@ -4,7 +4,7 @@
     17 # Work around QTBUG-39300.
     18 CONFIG -= android_install
     19 
     20-TARGET      = pyqt5qmlplugin
     21+TARGET      = pyqt5qmlplugin-@PYTHONVERSION@
     22 TEMPLATE    = lib
     23 
     24 INCLUDEPATH += @PYINCDIR@ @SIPINCDIR@