Ticket #53628: pyqt5.diff
File pyqt5.diff, 2.7 KB (added by RJVB (René Bertin), 8 years ago) |
---|
-
python/py-pyqt5/Portfile
old new 4 4 PortGroup python 1.0 5 5 6 6 name py-pyqt5 7 version 5. 7.17 version 5.8 8 8 categories-append devel 9 9 platforms darwin 10 10 maintainers mmoll openmaintainer … … 15 15 license GPL-3 16 16 master_sites sourceforge:pyqt 17 17 distname PyQt5_gpl-${version} 18 checksums rmd160 d103fd1e27b8591893b55f56eb0d306767569e2b \19 sha256 be849f212a074049b9ebc10b6c07dddefb86e6d30e8df8a5c715cbb2cf7fad1418 checksums rmd160 b454ef806260e52fad20d6d0c9bf744b73e2487b \ 19 sha256 9edf2816105a4111a447452df2bef7ce47d7efb307c75c3e74c27b8d31d7f66e 20 20 21 21 python.versions 27 34 35 36 22 22 … … 42 42 --dbus=${python.include}/dbus-1.0 \ 43 43 --designer-plugindir=${qt_plugins_dir}/designer/Py${python.version}Qt5 \ 44 44 --qml-plugindir=${qt_plugins_dir}/Py${python.version}Qt5 \ 45 --no-qsci-api \ 45 46 --disable=QtWebKit \ 46 47 --disable=QtWebKitWidgets \ 48 --disable=QtWebEngine \ 47 49 --disable=QtWebEngineCore \ 48 50 --disable=QtWebEngineWidgets 49 51 … … 52 54 # do not clear include directories just because --dbus is given 53 55 patchfiles-append patch-dbus_includes.diff 54 56 55 # see https://trac.macports.org/ticket/53200#comment:856 patchfiles-append patch-webengine_56.diff57 58 57 build.cmd make 59 58 build.target all 60 59 destroot.cmd ${build.cmd} … … 64 63 configure.cmd-append --debug 65 64 } 66 65 66 variant scintilla description {Build the PyQt API for QScintilla} { 67 depends_lib-append \ 68 port:qscintilla2 69 configure.args-replace \ 70 --no-qsci-api \ 71 --qsci-api 72 } 73 67 74 variant webengine conflicts universal description {Build QtWebEngine module} { 68 75 qt5.depends_component qtwebengine 69 configure.args-delete --disable=QtWebEngineCore \ 76 configure.args-delete --disable=QtWebEngine \ 77 --disable=QtWebEngineCore \ 70 78 --disable=QtWebEngineWidgets 71 79 } 72 80 73 # probably not justified yet, given QtWebEngine's size74 # default_variants-append +webengine75 76 81 variant webkit description {Build QtWebKit module} { 77 82 qt5.depends_component qtwebkit 78 83 configure.args-delete --disable=QtWebKit \