# -*- 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
maintainers {mmoll @mamoll} openmaintainer
description PyQt5 is a set of Python bindings for the Qt5 toolkit
long_description ${description}. The bindings \
are implemented as a set of Python modules and contain over 620 classes.
homepage http://www.riverbankcomputing.co.uk/software/pyqt/intro
master_sites sourceforge:pyqt
distname PyQt5_gpl-${version}
checksums rmd160 4e0d454172288d26d40ebf2c15a70e0e271da57e \
sha256 9932e971e825ece4ea08f84ad95017837fa8f3f29c6b0496985fa1093661e9ef \
python.versions 27 34 35 36
if {${name} ne ${subport}} {
# pull in the Qt5 meta-port
depends_lib-append port:py${python.version}-sip \
port:dbus-python${python.version}
configure.cmd "${python.bin} configure.py"
--sip=${prefix}/bin/sip-${python.branch} \
--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 \
--disable=QtWebKitWidgets \
--disable=QtWebEngineCore \
--disable=QtWebEngineWidgets
# using --dbus means the compiler will find dbus-python.h but not
# the DBus headers themselves
# do not clear include directories just because --dbus is given
patchfiles-append patch-dbus_includes.diff
destroot.cmd ${build.cmd}
destroot.destdir DESTDIR=${destroot}