Date: Tuesday, November 30, 2021 @ 20:18:18 Author: felixonmars Revision: 1057958
archrelease: copy trunk to community-staging-any Added: python-spinners/repos/community-staging-any/ python-spinners/repos/community-staging-any/PKGBUILD (from rev 1057956, python-spinners/trunk/PKGBUILD) ----------+ PKGBUILD | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) Copied: python-spinners/repos/community-staging-any/PKGBUILD (from rev 1057956, python-spinners/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2021-11-30 20:18:18 UTC (rev 1057958) @@ -0,0 +1,24 @@ +# Maintainer: Alexander Seiler <seilera...@gmail.com> + +pkgname=python-spinners +_name=${pkgname#python-} +pkgver=0.0.24 +pkgrel=2 +pkgdesc="Spinners for terminal, python wrapper for amazing node library cli-spinners" +arch=('any') +url="https://github.com/ManrajGrover/py-${_name}" +license=('MIT') +depends=('python') +makedepends=('python-setuptools') +source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz") +sha256sums=('1eb6aeb4781d72ab42ed8a01dcf20f3002bf50740d7154d12fb8c9769bf9e27f') + +build() { + cd "$_name-$pkgver" + python setup.py build +} + +package() { + cd "$_name-$pkgver" + python setup.py install --root="$pkgdir/" --optimize=1 --skip-build +}