# $Id$
EAPI="5"
+
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
"${FILESDIR}/${PN}-3.37-drop-http_proxy-clearing.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"
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
+
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
"${FILESDIR}"/${PN}-4.15-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"
# $Id$
EAPI="5"
+
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
"${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"
# $Id$
EAPI="5"
+
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
"${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"