summaryrefslogtreecommitdiff
path: root/dev-python/ptpython/ptpython-0.28.ebuild
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2016-01-07 10:28:15 +0100
committerJustin Lecher <jlec@gentoo.org>2016-01-07 10:28:15 +0100
commitb86ef21dcd777b8bc3ad8f007eee22e4c5f20028 (patch)
treeec50b2e4ca27f908e59d85f22807aae4f3d60bb0 /dev-python/ptpython/ptpython-0.28.ebuild
parent960fc5014ab6ab87856e8fb4a0ba2aab4de91e6b (diff)
downloadgentoo-b86ef21dcd777b8bc3ad8f007eee22e4c5f20028.tar.gz
gentoo-b86ef21dcd777b8bc3ad8f007eee22e4c5f20028.tar.bz2
gentoo-b86ef21dcd777b8bc3ad8f007eee22e4c5f20028.zip
dev-python/ptpython: Version Bump
Package-Manager: portage-2.2.26 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/ptpython/ptpython-0.28.ebuild')
-rw-r--r--dev-python/ptpython/ptpython-0.28.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/ptpython/ptpython-0.28.ebuild b/dev-python/ptpython/ptpython-0.28.ebuild
new file mode 100644
index 000000000000..e3c7a9d6597c
--- /dev/null
+++ b/dev-python/ptpython/ptpython-0.28.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{3,4} )
+
+inherit distutils-r1 eutils
+
+DESCRIPTION="Python REPL build on top of prompt_toolkit"
+HOMEPAGE="https://pypi.python.org/pypi/ptpython/ https://github.com/jonathanslenders/ptpython"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="
+ >=dev-python/prompt_toolkit-0.57[${PYTHON_USEDEP}]
+ >=dev-python/jedi-0.9.0[${PYTHON_USEDEP}]
+ dev-python/docopt[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+"
+
+RESTRICT=test
+
+python_test() {
+ "${PYTHON}" tests/run_tests.py || die
+}