# Maintainer: Drew DeVault pkgname=py3-qtwebengine _pyname=PyQtWebEngine pkgver=5.12.1 pkgrel=0 pkgdesc="Python 3 bindings for QtWebEngine" url="https://www.riverbankcomputing.com/software/pyqtwebengine/intro" # ppc64le, s390x: not supported arch="all !ppc64le !s390x" license="GPL-2.0-or-later" depends="py-sip" makedepends="python3-dev py3-qt5 qt5-qtwebengine-dev py-sip-dev" source="https://www.riverbankcomputing.com/static/Downloads/PyQtWebEngine/$pkgver/PyQtWebEngine_gpl-$pkgver.tar.gz" builddir="${srcdir}/${_pyname}_gpl-${pkgver}" build() { cd "$builddir" python3 configure.py \ --qmake /usr/lib/qt5/bin/qmake \ --sip /usr/bin/sip \ --sipdir /usr/share/sip/PyQt5 make } check() { cd "$builddir" make check } package(){ cd "$builddir" make -j1 DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install } sha512sums="2bcb0e4da51de9cfb5128e03c03ada77f2d4b99b0885da910584717681b96759ce4301c325cbbf43602d46746e2d37d81ed62f77dd63b33359fd5fae74d7f010 PyQtWebEngine_gpl-5.12.1.tar.gz"