# Template file for 'py3status'
pkgname=py3status
version=3.63
revision=1
build_style=python3-pep517
hostmakedepends="python3-wheel hatchling"
depends="python3-pyudev"
checkdepends="python3-pytest"
short_desc="Alternative i3bar implementation in Python3"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-3-Clause"
homepage="https://github.com/ultrabug/py3status"
changelog="https://raw.githubusercontent.com/ultrabug/py3status/master/CHANGELOG"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=0117543796804211447176b3dad24cb6a9041aebc94e9ae1b0aa21486baf7032

post_patch() {
	# no longer necessary
	vsed -e '/"setuptools/d' -i pyproject.toml
}

post_install() {
	vlicense LICENSE
}
