1 |
commit: 3e5264bae2d885b851c59170242d60dde09757f8 |
2 |
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 30 18:19:46 2017 +0000 |
4 |
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 30 18:19:46 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e5264ba |
7 |
|
8 |
dev-python/ptpython: python3_6 added |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
dev-python/ptpython/ptpython-0.33-r1.ebuild | 34 +++++++++++++++++++++++++++++ |
13 |
1 file changed, 34 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/ptpython/ptpython-0.33-r1.ebuild b/dev-python/ptpython/ptpython-0.33-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000000..45f9f1f3314 |
18 |
--- /dev/null |
19 |
+++ b/dev-python/ptpython/ptpython-0.33-r1.ebuild |
20 |
@@ -0,0 +1,34 @@ |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=6 |
25 |
+ |
26 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
27 |
+ |
28 |
+inherit distutils-r1 eutils |
29 |
+ |
30 |
+DESCRIPTION="Python REPL build on top of prompt_toolkit" |
31 |
+HOMEPAGE="https://pypi.python.org/pypi/ptpython/ https://github.com/jonathanslenders/ptpython" |
32 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
33 |
+ |
34 |
+SLOT="0" |
35 |
+LICENSE="BSD" |
36 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
37 |
+IUSE="" |
38 |
+ |
39 |
+RDEPEND=" |
40 |
+ dev-python/docopt[${PYTHON_USEDEP}] |
41 |
+ >=dev-python/jedi-0.9.0[${PYTHON_USEDEP}] |
42 |
+ >=dev-python/prompt_toolkit-0.58[${PYTHON_USEDEP}] |
43 |
+ dev-python/pygments[${PYTHON_USEDEP}] |
44 |
+" |
45 |
+DEPEND="${RDEPEND} |
46 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
47 |
+" |
48 |
+ |
49 |
+# Not included |
50 |
+RESTRICT=test |
51 |
+ |
52 |
+python_test() { |
53 |
+ "${PYTHON}" tests/run_tests.py || die |
54 |
+} |