# Template file for 'git-cola'
pkgname=git-cola
version=4.18.2
revision=1
build_style=python3-pep517
hostmakedepends="python3 python3-build python3-packaging python3-setuptools python3-setuptools_scm python3-wheel"
depends="git qt6-svg python3-pyqt6-gui python3-pyqt6-widgets
 python3-pyqt6-network python3-QtPy python3-packaging python3-polib"
short_desc="Highly caffeinated Git GUI"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="GPL-2.0-only"
homepage="https://git-cola.github.io/"
distfiles="${PYPI_SITE}/g/git-cola/git_cola-${version}.tar.gz"
checksum=f1f1d9ddd33e6d319d2612b496b39cbf6ea300e5be0f305e1b4ae779236c6662

if [ "$XBPS_WORDSIZE$XBPS_WORDSIZE" = "64$XBPS_TARGET_WORDSIZE" ]; then
	depends+=" python3-pyqt6-webengine"
fi
