# This file is part of BlackArch Linux ( https://www.blackarch.org/ ). # See COPYING for license details. pkgname=python-halo _pkgname=halo pkgver=0.0.31 pkgrel=5 pkgdesc='Beautiful terminal spinners in Python.' arch=('any') url='https://pypi.org/project/halo/#files' license=('MIT') depends=('python' 'python-backports.shutil-get-terminal-size' 'python-colorama' 'python-cursor' 'python-log_symbols' 'python-six' 'python-spinners' 'python-termcolor') makedepends=('python-setuptools') source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz") sha512sums=('0c8f97d0153f46691f57f31755c3b8f69634c565cdfb42b91423b305b9e5a523b511f33fd44bb7206f6b1a90d34c8a9baf19e83874acb2504b476f8e8e5ad6a8') build() { cd "$_pkgname-$pkgver" python setup.py build } package() { cd "$_pkgname-$pkgver" python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build }