1 |
commit: 6f10bceeb0d47396fb505ae8c751189c9f0c3b40 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 29 10:26:44 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 29 10:29:42 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f10bcee |
7 |
|
8 |
dev-python/urwidtrees: Remove redundant versions |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/urwidtrees/urwidtrees-1.0.2.ebuild | 50 --------------------------- |
13 |
1 file changed, 50 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/urwidtrees/urwidtrees-1.0.2.ebuild b/dev-python/urwidtrees/urwidtrees-1.0.2.ebuild |
16 |
deleted file mode 100644 |
17 |
index 628ea5e2392..00000000000 |
18 |
--- a/dev-python/urwidtrees/urwidtrees-1.0.2.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,50 +0,0 @@ |
21 |
-# Copyright 1999-2020 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=5 |
25 |
-PYTHON_COMPAT=( python3_6 ) |
26 |
- |
27 |
-inherit distutils-r1 |
28 |
- |
29 |
-DESCRIPTION="Tree widgets for urwid" |
30 |
-HOMEPAGE="https://github.com/pazz/urwidtrees" |
31 |
-#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
32 |
-SRC_URI="https://github.com/pazz/urwidtrees/archive/${PV}.tar.gz -> ${P}.tar.gz" |
33 |
- |
34 |
-LICENSE="GPL-3" |
35 |
-SLOT="0" |
36 |
-KEYWORDS="~amd64 ~x86" |
37 |
-IUSE="doc" |
38 |
- |
39 |
-DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" |
40 |
-RDEPEND=">=dev-python/urwid-1.1.0[${PYTHON_USEDEP}]" |
41 |
- |
42 |
-src_prepare() { |
43 |
- find "${S}" -name '*.py' -print0 | xargs -0 -- sed \ |
44 |
- -e '1i# -*- coding: utf-8 -*-' -i || die |
45 |
- |
46 |
- distutils-r1_src_prepare |
47 |
- |
48 |
- local md |
49 |
- for md in *.md; do |
50 |
- mv "${md}" "${md%.md}" |
51 |
- done |
52 |
-} |
53 |
- |
54 |
-src_compile() { |
55 |
- distutils-r1_src_compile |
56 |
- |
57 |
- if use doc; then |
58 |
- pushd docs || die |
59 |
- emake html |
60 |
- popd || die |
61 |
- fi |
62 |
-} |
63 |
- |
64 |
-src_install() { |
65 |
- distutils-r1_src_install |
66 |
- |
67 |
- if use doc; then |
68 |
- dohtml -r docs/build/html/* |
69 |
- fi |
70 |
-} |