1 |
commit: bfa55b84bbd4da3e21b73fdebd517bc246ff6a0b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 29 06:51:47 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 29 06:53:22 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfa55b84 |
7 |
|
8 |
dev-python/tqdm: Bump to 4.47.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.47.0.ebuild | 58 ++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 59 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/tqdm/Manifest b/dev-python/tqdm/Manifest |
17 |
index 28b3a53c9ad..250d86e8b5e 100644 |
18 |
--- a/dev-python/tqdm/Manifest |
19 |
+++ b/dev-python/tqdm/Manifest |
20 |
@@ -4,3 +4,4 @@ DIST tqdm-4.40.0.tar.gz 129225 BLAKE2B 85030c11bdba6c1d6da461e3c648bae6ae173577f |
21 |
DIST tqdm-4.45.0.tar.gz 140990 BLAKE2B 8699b3a820859406e9bbafaaa48ba1b418e3083898d2b6c3401078996dd03431db259d5ad8a377226a50b80513ef0fc55bdaf2b67fc4a2bdd490bc5fdc04d681 SHA512 7b35f86205c6581ede9bdb0788e7f55be525c3f0f77952803046661c6a7a6cd3c15ed0323376ecedb5cddace1b32a41fee1932033dcaa49f9096dc3b9b674f10 |
22 |
DIST tqdm-4.46.0.tar.gz 144312 BLAKE2B 93b902d9a362e658f244f3c1b15a3496425cb3e401adf291dc0a9c7c0bd551baa1171a753be8d1c3b877d2cd3ab25e81dddbd8492668d0b0f6ca3cb47d13be1c SHA512 ccdfce4d273e78ced172fc3edb24ac038465169f7b765e7bf779831ef3d0dc72c648c5fb165aba02e0c6dc86c5d0ea3d93d5530b642ddd84e3d284c7354739cf |
23 |
DIST tqdm-4.46.1.tar.gz 144383 BLAKE2B 4d72bfbf0c225c779ae2c9bf405f9effdb69cfe7862325b12e8408c17a03b7a87f9cf0d055de598a67132861114c89b237d0ad2509302e452cc67ce9aa34fa48 SHA512 de8710ceb44b6caa073aaa3c9dca281880d752d1b542a3dd87a54884478a185c35ab1969c6cb7242e30ee0511f967cde7bd4fa83a8d4f8c58d3e95ad2bf3bfc6 |
24 |
+DIST tqdm-4.47.0.tar.gz 145749 BLAKE2B 77a5efec763a8e58e071ee571077ee0db72d9243308592519ecd2c38f60d6b621fd7362dd87bdd0759a39f25c19cc3cc889e9a8376dc658ed565ca7e19fc68cd SHA512 4023988cef757f43a6f59f7eddc8f40246cbca4994cea91dbb4a788385c0706f376f4c0fd5c8c47146c10eb8c52be2c9d4855b7bea0a5036162c55447aac95d7 |
25 |
|
26 |
diff --git a/dev-python/tqdm/tqdm-4.47.0.ebuild b/dev-python/tqdm/tqdm-4.47.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..563276f5d14 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/tqdm/tqdm-4.47.0.ebuild |
31 |
@@ -0,0 +1,58 @@ |
32 |
+# Copyright 1999-2020 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 python{2_7,3_{6,7,8,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" |
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 |
+distutils_enable_tests nose |
58 |
+ |
59 |
+python_prepare_all() { |
60 |
+ sed -r \ |
61 |
+ -e "s:'nose'(,[[:space:]]*|)::" \ |
62 |
+ -e "s:'flake8'(,[[:space:]]*|)::" \ |
63 |
+ -e "s:'coverage'(,[[:space:]]*|)::" \ |
64 |
+ -i setup.py |
65 |
+ |
66 |
+ distutils-r1_python_prepare_all |
67 |
+} |
68 |
+ |
69 |
+python_test() { |
70 |
+ # tests_main.py requires the package to be installed |
71 |
+ distutils_install_for_testing |
72 |
+ # Skip unpredictable performance tests |
73 |
+ nosetests tqdm -v --ignore 'tests_perf.py' \ |
74 |
+ || die "tests failed with ${EPYTHON}" |
75 |
+} |
76 |
+ |
77 |
+python_install() { |
78 |
+ doman "${BUILD_DIR}"/lib/tqdm/tqdm.1 |
79 |
+ rm "${BUILD_DIR}"/lib/tqdm/tqdm.1 || die |
80 |
+ distutils-r1_python_install --skip-build |
81 |
+} |
82 |
+ |
83 |
+python_install_all() { |
84 |
+ if use examples; then |
85 |
+ dodoc -r examples |
86 |
+ docompress -x /usr/share/doc/${PF}/examples |
87 |
+ fi |
88 |
+ distutils-r1_python_install_all |
89 |
+} |