1 |
commit: d801c938b001736fb31aa0e078e495ea956f647c |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 25 17:19:49 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 25 18:49:20 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d801c938 |
7 |
|
8 |
dev-python/tqdm: Bump to 4.55.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.55.0.ebuild | 50 ++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 51 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/tqdm/Manifest b/dev-python/tqdm/Manifest |
17 |
index 34077dd5b67..88082d74b19 100644 |
18 |
--- a/dev-python/tqdm/Manifest |
19 |
+++ b/dev-python/tqdm/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST tqdm-4.53.0.tar.gz 179940 BLAKE2B 022fd8eae70a38306d201981bd6c2e469791abc86e3e10bf2bcbe4936e4e6791dc24b3e064c6adb830fd908a1544389fdba8f7017bee17632925c1bcc3d42349 SHA512 ffb06058a71e31497ced0b6b5ce8671a7e958968e0a08e1b68dc9f3a9acac415c1708f6669d369ab484bbc07a8fc06716ed32fde70f22c0dbd8242417f95a713 |
22 |
DIST tqdm-4.54.0.tar.gz 178664 BLAKE2B 68d0f054b2c95079e13ad9df3e9467f48925311151e5eed94795d3fab232301da99c2704daafd80f748037a467d25416913f0921d6b7c44d725c5ed6861fe347 SHA512 dbb2a61df848ebd84ab805134b7e7297e1cf7626abaa830a08159ce7b1852eba40a6a7f2cc7c8445294a184bbfbd69bf08430371f3e2d71f6a622a271ba49e95 |
23 |
DIST tqdm-4.54.1.tar.gz 178633 BLAKE2B 10a9314405f1565a130baaef3b4d23fb8606b954fb6e70ec1fffd21a531957432254d3081085f8cb2e55ab103ac17ad23683a5a945917e278fcc61760ee69b90 SHA512 ba9dde2bd2f39d10bfdb0f624f1e60db12fef79732aee1fa21049e37ab60ffafbe097ab124bb3fbd34d9f4efa10e317ab7d594551ae612c0f6c37c2ce9395997 |
24 |
+DIST tqdm-4.55.0.tar.gz 161594 BLAKE2B 890bbb47db356678be2c3edd893d70b085f5bc8fefbf87f12ba8c69fe14ac523a1eed6e335fb84f2ff43b2b0fea901411f8a72b24212cb2ad5ef4955ec8f2df5 SHA512 84062f7d2a109e4067e0868990b6e53578c7c2ec2b81a0cbdc980c91d2d82a8bda37e0c9688777fcf14cc80b7ddf7b28b7a5acfe37608e37903fe45908103913 |
25 |
|
26 |
diff --git a/dev-python/tqdm/tqdm-4.55.0.ebuild b/dev-python/tqdm/tqdm-4.55.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..bfed1d06c33 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/tqdm/tqdm-4.55.0.ebuild |
31 |
@@ -0,0 +1,50 @@ |
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 python3_{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 ~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 |
+ |
61 |
+distutils_enable_tests pytest |
62 |
+ |
63 |
+python_test() { |
64 |
+ # Skip unpredictable performance tests |
65 |
+ pytest -vv --ignore 'tests/tests_perf.py' || |
66 |
+ die "Tests failed with ${EPYTHON}" |
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 |
+} |