Date: Sunday, August 15, 2021 @ 16:39:36 Author: felixonmars Revision: 998815
archrelease: copy trunk to community-any Added: python-tqdm/repos/community-any/PKGBUILD (from rev 998814, 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-15 16:39:20 UTC (rev 998814) +++ PKGBUILD 2021-08-15 16:39:36 UTC (rev 998815) @@ -1,48 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -_pkgname=tqdm -pkgname=python-$_pkgname -pkgver=4.62.0 -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=('0ef2713396efad1a9968e7f4d61ff9c711546df61f181da36afe678743d880bb58f172220ab05ec33ebd42591e349010478be9955c267da06aa09bfd86787d3b') - -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 998814, python-tqdm/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-08-15 16:39:36 UTC (rev 998815) @@ -0,0 +1,48 @@ +# 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: