1 |
commit: acc8020cd2bef65da5da5f2544cb7bfb4945fbc0 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 7 06:07:09 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 7 06:33:37 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acc8020c |
7 |
|
8 |
dev-python/tqdm: Bump to 4.61.2 |
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.2.ebuild | 51 ++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 52 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/tqdm/Manifest b/dev-python/tqdm/Manifest |
17 |
index f9785ed38ea..91e8178c2e3 100644 |
18 |
--- a/dev-python/tqdm/Manifest |
19 |
+++ b/dev-python/tqdm/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST tqdm-4.61.1.tar.gz 169637 BLAKE2B 8b89f320e13119b24a9e121747bce0b5c6625c31feb8c427a97e71da52797d9de764ce5e5c41c07d5954a1e5e4e21913335a4691837bc243db473821b2dad1ac SHA512 6092a30389380a511abc8bee7e6144556d6dc1a993ba4a2685707afa2838a12f472aa216ac5e55d144da74f9be1d398d4c6f5352986a200557e4aba67831a505 |
22 |
+DIST tqdm-4.61.2.tar.gz 169665 BLAKE2B f5dff67eb549cab0dd667815c25f6e885a2e0cefc2ad68e97fdc09599eb41b13589f7a88d5a445813973454a5e5f835b3139651ec2e09b717db0fd6dc705890e SHA512 bc33e8fe00244f90f61ab51d0c7c0b98d5580efebd9758284d9dbe2a699eabeb0d92871eedc2f95f377e29dd0f7ea4b5247b96cb4cc1687dcfea3a9ed1152ab7 |
23 |
|
24 |
diff --git a/dev-python/tqdm/tqdm-4.61.2.ebuild b/dev-python/tqdm/tqdm-4.61.2.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..376ba7ad038 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/tqdm/tqdm-4.61.2.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=8 |
34 |
+ |
35 |
+PYTHON_COMPAT=( pypy3 python3_{8..10} ) |
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 |
+} |