1 |
commit: 56008b715e79867a6341e5009519365fa3f89259 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 4 14:03:47 2016 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 4 14:04:22 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56008b71 |
7 |
|
8 |
app-shells/thefuck: Fix dependencies for python2.7 |
9 |
|
10 |
Gentoo-Bug: 589110 |
11 |
|
12 |
Package-Manager: portage-2.3.0 |
13 |
|
14 |
app-shells/thefuck/thefuck-3.11-r1.ebuild | 36 +++++++++++++++++++++++++++++++ |
15 |
1 file changed, 36 insertions(+) |
16 |
|
17 |
diff --git a/app-shells/thefuck/thefuck-3.11-r1.ebuild b/app-shells/thefuck/thefuck-3.11-r1.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000..e1d61c7 |
20 |
--- /dev/null |
21 |
+++ b/app-shells/thefuck/thefuck-3.11-r1.ebuild |
22 |
@@ -0,0 +1,36 @@ |
23 |
+# Copyright 1999-2016 Gentoo Foundation |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+# $Id$ |
26 |
+ |
27 |
+EAPI=5 |
28 |
+PYTHON_COMPAT=(python{2_7,3_4}) |
29 |
+ |
30 |
+inherit distutils-r1 |
31 |
+ |
32 |
+DESCRIPTION="Magnificent app which corrects your previous console command" |
33 |
+HOMEPAGE="https://github.com/nvbn/thefuck" |
34 |
+SRC_URI="https://github.com/nvbn/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
35 |
+KEYWORDS="~amd64 ~x86" |
36 |
+ |
37 |
+LICENSE="MIT" |
38 |
+SLOT="0" |
39 |
+IUSE="test" |
40 |
+ |
41 |
+RDEPEND="virtual/python-pathlib[${PYTHON_USEDEP}] |
42 |
+ dev-python/psutil[${PYTHON_USEDEP}] |
43 |
+ dev-python/six[${PYTHON_USEDEP}] |
44 |
+ dev-python/decorator[${PYTHON_USEDEP}] |
45 |
+ dev-python/colorama[${PYTHON_USEDEP}] |
46 |
+ $(python_gen_cond_dep 'dev-python/pathlib2[${PYTHON_USEDEP}]' python2_7)" |
47 |
+DEPEND="test? ( ${RDEPEND} |
48 |
+ dev-python/pytest[${PYTHON_USEDEP}] ) |
49 |
+ dev-python/setuptools[${PYTHON_USEDEP}]" |
50 |
+ |
51 |
+src_prepare() { |
52 |
+ sed -i -e "/import pip/s/^/#/" -e "/pip.__version__/,+3 s/^/#/" setup.py || die |
53 |
+ distutils-r1_src_prepare |
54 |
+} |
55 |
+ |
56 |
+python_test() { |
57 |
+ py.test || die |
58 |
+} |