# Template file for 'python3-pyqt6-charts'
pkgname=python3-pyqt6-charts
version=6.11.0
revision=1
build_style=sip-build
build_helper="python3"
hostmakedepends="qt6-base sip python3-PyQt-builder pkg-config"
makedepends="qt6-charts-private-devel python3-pyqt6-bindings python3-pyqt6-sip"
depends="python3-pyqt6>=${version%.*} python3-pyqt6-sip"
short_desc="Qt6 bindings for Charts - Python 3"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="GPL-3.0-only"
homepage="https://www.riverbankcomputing.com/software/pyqtchart/"
distfiles="$PYPI_SITE/p/pyqt6-charts/pyqt6_charts-${version}.tar.gz"
checksum=1091cd919806a3ce05d2276729f79be4ecbd0a939500a8899026c3ef5769c650
lib32disabled=yes

python3-pyqt6-charts-devel_package() {
	lib32disabled=yes
	depends="${sourcepkg}>=${version}_${revision}
	 qt6-charts-devel python3-pyqt6-bindings python3-pyqt6-sip"
	short_desc+=" - development files"
	pkg_install() {
		vmove ${py3_sitelib}/PyQt6/bindings
	}
}
