# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
pkgname=py3-pyqt6-webengine
pkgver=6.7.0
pkgrel=0
pkgdesc="Python bindings for the Qt6 WebEngine framework"
url="https://pypi.org/project/PyQt6-WebEngine/"
# others blocked by qt6-qtwebengine
arch="all !riscv64 !s390x !ppc64le !armv7 !armhf !loongarch64"
license="GPL-3.0-only"
depends="py3-qt6"
makedepends="
	py3-pyqt-builder
	py3-sip
	python3-dev
	qt6-qtwebengine-dev
	"
source="https://files.pythonhosted.org/packages/source/P/PyQt6_WebEngine/PyQt6_WebEngine-$pkgver.tar.gz"
builddir="$srcdir/PyQt6_WebEngine-$pkgver"

build() {
	sip-build \
		--no-make \
		--qmake=/usr/bin/qmake6
	make -C build
}

package() {
	make -C build INSTALL_ROOT="$pkgdir" install
}

sha512sums="
8298aecc43e420c4fa912802fd66ee95fd71156d9a6d1f1a499ffcc2d0d45a8c3e3c170f911acfc8f094d2e434567b5143b145ce40413ee75c9a9e4420341c0c  PyQt6_WebEngine-6.7.0.tar.gz
"
