Date: Monday, August 23, 2021 @ 18:56:10 Author: felixonmars Revision: 1004442
archrelease: copy trunk to community-any Added: python-tqdm/repos/community-any/PKGBUILD (from rev 1004441, python-tqdm/trunk/PKGBUILD) Deleted: python-tqdm/repos/community-any/PKGBUILD ----------+ PKGBUILD | 96 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 48 insertions(+), 48 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-08-23 18:56:02 UTC (rev 1004441) +++ PKGBUILD 2021-08-23 18:56:10 UTC (rev 1004442) @@ -1,48 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -_pkgname=tqdm -pkgname=python-$_pkgname -pkgver=4.62.1 -pkgrel=1 -pkgdesc='Fast, Extensible Progress Meter' -arch=('any') -license=('MIT' 'MPL') -url='https://github.com/tqdm/tqdm' -depends=('python') -optdepends=('python-requests: telegram') -makedepends=('python-setuptools-scm' 'python-toml') -checkdepends=('python-pytest' 'python-pytest-asyncio' 'python-pytest-timeout' 'python-numpy' - 'python-pandas' 'python-tensorflow' 'python-rich' 'python-dask' 'tk') -source=("$pkgname-$pkgver.tar.gz::https://github.com/tqdm/tqdm/archive/v$pkgver.tar.gz") -sha512sums=('08cf54c5d0210e8ed3470c83281283fd960cb29bca674b00b411476ca02e8b3da3d5ad361e92cabd4269b9c8d2d1d5607b0830f033ce3ec6ff7dfd7628c638ba') - -build() { - cd $_pkgname-$pkgver - - export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver - - python setup.py build -} - -check() { - cd $_pkgname-$pkgver - - export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver - - python -m venv --system-site-packages test-env - - test-env/bin/python setup.py install - test-env/bin/python -m pytest -k 'not test_dask' -} - -package() { - cd $_pkgname-$pkgver - - export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver - - python setup.py install --root="$pkgdir" --optimize=1 - - install -D -m644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENCE -} - -# vim:set ts=2 sw=2 et: Copied: python-tqdm/repos/community-any/PKGBUILD (from rev 1004441, python-tqdm/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-08-23 18:56:10 UTC (rev 1004442) @@ -0,0 +1,48 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +_pkgname=tqdm +pkgname=python-$_pkgname +pkgver=4.62.2 +pkgrel=1 +pkgdesc='Fast, Extensible Progress Meter' +arch=('any') +license=('MIT' 'MPL') +url='https://github.com/tqdm/tqdm' +depends=('python') +optdepends=('python-requests: telegram') +makedepends=('python-setuptools-scm' 'python-toml') +checkdepends=('python-pytest' 'python-pytest-asyncio' 'python-pytest-timeout' 'python-numpy' + 'python-pandas' 'python-tensorflow' 'python-rich' 'python-dask' 'tk') +source=("$pkgname-$pkgver.tar.gz::https://github.com/tqdm/tqdm/archive/v$pkgver.tar.gz") +sha512sums=('9acede8d5d96914d81bf9ad487110f4720285d90dfdb60e1ce9554544b5b14b711da7b82f16d41285023ed8474695cb6cb964fdafa77c27cda58ca0582a8623b') + +build() { + cd $_pkgname-$pkgver + + export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver + + python setup.py build +} + +check() { + cd $_pkgname-$pkgver + + export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver + + python -m venv --system-site-packages test-env + + test-env/bin/python setup.py install + test-env/bin/python -m pytest -k 'not test_dask' +} + +package() { + cd $_pkgname-$pkgver + + export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver + + python setup.py install --root="$pkgdir" --optimize=1 + + install -D -m644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENCE +} + +# vim:set ts=2 sw=2 et: