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