[arch-commits] Commit in python-tqdm/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Sep 12 11:05:17 UTC 2018


    Date: Wednesday, September 12, 2018 @ 11:05:17
  Author: felixonmars
Revision: 379788

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  119 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 59 insertions(+), 60 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-12 11:04:51 UTC (rev 379787)
+++ PKGBUILD	2018-09-12 11:05:17 UTC (rev 379788)
@@ -1,60 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-tqdm
-pkgname=('python-tqdm' 'python2-tqdm')
-pkgver=4.25.0
-pkgrel=1
-pkgdesc='Fast, Extensible Progress Meter'
-arch=('any')
-license=('MIT' 'MPL')
-url='https://github.com/tqdm/tqdm'
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-nose' 'python2-nose' 'python-coverage' 'python2-coverage' 'flake8'
-              'python2-flake8')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/tqdm/tqdm/archive/v$pkgver.tar.gz")
-sha512sums=('51a05cd089f53404d230d8f9b389af1e02d4e4f6067c2b4e7f4cd3f5a8ccc811e8dd0d57848ef7cddabf8a889f6128e1dc767abebf1ecce10e2e56b5b66307d0')
-
-prepare() {
-  cp -a tqdm-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/tqdm-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/tqdm-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/tqdm-$pkgver
-  python setup.py nosetests --ignore-files="tests_perf\.py"
-
-  cd "$srcdir"/tqdm-$pkgver-py2
-  python2 setup.py nosetests --ignore-files="tests_perf\.py"
-}
-
-package_python-tqdm() {
-  depends=('python')
-
-  cd tqdm-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENCE
-
-  mv "$pkgdir"/usr/{,share/}man
-}
-
-package_python2-tqdm() {
-  depends=('python2')
-
-  cd tqdm-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENCE
-
-  mv "$pkgdir"/usr/bin/tqdm{,2}
-  mv "$pkgdir"/usr/{,share/}man
-  mv "$pkgdir"/usr/share/man/man1/tqdm{,2}.1
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-tqdm/repos/community-any/PKGBUILD (from rev 379787, python-tqdm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-09-12 11:05:17 UTC (rev 379788)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-tqdm
+pkgname=('python-tqdm' 'python2-tqdm')
+pkgver=4.26.0
+pkgrel=1
+pkgdesc='Fast, Extensible Progress Meter'
+arch=('any')
+license=('MIT' 'MPL')
+url='https://github.com/tqdm/tqdm'
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-nose' 'python2-nose' 'python-coverage' 'python2-coverage' 'flake8'
+              'python2-flake8')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/tqdm/tqdm/archive/v$pkgver.tar.gz")
+sha512sums=('41545da3101e6ffb73db005a603f2ec6d666f9402102b23421e9e76732c671046c964ae2bf79dce260b83585f21a304a4563103b56539777101ba7e2a94ea9f6')
+
+prepare() {
+  cp -a tqdm-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/tqdm-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/tqdm-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/tqdm-$pkgver
+  python setup.py nosetests --ignore-files="tests_perf\.py"
+
+  cd "$srcdir"/tqdm-$pkgver-py2
+  python2 setup.py nosetests --ignore-files="tests_perf\.py"
+}
+
+package_python-tqdm() {
+  depends=('python')
+
+  cd tqdm-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENCE
+
+  mv "$pkgdir"/usr/{,share/}man
+}
+
+package_python2-tqdm() {
+  depends=('python2')
+
+  cd tqdm-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENCE
+
+  mv "$pkgdir"/usr/bin/tqdm{,2}
+  mv "$pkgdir"/usr/{,share/}man
+  mv "$pkgdir"/usr/share/man/man1/tqdm{,2}.1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list