1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=(python{2_7,3_4})
10 DESCRIPTION="Magnificent app which corrects your previous console command"
11 HOMEPAGE="https://github.com/nvbn/thefuck"
12 SRC_URI="https://github.com/nvbn/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
13 KEYWORDS="~amd64 ~x86"
19 RDEPEND="virtual/python-pathlib[${PYTHON_USEDEP}]
20 dev-python/psutil[${PYTHON_USEDEP}]
21 dev-python/six[${PYTHON_USEDEP}]
22 dev-python/decorator[${PYTHON_USEDEP}]
23 dev-python/colorama[${PYTHON_USEDEP}]"
24 DEPEND="test? ( ${RDEPEND}
25 dev-python/pytest[${PYTHON_USEDEP}] )
26 dev-python/setuptools[${PYTHON_USEDEP}]"
29 sed -i -e "/import pip/s/^/#/" -e "/pip.__version__/,+3 s/^/#/" setup.py || die
30 distutils-r1_src_prepare