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