# Compiling Time: 0.01 SBU
# Maintainer: Slown <slown@frugalware.org>

pkgname=python3-pylast
pkgver=5.5.0
pkgrel=1
pkgdesc="A Python 3interface to Last.fm and Libre.fm"
groups=('lib-extra')
archs=('x86_64')
depends=('python3-six>=1.16')
makedepends=('python3-build' 'python3-installer' 'python3-setuptools' 'python3-wheel' 'python3-hatch-vcs')
_F_pypi_name="pylast"
Finclude pypi
sha1sums=('ed367f0394031efe814eec317b6c37e2e9bf04c6')
_F_cd_path="pylast-$pkgver"

replaces=('pylast')
provides=('pylast')
conflicts=('pylast')

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

}

# optimization OK
