summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2016-03-02 20:36:33 +0000
committerJustin Lecher <jlec@gentoo.org>2016-03-02 20:44:39 +0000
commitd593533fde76a219ed69143295c3cb525af43695 (patch)
treed46234f941570374d5f49b4d5947997ca0ce5e87 /net-misc/gsutil/gsutil-4.17.ebuild
parentsys-fs/aufs4: Add missing to eapply_user in EAPI=6 (diff)
downloadgentoo-d593533fde76a219ed69143295c3cb525af43695.tar.gz
gentoo-d593533fde76a219ed69143295c3cb525af43695.tar.bz2
gentoo-d593533fde76a219ed69143295c3cb525af43695.zip
net-misc/gsutil: Drop residual SocksiPy-branch reference
Gentoo-Bugs: https://bugs.gentoo.org/show_bug.cgi?id=575720 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'net-misc/gsutil/gsutil-4.17.ebuild')
-rw-r--r--net-misc/gsutil/gsutil-4.17.ebuild9
1 files changed, 9 insertions, 0 deletions
diff --git a/net-misc/gsutil/gsutil-4.17.ebuild b/net-misc/gsutil/gsutil-4.17.ebuild
index 117830654c9c..b2ee088b544a 100644
--- a/net-misc/gsutil/gsutil-4.17.ebuild
+++ b/net-misc/gsutil/gsutil-4.17.ebuild
@@ -3,6 +3,7 @@
# $Id$
EAPI="5"
+
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
@@ -39,6 +40,14 @@ PATCHES=(
"${FILESDIR}"/${PN}-4.16-use-friendy-version-checks.patch
)
+python_prepare_all() {
+ sed \
+ -e '/SocksiPy-branch/d' \
+ -i setup.py || die
+
+ distutils-r1_python_prepare_all
+}
+
python_test() {
export BOTO_CONFIG=${FILESDIR}/dummy.boto
${PYTHON} gslib/__main__.py test -u || die "tests failed"