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

Felix Yan felixonmars at archlinux.org
Sat May 25 08:46:39 UTC 2019


    Date: Saturday, May 25, 2019 @ 08:46:38
  Author: felixonmars
Revision: 469903

archrelease: copy trunk to community-x86_64

Added:
  python-yaspin/repos/community-x86_64/
  python-yaspin/repos/community-x86_64/PKGBUILD
    (from rev 469902, python-yaspin/trunk/PKGBUILD)

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

Copied: python-yaspin/repos/community-x86_64/PKGBUILD (from rev 469902, python-yaspin/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2019-05-25 08:46:38 UTC (rev 469903)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-yaspin
+pkgver=0.14.3
+pkgrel=1
+pkgdesc="Yet Another Terminal Spinner"
+url="https://github.com/pavdmyt/yaspin"
+license=('MIT')
+arch=('x86_64')
+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=('f6fc5e8a39c6d1606f68c9f2521aaa9ba1023b7b7b598d5125fc8b0f0bb2b228c81898014270a985ddb0add8e5f6edc9453a15bddb8c4b29f9b75577a6f94b4b')
+
+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