1 |
commit: aaf3e47f5167279484e0d1e7501c399665dd4b24 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 12 20:12:10 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 12 21:01:58 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aaf3e47f |
7 |
|
8 |
dev-python/tqdm: Bump to 4.61.1 |
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.61.1.ebuild | 51 ++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 52 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/tqdm/Manifest b/dev-python/tqdm/Manifest |
17 |
index d710ebbec9f..49ea7abe16c 100644 |
18 |
--- a/dev-python/tqdm/Manifest |
19 |
+++ b/dev-python/tqdm/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST tqdm-4.60.0.tar.gz 174201 BLAKE2B 78f4e2c2189621b5d276b8a9c75bae1566b05888cce81d8281de358ad2817e9751395bcf529c07620cd1ec4431c78ed7c1400dc96e9c3a99ac92daf2551b2da5 SHA512 e76dda97323353725c8e30b254bacfa328b4708d37ba2d21dadd30fd26e76605d8f077f02f2047030c6ab9761710a0e86640153fee0e3a3f972db12266fcfde2 |
22 |
DIST tqdm-4.61.0.tar.gz 169471 BLAKE2B 6710b057bc5cab7afc72681c469618b442d47a0aec4300f52a360af41fff082a96d3f67cb650978c924df210a1c56e2856f181d55cdcc5692713d53581932144 SHA512 7c13c98572ac2800b695cf38d6de84b348c20967187dfcd3a358fc3a9999bfda509d3b4fbb77272840e1568ed975fc038cfb4034288c72560e09a58fbdc636f1 |
23 |
+DIST tqdm-4.61.1.tar.gz 169637 BLAKE2B 8b89f320e13119b24a9e121747bce0b5c6625c31feb8c427a97e71da52797d9de764ce5e5c41c07d5954a1e5e4e21913335a4691837bc243db473821b2dad1ac SHA512 6092a30389380a511abc8bee7e6144556d6dc1a993ba4a2685707afa2838a12f472aa216ac5e55d144da74f9be1d398d4c6f5352986a200557e4aba67831a505 |
24 |
|
25 |
diff --git a/dev-python/tqdm/tqdm-4.61.1.ebuild b/dev-python/tqdm/tqdm-4.61.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..efd3b71ffe2 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/tqdm/tqdm-4.61.1.ebuild |
30 |
@@ -0,0 +1,51 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( pypy3 python3_{8..9} ) |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+if [[ ${PV} == 9999 ]]; then |
40 |
+ inherit git-r3 |
41 |
+ EGIT_REPO_URI="https://github.com/tqdm/tqdm" |
42 |
+else |
43 |
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
44 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos" |
45 |
+fi |
46 |
+ |
47 |
+DESCRIPTION="Add a progress meter to your loops in a second" |
48 |
+HOMEPAGE="https://github.com/tqdm/tqdm" |
49 |
+ |
50 |
+LICENSE="MIT" |
51 |
+SLOT="0" |
52 |
+IUSE="examples" |
53 |
+ |
54 |
+BDEPEND=" |
55 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
56 |
+ dev-python/toml[${PYTHON_USEDEP}] |
57 |
+ test? ( |
58 |
+ dev-python/pytest-asyncio[${PYTHON_USEDEP}] |
59 |
+ dev-python/pytest-timeout[${PYTHON_USEDEP}] |
60 |
+ )" |
61 |
+ |
62 |
+distutils_enable_tests pytest |
63 |
+ |
64 |
+python_test() { |
65 |
+ # Skip unpredictable performance tests |
66 |
+ epytest --ignore 'tests/tests_perf.py' |
67 |
+} |
68 |
+ |
69 |
+python_install() { |
70 |
+ doman "${BUILD_DIR}"/lib/tqdm/tqdm.1 |
71 |
+ rm "${BUILD_DIR}"/lib/tqdm/tqdm.1 || die |
72 |
+ distutils-r1_python_install |
73 |
+} |
74 |
+ |
75 |
+python_install_all() { |
76 |
+ if use examples; then |
77 |
+ dodoc -r examples |
78 |
+ docompress -x /usr/share/doc/${PF}/examples |
79 |
+ fi |
80 |
+ distutils-r1_python_install_all |
81 |
+} |