summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2016-03-13 12:38:26 +0100
committerManuel Rüger <mrueg@gentoo.org>2016-03-13 12:38:26 +0100
commitc33ed760788bda18e5f00396bf777f6eec69e45e (patch)
treea42fe44310a9648a42974b9a585d97b8cae9303b /app-shells
parentdev-libs/qtkeychain: Revision bump 0.5.0 (diff)
downloadgentoo-c33ed760788bda18e5f00396bf777f6eec69e45e.tar.gz
gentoo-c33ed760788bda18e5f00396bf777f6eec69e45e.tar.bz2
gentoo-c33ed760788bda18e5f00396bf777f6eec69e45e.zip
app-shells/thefuck: Remove pip dependency in setup.py
Gentoo-Bug: 577274 Package-Manager: portage-2.2.28
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/thefuck/thefuck-3.4.ebuild5
1 files changed, 5 insertions, 0 deletions
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
}