Date: Wednesday, June 30, 2021 @ 11:00:11 Author: foxboron Revision: 967968
archrelease: copy trunk to community-any Added: python-halo/repos/community-any/ python-halo/repos/community-any/PKGBUILD (from rev 967967, python-halo/trunk/PKGBUILD) ----------+ PKGBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) Copied: python-halo/repos/community-any/PKGBUILD (from rev 967967, python-halo/trunk/PKGBUILD) =================================================================== --- community-any/PKGBUILD (rev 0) +++ community-any/PKGBUILD 2021-06-30 11:00:11 UTC (rev 967968) @@ -0,0 +1,25 @@ +# Maintainer: Morten Linderud <foxbo...@archlinux.org> +# Contributor: Alexander Seiler <seilera...@gmail.com> + +pkgname=python-halo +pkgver=0.0.31 +pkgrel=2 +_pkgname=${pkgname#python-} +pkgdesc="Beautiful terminal spinners in Python" +arch=(any) +url="https://github.com/manrajgrover/halo" +license=(MIT) +depends=('python' 'python-log_symbols' 'python-spinners' 'python-termcolor' 'python-six') +makedepends=(python-setuptools) +source=("$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz") +sha256sums=('7b67a3521ee91d53b7152d4ee3452811e1d2a6321975137762eb3d70063cc9d6') + +build() { + cd "$_pkgname-$pkgver" + python setup.py build +} + +package() { + cd "$_pkgname-$pkgver" + python setup.py install --skip-build -O1 --root="$pkgdir" +}