1 |
commit: 664329370a48b8419b5c840c1104efcb0dd347fd |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 2 16:47:06 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 2 16:51:14 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66432937 |
7 |
|
8 |
dev-python/tqdm: Remove unmaintained obsolete live ebuild |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/tqdm/tqdm-9999.ebuild | 60 ---------------------------------------- |
13 |
1 file changed, 60 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/tqdm/tqdm-9999.ebuild b/dev-python/tqdm/tqdm-9999.ebuild |
16 |
deleted file mode 100644 |
17 |
index f8988f33113..00000000000 |
18 |
--- a/dev-python/tqdm/tqdm-9999.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,60 +0,0 @@ |
21 |
-# Copyright 1999-2020 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=7 |
25 |
- |
26 |
-PYTHON_COMPAT=( pypy3 python3_{6,7,8} ) |
27 |
- |
28 |
-inherit distutils-r1 |
29 |
- |
30 |
-if [[ ${PV} == 9999 ]]; then |
31 |
- inherit git-r3 |
32 |
- EGIT_REPO_URI="https://github.com/tqdm/tqdm" |
33 |
-else |
34 |
- SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
35 |
- KEYWORDS="~amd64 ~sparc ~x86" |
36 |
-fi |
37 |
- |
38 |
-DESCRIPTION="Add a progress meter to your loops in a second" |
39 |
-HOMEPAGE="https://github.com/tqdm/tqdm" |
40 |
- |
41 |
-LICENSE="MIT" |
42 |
-SLOT="0" |
43 |
-IUSE="examples" |
44 |
- |
45 |
-RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
46 |
-BDEPEND="${RDEPEND}" |
47 |
- |
48 |
-distutils_enable_tests nose |
49 |
- |
50 |
-python_prepare_all() { |
51 |
- sed -r \ |
52 |
- -e "s:'nose'(,[[:space:]]*|)::" \ |
53 |
- -e "s:'flake8'(,[[:space:]]*|)::" \ |
54 |
- -e "s:'coverage'(,[[:space:]]*|)::" \ |
55 |
- -i setup.py |
56 |
- |
57 |
- distutils-r1_python_prepare_all |
58 |
-} |
59 |
- |
60 |
-python_test() { |
61 |
- # tests_main.py requires the package to be installed |
62 |
- distutils_install_for_testing |
63 |
- # Skip unpredictable performance tests |
64 |
- nosetests tqdm -v --ignore 'tests_perf.py' \ |
65 |
- || die "tests failed with ${EPYTHON}" |
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 --skip-build |
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 |
-} |