[arch-commits] Commit in python-tqdm/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Oct 1 14:14:04 UTC 2017
Date: Sunday, October 1, 2017 @ 14:14:03
Author: felixonmars
Revision: 261163
archrelease: copy trunk to community-any
Added:
python-tqdm/repos/community-any/PKGBUILD
(from rev 261162, python-tqdm/trunk/PKGBUILD)
Deleted:
python-tqdm/repos/community-any/PKGBUILD
----------+
PKGBUILD | 112 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 56 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-10-01 14:13:43 UTC (rev 261162)
+++ PKGBUILD 2017-10-01 14:14:03 UTC (rev 261163)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-tqdm
-pkgname=('python-tqdm' 'python2-tqdm')
-pkgver=4.17.1
-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=('b98c335bca045548262893ae78583063f99101bbde7f8ee812ab5b52918f78a39f55e1a13c5c9ee73e447e80feeefbf91095c7a19bf650f1054f464e63cb7081')
-
-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
-
- cd "$srcdir"/tqdm-$pkgver-py2
- python2 setup.py nosetests
-}
-
-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:
Copied: python-tqdm/repos/community-any/PKGBUILD (from rev 261162, python-tqdm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-10-01 14:14:03 UTC (rev 261163)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-tqdm
+pkgname=('python-tqdm' 'python2-tqdm')
+pkgver=4.19.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=('ef59571a1ead329a3ad74e5b8d04e25eab35a1967b14cfc364513af5c82ed4618b352c1b2746cfce3bbdd29868a5d82e267ff8c270d5673097b91e4d116e7b45')
+
+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