Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
py-pyqt5: update to 5.8. Closes https://trac.macports.org/ticket/53628.
  • Loading branch information
mamoll committed Feb 22, 2017
1 parent 8e4c728 commit 6c32264
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions python/py-pyqt5/Portfile
Expand Up @@ -4,7 +4,7 @@ PortSystem 1.0
PortGroup python 1.0

name py-pyqt5
version 5.7.1
version 5.8
categories-append devel
platforms darwin
maintainers mmoll openmaintainer
Expand All @@ -15,8 +15,8 @@ homepage http://www.riverbankcomputing.co.uk/software/pyqt/intro
license GPL-3
master_sites sourceforge:pyqt
distname PyQt5_gpl-${version}
checksums rmd160 d103fd1e27b8591893b55f56eb0d306767569e2b \
sha256 be849f212a074049b9ebc10b6c07dddefb86e6d30e8df8a5c715cbb2cf7fad14
checksums rmd160 b454ef806260e52fad20d6d0c9bf744b73e2487b \
sha256 9edf2816105a4111a447452df2bef7ce47d7efb307c75c3e74c27b8d31d7f66e

python.versions 27 34 35 36

Expand All @@ -42,8 +42,10 @@ if {${name} ne ${subport}} {
--dbus=${python.include}/dbus-1.0 \
--designer-plugindir=${qt_plugins_dir}/designer/Py${python.version}Qt5 \
--qml-plugindir=${qt_plugins_dir}/Py${python.version}Qt5 \
--no-qsci-api \
--disable=QtWebKit \
--disable=QtWebKitWidgets \
--disable=QtWebEngine \
--disable=QtWebEngineCore \
--disable=QtWebEngineWidgets

Expand All @@ -52,9 +54,6 @@ if {${name} ne ${subport}} {
# do not clear include directories just because --dbus is given
patchfiles-append patch-dbus_includes.diff

# see https://trac.macports.org/ticket/53200#comment:8
patchfiles-append patch-webengine_56.diff

build.cmd make
build.target all
destroot.cmd ${build.cmd}
Expand All @@ -64,15 +63,21 @@ if {${name} ne ${subport}} {
configure.cmd-append --debug
}

variant scintilla description {Build the PyQt API for QScintilla} {
depends_lib-append \
port:qscintilla2
configure.args-replace \
--no-qsci-api \
--qsci-api
}

variant webengine conflicts universal description {Build QtWebEngine module} {
qt5.depends_component qtwebengine
configure.args-delete --disable=QtWebEngineCore \
configure.args-delete --disable=QtWebEngine \
--disable=QtWebEngineCore \
--disable=QtWebEngineWidgets
}

# probably not justified yet, given QtWebEngine's size
# default_variants-append +webengine

variant webkit description {Build QtWebKit module} {
qt5.depends_component qtwebkit
configure.args-delete --disable=QtWebKit \
Expand Down

0 comments on commit 6c32264

Please sign in to comment.