summaryrefslogtreecommitdiff
path: root/dev-python/ptpython/ptpython-0.29.ebuild
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2016-02-25 09:20:36 +0100
committerJustin Lecher <jlec@gentoo.org>2016-02-25 09:21:32 +0100
commit2ba9a2b922bd1b1ee21228c41112b3f8e4b94d57 (patch)
treee3b097a800b6855a74cff820adebb3fcb3de8b08 /dev-python/ptpython/ptpython-0.29.ebuild
parent8abbebb9d84be966952e05df741cef97526d6297 (diff)
downloadgentoo-2ba9a2b922bd1b1ee21228c41112b3f8e4b94d57.tar.gz
gentoo-2ba9a2b922bd1b1ee21228c41112b3f8e4b94d57.tar.bz2
gentoo-2ba9a2b922bd1b1ee21228c41112b3f8e4b94d57.zip
dev-python/ptpython: Version Bump
Package-Manager: portage-2.2.27 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/ptpython/ptpython-0.29.ebuild')
-rw-r--r--dev-python/ptpython/ptpython-0.29.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/ptpython/ptpython-0.29.ebuild b/dev-python/ptpython/ptpython-0.29.ebuild
new file mode 100644
index 000000000000..d14273e856ca
--- /dev/null
+++ b/dev-python/ptpython/ptpython-0.29.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+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/docopt[${PYTHON_USEDEP}]
+ >=dev-python/jedi-0.9.0[${PYTHON_USEDEP}]
+ >=dev-python/prompt_toolkit-0.58[${PYTHON_USEDEP}]
+ dev-python/pygments[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+"
+
+# Not included
+RESTRICT=test
+
+python_test() {
+ "${PYTHON}" tests/run_tests.py || die
+}