Date: Monday, April 4, 2022 @ 01:25:23 Author: felixonmars Revision: 1181157
archrelease: copy trunk to community-any Added: python-tqdm/repos/community-any/PKGBUILD (from rev 1181156, python-tqdm/trunk/PKGBUILD) Deleted: python-tqdm/repos/community-any/PKGBUILD ----------+ PKGBUILD | 96 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 48 insertions(+), 48 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-04-04 01:25:12 UTC (rev 1181156) +++ PKGBUILD 2022-04-04 01:25:23 UTC (rev 1181157) @@ -1,48 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -_pkgname=tqdm -pkgname=python-$_pkgname -pkgver=4.63.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=('36f2a973efffce256cf00a6a49b6e09545ff4f4a22fc13078c8238ccb571715c433deb7a74e155490114c49774d5a5342048d26b69cb566063b1c44ba42e1670') - -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 1181156, python-tqdm/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-04-04 01:25:23 UTC (rev 1181157) @@ -0,0 +1,48 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +_pkgname=tqdm +pkgname=python-$_pkgname +pkgver=4.63.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=('a8e721421fbf3782aead9ad05237a5fb9a0f7b379fed808549852016153af9af41830a7cf7cdb9a148eb449ab3d770fa9899912f16f8f88b4cc793ac9f9af9b8') + +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: