[arch-commits] Commit in python-tqdm/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Dec 11 08:06:22 UTC 2017
Date: Monday, December 11, 2017 @ 08:06:21
Author: felixonmars
Revision: 273687
archrelease: copy trunk to community-any
Added:
python-tqdm/repos/community-any/PKGBUILD
(from rev 273686, python-tqdm/trunk/PKGBUILD)
Deleted:
python-tqdm/repos/community-any/PKGBUILD
----------+
PKGBUILD | 120 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 60 insertions(+), 60 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-11 08:05:59 UTC (rev 273686)
+++ PKGBUILD 2017-12-11 08:06:21 UTC (rev 273687)
@@ -1,60 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-tqdm
-pkgname=('python-tqdm' 'python2-tqdm')
-pkgver=4.19.4
-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=('56d1f2cd8f7a56964611f0399c6f8f6c64740428e38ebde6778397340b57787a3409de2755269c1a26db38cd85ddf3c90636a36d742eb2b51d8736e5ad6c5989')
-
-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 273686, python-tqdm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-12-11 08:06:21 UTC (rev 273687)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-tqdm
+pkgname=('python-tqdm' 'python2-tqdm')
+pkgver=4.19.5
+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=('7537c545735dfa65eaba2a9e5f03ae51f3b0cd7fe2c6d498bc56836e58944102b4c266908a53686b1acb7265729275de648c9c768d2e97bdb883a3e943d6b1ed')
+
+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