1 |
commit: f0763ac3226d34642fab02827e596f234bb6ea97 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 25 20:16:36 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 25 20:40:16 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0763ac3 |
7 |
|
8 |
dev-python/tqdm: Bump to 4.51.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/tqdm/Manifest | 1 + |
13 |
dev-python/tqdm/tqdm-4.51.0.ebuild | 46 ++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 47 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/tqdm/Manifest b/dev-python/tqdm/Manifest |
17 |
index 7176c82be38..26a652c5e63 100644 |
18 |
--- a/dev-python/tqdm/Manifest |
19 |
+++ b/dev-python/tqdm/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST tqdm-4.49.0.tar.gz 151935 BLAKE2B 790e2912a402795af9aba2e4db80cf41a7cb08267dad5946d89b4d9fb8b8c7a1dd65f33dcaf315bbe82862c0c2934b2dd2b8cee894c592d5a61ac61dd8c5126f SHA512 44197eb09b90551eb66c8b2e0dc97f6864fc91654465e7d478ece6ecd610242d8e378c6814f9d3e1cf05b2db1aa533743535051ad456ec5ef6d477be906ee217 |
22 |
DIST tqdm-4.50.2.tar.gz 153853 BLAKE2B 12eccead810b8434ac1c7787b34ee54e78f6f2fa566e7ad10bbb428bb48af723e75126955e6af5262062d9a98621b5e70ca08925a2024c09488579c128ff5d00 SHA512 2d13473d3f7e85de1c62cc753bca2c2971acbfb8c1a0f99cebf248e9e384b5875ae655c41438abb9861d6c90051eec0d1a23af849f157359fa88c730718ecd33 |
23 |
+DIST tqdm-4.51.0.tar.gz 152976 BLAKE2B f9cef9de6a77c21e40394edd006fbd8fa913af4d3a9a8ac68bd9fde81b1eebc404f6fab90d9aadc57ce2ccfbc3a2f8d8879b151f6283dc34edc25d70f69ae6e1 SHA512 04bb2a173b9b79b76844fedbc14572fa955232d1dcb6ac55b7265c4cc7a4f712f2c2965ac3bcb9e10ea1bd041593230b047365816bf508d457d873a2d4830d3f |
24 |
|
25 |
diff --git a/dev-python/tqdm/tqdm-4.51.0.ebuild b/dev-python/tqdm/tqdm-4.51.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..86b23f03a50 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/tqdm/tqdm-4.51.0.ebuild |
30 |
@@ -0,0 +1,46 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
37 |
+PYTHON_COMPAT=( pypy3 python3_{6,7,8,9} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+if [[ ${PV} == 9999 ]]; then |
42 |
+ inherit git-r3 |
43 |
+ EGIT_REPO_URI="https://github.com/tqdm/tqdm" |
44 |
+else |
45 |
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
46 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
47 |
+fi |
48 |
+ |
49 |
+DESCRIPTION="Add a progress meter to your loops in a second" |
50 |
+HOMEPAGE="https://github.com/tqdm/tqdm" |
51 |
+ |
52 |
+LICENSE="MIT" |
53 |
+SLOT="0" |
54 |
+IUSE="examples" |
55 |
+ |
56 |
+distutils_enable_tests pytest |
57 |
+ |
58 |
+python_test() { |
59 |
+ # Skip unpredictable performance tests |
60 |
+ pytest -vv --ignore 'tests/tests_perf.py' || |
61 |
+ die "Tests failed with ${EPYTHON}" |
62 |
+} |
63 |
+ |
64 |
+python_install() { |
65 |
+ doman "${BUILD_DIR}"/lib/tqdm/tqdm.1 |
66 |
+ rm "${BUILD_DIR}"/lib/tqdm/tqdm.1 || die |
67 |
+ distutils-r1_python_install |
68 |
+} |
69 |
+ |
70 |
+python_install_all() { |
71 |
+ if use examples; then |
72 |
+ dodoc -r examples |
73 |
+ docompress -x /usr/share/doc/${PF}/examples |
74 |
+ fi |
75 |
+ distutils-r1_python_install_all |
76 |
+} |