Date: Saturday, July 28, 2018 @ 09:08:57 Author: felixonmars Revision: 363715
archrelease: copy trunk to community-staging-any Added: python-tqdm/repos/community-staging-any/PKGBUILD (from rev 363714, python-tqdm/trunk/PKGBUILD) Deleted: python-tqdm/repos/community-staging-any/PKGBUILD ----------+ PKGBUILD | 120 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 60 insertions(+), 60 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-07-28 09:08:39 UTC (rev 363714) +++ PKGBUILD 2018-07-28 09:08:57 UTC (rev 363715) @@ -1,60 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgbase=python-tqdm -pkgname=('python-tqdm' 'python2-tqdm') -pkgver=4.23.4 -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=('2ef3bf112c4ee8b859848d3dc8b6f63bd10dc851d3dcf54d946b73070f23bef22beb5b7976d541b1d348bc67dcb53ba80d8f4af64aa9ec61bed855c97e150f2d') - -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-staging-any/PKGBUILD (from rev 363714, python-tqdm/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-07-28 09:08:57 UTC (rev 363715) @@ -0,0 +1,60 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgbase=python-tqdm +pkgname=('python-tqdm' 'python2-tqdm') +pkgver=4.24.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=('8f1f55e621ea0ccfa30a6f6f2eac0abac878938d376f3340bdef8c5136412cc6fb1295b98288cfb0df2a001f4004abf139229990bb04ca74595f7a59a2777c31') + +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: