[arch-commits] Commit in python-tqdm/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Apr 16 08:06:34 UTC 2018
Date: Monday, April 16, 2018 @ 08:06:33
Author: felixonmars
Revision: 316469
archrelease: copy trunk to community-any
Added:
python-tqdm/repos/community-any/PKGBUILD
(from rev 316468, python-tqdm/trunk/PKGBUILD)
Deleted:
python-tqdm/repos/community-any/PKGBUILD
----------+
PKGBUILD | 120 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 60 insertions(+), 60 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-04-16 08:06:08 UTC (rev 316468)
+++ PKGBUILD 2018-04-16 08:06:33 UTC (rev 316469)
@@ -1,60 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-tqdm
-pkgname=('python-tqdm' 'python2-tqdm')
-pkgver=4.22.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=('65f1bebae9a5e48b45b5dae11f95a2d62ae40fe8c4d0d6f347a366ad2cff22ee8b2e3c20eac35da6fd3c71ed52ef32dd60cdd1a3cb24519829adf726aa262b3a')
-
-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 316468, python-tqdm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-04-16 08:06:33 UTC (rev 316469)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-tqdm
+pkgname=('python-tqdm' 'python2-tqdm')
+pkgver=4.23.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=('70a339200ee35c136e31a48fa14d24c0ba532c1e9ccdc9853dc92a7e85efff80c8a358087f19b4819b10315a053f44e63bf4272dda8f0a84864b3d0b88b3c549')
+
+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