projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b158896
)
app-shells/thefuck: Remove pip dependency in setup.py
author
Manuel Rüger
<mrueg@gentoo.org>
Sun, 13 Mar 2016 11:38:26 +0000
(12:38 +0100)
committer
Manuel Rüger
<mrueg@gentoo.org>
Sun, 13 Mar 2016 11:38:26 +0000
(12:38 +0100)
Gentoo-Bug: 577274
Package-Manager: portage-2.2.28
app-shells/thefuck/thefuck-3.4.ebuild
patch
|
blob
|
history
diff --git
a/app-shells/thefuck/thefuck-3.4.ebuild
b/app-shells/thefuck/thefuck-3.4.ebuild
index d75c92f688f65b1c27c6ff4cc396d16cb846cddb..15c70cff400abcd79b88c1762136bf533c32e002 100644
(file)
--- 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
}