# Template file for 'python3-PyQt5' pkgname=python3-PyQt5 version=5.15.0 revision=1 _sipver=4.19.23 wrksrc="PyQt5-${version}" hostmakedepends="pkg-config python3-devel sip5 python-dbus-devel qt5 qt5-devel qt5-tools-devel qt5-connectivity-devel qt5-declarative-devel qt5-location-devel qt5-multimedia-devel qt5-qmake qt5-sensors-devel qt5-serialport-devel qt5-svg-devel qt5-webchannel-devel qt5-webkit-devel qt5-websockets-devel qt5-x11extras-devel qt5-xmlpatterns-devel qt5-networkauth-devel pulseaudio-devel" makedepends="${hostmakedepends/pkg-config/}" depends="python3-sip-PyQt5>=${_sipver}" short_desc="Python 3 bindings for the Qt5 toolkit" maintainer="Orphaned " license="GPL-3.0-only" homepage="https://riverbankcomputing.com/software/pyqt/intro" distfiles="${PYPI_SITE}/P/PyQt5/PyQt5-${version}.tar.gz" checksum=c6f75488ffd5365a65893bc64ea82a6957db126fbfe33654bcd43ae1c30c52f9 lib32disabled=yes post_extract() { rm -rf pyuic/uic/port_v2 } do_configure() { local _sysroot= _configuration= qt_version if [ "$CROSS_BUILD" ]; then qt_version=$(qmake -query QT_VERSION) _sysroot="--sysroot $XBPS_CROSS_BASE" _configuration="--configuration $wrksrc/pyqt5_${XBPS_CROSS_TRIPLET}.cfg" cat >pyqt5_${XBPS_CROSS_TRIPLET}.cfg <