1 |
commit: ebba800def92f8ed075f59d0446aeca7ec09b670 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 20 21:15:57 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 20 21:15:57 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebba800d |
7 |
|
8 |
dev-python/tqdm: Bump to 4.62.3 |
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.62.3.ebuild | 51 ++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 52 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/tqdm/Manifest b/dev-python/tqdm/Manifest |
17 |
index b10a2a36e08..81515e7c895 100644 |
18 |
--- a/dev-python/tqdm/Manifest |
19 |
+++ b/dev-python/tqdm/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST tqdm-4.62.0.tar.gz 169668 BLAKE2B 64a3df2f00a4fcba6bb67ae15e04f392a73b54cf7284f3c013ad31d00317e9d84ac2e1feed302137aeb7ea9e3c9d1d730623cbd96e8c76c46df6382435146efa SHA512 dd60d5522b68086410ec5f02574477dcc33a887ef509cc1d1735921dd906f951180d6115680517b3abbd2cf6c4ee1c60b9c950654ea9b7642d52d28052326088 |
22 |
DIST tqdm-4.62.2.tar.gz 169564 BLAKE2B fd3484db22eda5db7431fc337e23cfcf44882efc56c8b10208d799c156fefb5aa70c69c7063315d86d3ff881b97b62ac0b5c8be73ad3546ad0728f3f544cadfa SHA512 a59a041fa239e215e541f07c66292c27bfe067f3f2eac2916662b4ef1faa630346dec9558a7f66a3456b3d2ddcd164f9381cb89e5ac8350d0295367bfc248a8c |
23 |
+DIST tqdm-4.62.3.tar.gz 167952 BLAKE2B d5732fc97256e1fc4f55bd1a0f69f98a87e7132cc1d8484baa12b7615da5a95ce20268515539c595c2b2aaf20f9a9434c17d581b3b90ea3cad3515150e469471 SHA512 1083ca2080163c98bbb55e124ce9d47c790e47c83cd8dad60e4c93773d1d97a50aacb5a25ddb8a2ae3691738e4f4942c88d55dab406c3e810cac18b8929d20ee |
24 |
|
25 |
diff --git a/dev-python/tqdm/tqdm-4.62.3.ebuild b/dev-python/tqdm/tqdm-4.62.3.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..be993f73487 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/tqdm/tqdm-4.62.3.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=8 |
35 |
+ |
36 |
+PYTHON_COMPAT=( pypy3 python3_{8..10} ) |
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 ~riscv ~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 |
+} |