Date: Monday, March 12, 2018 @ 16:48:26 Author: felixonmars Revision: 306431
archrelease: copy trunk to community-any Added: python-tqdm/repos/community-any/PKGBUILD (from rev 306430, python-tqdm/trunk/PKGBUILD) Deleted: python-tqdm/repos/community-any/PKGBUILD ----------+ PKGBUILD | 120 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 60 insertions(+), 60 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-03-12 16:48:09 UTC (rev 306430) +++ PKGBUILD 2018-03-12 16:48:26 UTC (rev 306431) @@ -1,60 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgbase=python-tqdm -pkgname=('python-tqdm' 'python2-tqdm') -pkgver=4.19.6 -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=('3807a58c84c645e5b4968cf5b07b679c06775b2f2c5f81899b0a87934c03be84f8f0caf2fa0990ec94b42505d6f7497ca99b8bcf26ff0cf164febdcfa5d069ef') - -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 306430, python-tqdm/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-03-12 16:48:26 UTC (rev 306431) @@ -0,0 +1,60 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgbase=python-tqdm +pkgname=('python-tqdm' 'python2-tqdm') +pkgver=4.19.7 +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=('f0ef779852ccb19a933fce1a25e6315c9f1f102fbf915756d1b9777b842495fb32d4e87d337d0c6e3f69bf9d0509ec0c64f93ed8b9041f3a1bd29ca02b88ee86') + +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: