[arch-commits] Commit in python-tqdm/repos/community-staging-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Oct 31 18:11:10 UTC 2019
Date: Thursday, October 31, 2019 @ 18:11:09
Author: felixonmars
Revision: 521585
archrelease: copy trunk to community-staging-any
Added:
python-tqdm/repos/community-staging-any/PKGBUILD
(from rev 521584, python-tqdm/trunk/PKGBUILD)
Deleted:
python-tqdm/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 110 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 55 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-31 18:10:55 UTC (rev 521584)
+++ PKGBUILD 2019-10-31 18:11:09 UTC (rev 521585)
@@ -1,55 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-tqdm
-pkgname=('python-tqdm' 'python2-tqdm')
-pkgver=4.28.1
-pkgrel=2
-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=('6bfccb83ede76a57fbad8e46bb0642a2db0f4bceedaed3428c7abb468a1f70bf4ac8097894416be9ab026877640db48953f40688ddcdf45ee52261bd3d61551b')
-
-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:
Copied: python-tqdm/repos/community-staging-any/PKGBUILD (from rev 521584, python-tqdm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-31 18:11:09 UTC (rev 521585)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-tqdm
+pkgname=('python-tqdm' 'python2-tqdm')
+pkgver=4.28.1
+pkgrel=3
+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=('6bfccb83ede76a57fbad8e46bb0642a2db0f4bceedaed3428c7abb468a1f70bf4ac8097894416be9ab026877640db48953f40688ddcdf45ee52261bd3d61551b')
+
+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