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

Felix Yan felixonmars at archlinux.org
Sun Nov 10 09:24:51 UTC 2019


    Date: Sunday, November 10, 2019 @ 09:24:51
  Author: felixonmars
Revision: 524943

archrelease: copy trunk to community-staging-any

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

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

Copied: python-tqdm/repos/community-staging-any/PKGBUILD (from rev 524942, python-tqdm/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-10 09:24:51 UTC (rev 524943)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-tqdm
+pkgver=4.28.1
+pkgrel=4
+pkgdesc='Fast, Extensible Progress Meter'
+arch=('any')
+license=('MIT' 'MPL')
+url='https://github.com/tqdm/tqdm'
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-nose' 'python-coverage' 'flake8')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/tqdm/tqdm/archive/v$pkgver.tar.gz")
+sha512sums=('6bfccb83ede76a57fbad8e46bb0642a2db0f4bceedaed3428c7abb468a1f70bf4ac8097894416be9ab026877640db48953f40688ddcdf45ee52261bd3d61551b')
+
+build() {
+  cd "$srcdir"/tqdm-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/tqdm-$pkgver
+  python setup.py nosetests --ignore-files="tests_perf\.py"
+}
+
+package() {
+  cd tqdm-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENCE
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list