[arch-commits] Commit in python-tqdm/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Nov 10 04:01:54 UTC 2020
Date: Tuesday, November 10, 2020 @ 04:01:54
Author: felixonmars
Revision: 748380
archrelease: copy trunk to community-staging-any
Added:
python-tqdm/repos/community-staging-any/
python-tqdm/repos/community-staging-any/PKGBUILD
(from rev 748378, python-tqdm/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: python-tqdm/repos/community-staging-any/PKGBUILD (from rev 748378, python-tqdm/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-10 04:01:54 UTC (rev 748380)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-tqdm
+pkgver=4.51.0
+pkgrel=2
+pkgdesc='Fast, Extensible Progress Meter'
+arch=('any')
+license=('MIT' 'MPL')
+url='https://github.com/tqdm/tqdm'
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-coverage' 'flake8')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/tqdm/tqdm/archive/v$pkgver.tar.gz")
+sha512sums=('68b703bcb653ea09ca22ad5c94d662c729cee571839d38e98988e4d69e658d4aeb02198bd1a8f62c6041b662564fbe049c12b7b481cf874de4110af8c66b1c66')
+
+build() {
+ cd tqdm-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd tqdm-$pkgver
+ python setup.py egg_info
+ python -m pytest
+}
+
+package() {
+ cd tqdm-$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