# This file is part of BlackArch Linux ( https://www.blackarch.org/ ). # See COPYING for license details. pkgname=python-proglog _pkgname=${pkgname#python-} pkgver=0.1.12 pkgrel=1 pkgdesc='Logs and progress bars manager for Python.' arch=('any') url='https://pypi.org/project/proglog/#files' license=('MIT') depends=('python' 'python-tqdm') makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') options=(!emptydirs) source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz") sha512sums=('74f610ed82a3fc1aac9ad6cf7ea3a5b7fef281c9abdf4b2f38f61e8ac160689544dc88e49209fecb93e4001d0c5054a4f064c2d9f0b59aacce772bfb89ce5af8') build() { cd "$_pkgname-$pkgver" python -m build --wheel --no-isolation } package() { cd "$_pkgname-$pkgver" python -m installer --destdir="$pkgdir" dist/*.whl }