[arch-commits] Commit in python-tqdm/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Sep 21 05:49:30 UTC 2017
Date: Thursday, September 21, 2017 @ 05:49:29
Author: felixonmars
Revision: 258931
archrelease: copy trunk to community-any
Added:
python-tqdm/repos/community-any/PKGBUILD
(from rev 258930, python-tqdm/trunk/PKGBUILD)
Deleted:
python-tqdm/repos/community-any/PKGBUILD
----------+
PKGBUILD | 112 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 56 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-09-21 05:49:03 UTC (rev 258930)
+++ PKGBUILD 2017-09-21 05:49:29 UTC (rev 258931)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-tqdm
-pkgname=('python-tqdm' 'python2-tqdm')
-pkgver=4.15.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=('72728875c398d17f4abaf6c68fffcee9a9a945c03e3e4eed0ef93ec4a0d35c1ee9e4f02c07b8631f86e9dcbfbddd09e2d127adcdd0fc4ac269853fdf134699a7')
-
-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 258930, python-tqdm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-09-21 05:49:29 UTC (rev 258931)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-tqdm
+pkgname=('python-tqdm' 'python2-tqdm')
+pkgver=4.17.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=('112c073d0d3de060c61a36839ad4cf23d4284e065065eb49a91640232644a3f84f33ad8d5bfff8027cffad2757e07c58c2083f7a64e16f69e63491e3fff1b131')
+
+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:
More information about the arch-commits
mailing list