From c33ed760788bda18e5f00396bf777f6eec69e45e Mon Sep 17 00:00:00 2001 From: Manuel RĂ¼ger Date: Sun, 13 Mar 2016 12:38:26 +0100 Subject: app-shells/thefuck: Remove pip dependency in setup.py Gentoo-Bug: 577274 Package-Manager: portage-2.2.28 --- app-shells/thefuck/thefuck-3.4.ebuild | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'app-shells') diff --git a/app-shells/thefuck/thefuck-3.4.ebuild b/app-shells/thefuck/thefuck-3.4.ebuild index d75c92f688f6..15c70cff400a 100644 --- a/app-shells/thefuck/thefuck-3.4.ebuild +++ b/app-shells/thefuck/thefuck-3.4.ebuild @@ -25,6 +25,11 @@ DEPEND="test? ( ${RDEPEND} dev-python/pytest[${PYTHON_USEDEP}] ) dev-python/setuptools[${PYTHON_USEDEP}]" +src_prepare() { + sed -i -e "/import pip/s/^/#/" -e "/pip.__version__/,+3 s/^/#/" setup.py || die + distutils-r1_src_prepare +} + python_test() { py.test || die } -- cgit v1.2.3-65-gdbad