1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python3_6 )
8 inherit distutils-r1 eutils
10 DESCRIPTION="Python REPL build on top of prompt_toolkit"
11 HOMEPAGE="https://pypi.org/project/ptpython/ https://github.com/jonathanslenders/ptpython"
12 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
16 KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
20 dev-python/docopt[${PYTHON_USEDEP}]
21 >=dev-python/jedi-0.9.0[${PYTHON_USEDEP}]
22 >=dev-python/prompt_toolkit-0.58[${PYTHON_USEDEP}]
23 dev-python/pygments[${PYTHON_USEDEP}]
26 dev-python/setuptools[${PYTHON_USEDEP}]
33 "${PYTHON}" tests/run_tests.py || die