# Compiling Time: 0 SBU
# Maintainer: Pingax <pingax@frugalware.org>
# Contributor: PacMiam <PacMiam@gmx.fr>

pkgname=py3status
pkgver=3.60
pkgrel=1
pkgdesc="py3status is an extensible i3status wrapper written in python"
url="http://www.ultrabug.fr/py3status/"
groups=('x11-extra')
archs=('x86_64')
depends=('glibc' 'python3-setuptools')
rodepends=('i3')
makedepends=('python3-build' 'python3-installer' 'python3-wheel' 'python3-hatchling')
_F_github_author="ultrabug"
_F_github_tag="y"
_F_python_version="python3"
Finclude github
sha1sums=('843e1ff498976d6295fdf80eda374cc6aeefd2e2')

build() {
	Fcd
	Fpatchall
	Fexec python3 -m build --wheel --no-isolation || Fdie
	Fexec python3 -m installer --destdir="$Fdestdir" dist/*.whl || Fdie
}

# optimization OK
