[arch-commits] Commit in python-yaspin/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Fri Oct 25 16:32:48 UTC 2019


    Date: Friday, October 25, 2019 @ 16:32:47
  Author: foutrelis
Revision: 519456

archrelease: copy trunk to community-staging-any

Added:
  python-yaspin/repos/community-staging-any/
  python-yaspin/repos/community-staging-any/PKGBUILD
    (from rev 519455, python-yaspin/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: python-yaspin/repos/community-staging-any/PKGBUILD (from rev 519455, python-yaspin/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-25 16:32:47 UTC (rev 519456)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-yaspin
+pkgver=0.15.0
+pkgrel=2
+pkgdesc="Yet Another Terminal Spinner"
+url="https://github.com/pavdmyt/yaspin"
+license=('MIT')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pavdmyt/yaspin/archive/v$pkgver.tar.gz")
+sha512sums=('42b1354aced8ae939fbe751f093389de0738e4c62f1d1e81bfc045493406a0187c5b144c2185ebc0ccb5a1d2691bdedd696203ed3340f5eab30568906b8d65f9')
+
+build() {
+  cd yaspin-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd yaspin-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd yaspin-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list