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

Felix Yan felixonmars at archlinux.org
Sun Oct 21 12:07:56 UTC 2018


    Date: Sunday, October 21, 2018 @ 12:07:56
  Author: felixonmars
Revision: 398244

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  114 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 55 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-21 12:07:35 UTC (rev 398243)
+++ PKGBUILD	2018-10-21 12:07:56 UTC (rev 398244)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-tqdm
-pkgname=('python-tqdm' 'python2-tqdm')
-pkgver=4.27.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=('b0260df950a38a693eaca24b3f12f88996542083335c1747cf9d381d084b9992eeacb046ac6bd382232e32f18c99336daf487f821098fa4e288c9b56feb0c0a6')
-
-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 398243, python-tqdm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-10-21 12:07:56 UTC (rev 398244)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-tqdm
+pkgname=('python-tqdm' 'python2-tqdm')
+pkgver=4.28.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=('e7b440573ccf5cec07eab5f0b871200a482ca3cf91da90a521870bb94a6b285fc137cb241d816125deeccadc242981b85ace34d474db5693b71ca2fa84938b3c')
+
+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
+}
+
+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}
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list