# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-qt-material
pkgver=2.14
pkgrel=1
pkgdesc="Material inspired stylesheet for PySide2, PySide6, PyQt5 and PyQt6"
url="https://pypi.org/project/qt-material/"
arch="noarch"
license="BSD-2-Clause"
depends="py3-jinja2"
makedepends="
	py3-gpep517
	py3-setuptools
	py3-wheel
	"
subpackages="$pkgname-pyc"
source="https://pypi.python.org/packages/source/q/qt-material/qt-material-$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/qt-material-$pkgver"

build() {
	gpep517 build-wheel \
		--wheel-dir .dist \
		--output-fd 3 3>&1 >&2
}

package() {
	python3 -m installer -d "$pkgdir" \
		.dist/*.whl
}

sha512sums="
47623edd1a6fd1a44b7505e32143348a29c47144d84d5faf9952b72ca0f56e6b2b763a7dce039b124d325a5f46db37f16401007359297cd86157f2a3cc91f444  qt-material-2.14.tar.gz
"
