[arch-commits] Commit in python-tqdm/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Sat Sep 3 15:16:05 UTC 2022
Date: Saturday, September 3, 2022 @ 15:16:04
Author: felixonmars
Revision: 1292572
archrelease: copy trunk to community-any
Added:
python-tqdm/repos/community-any/PKGBUILD
(from rev 1292571, python-tqdm/trunk/PKGBUILD)
Deleted:
python-tqdm/repos/community-any/PKGBUILD
----------+
PKGBUILD | 96 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 48 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-03 15:15:48 UTC (rev 1292571)
+++ PKGBUILD 2022-09-03 15:16:04 UTC (rev 1292572)
@@ -1,48 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_pkgname=tqdm
-pkgname=python-$_pkgname
-pkgver=4.64.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=('12033a60d93887a3e7d178e536e1c37be14219b7d787e0695d8350aff2f4a9947c0bb96e045aef55dc6935931aa27d10050198511bebabb9e308811da658e689')
-
-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 1292571, python-tqdm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-09-03 15:16:04 UTC (rev 1292572)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_pkgname=tqdm
+pkgname=python-$_pkgname
+pkgver=4.64.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=('87cb0c0daebb66ccdbf6f55207459795fcaa93d9bfacb767008ca9e536c0e2738c3639162d02fd0b9d91b18a75b411d5a0d53feb7d6c4786be31640c35a8d9b5')
+
+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:
More information about the arch-commits
mailing list