Skip to content

Commit

Permalink
Bump gsutil to 3.34
Browse files Browse the repository at this point in the history
  • Loading branch information
marineam committed Aug 12, 2013
1 parent 052e77b commit 185a3fc
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 0 deletions.
1 change: 1 addition & 0 deletions net-misc/gsutil/Manifest
@@ -1 +1,2 @@
DIST gsutil_3.31.tar.gz 1533732 SHA256 fc429054777caa6dfa49776b28c0511f0d63dc45351f9e0ba31e9fee036694f9 SHA512 acb210147d618c1a5e82259ab0183ef4349b491889d862f4619d6b10384f30a719dd1239e87d2b65260ba1f6865447b9c4989cf35959c15149d124b345d65da6 WHIRLPOOL 4279cfbdb5d452a062e6a8cc23dd49bb7bff3e264903c1da46861bc5ef39dfb73a62e22b49175652b5003e658017921873f2c6dbfdc6c114ad80cf1b71e7d004
DIST gsutil_3.34.tar.gz 1572225 SHA256 f01195a58358836d665c1760e248044fb19b85ab33565e60f0f96f915f41e7e7 SHA512 a413570c881bd222a49169da5a4e899ccb889bcbe889f3e7cb888562884b759af18253b942dfb6d0fbdede3d6b8dd8eee4bb45af3d9adfe630f96f163bf7773d WHIRLPOOL 5afc1680f402181a1d1f53fa72f9fa98ec417684cc21c7c794ed2e779ff6516fd27b35d8e48ac90e427868c6311c3450b1c373dd133290e7b5d4a1be8f753620
22 changes: 22 additions & 0 deletions net-misc/gsutil/files/gsutil-3.34-use-friendy-version-checks.patch
@@ -0,0 +1,22 @@
diff --git a/setup.py b/setup.py
index 1478628..c25b6e7 100755
--- a/setup.py
+++ b/setup.py
@@ -33,15 +33,13 @@ management tasks, including:
"""

requires = [
- 'boto==2.9.7',
+ 'boto>=2.9.7',
'httplib2>=0.8',
'python-gflags>=2.0',
'google-api-python-client>=1.1',
'pyOpenSSL>=0.13',
'crcmod>=1.7',
- # Not using 1.02 because of:
- # https://code.google.com/p/socksipy-branch/issues/detail?id=3
- 'SocksiPy-branch==1.01',
+ 'SocksiPy-branch>=1.01',
]

dependency_links = [
38 changes: 38 additions & 0 deletions net-misc/gsutil/gsutil-3.34.ebuild
@@ -0,0 +1,38 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="5"
PYTHON_COMPAT=( python{2_6,2_7} )

inherit distutils-r1

DESCRIPTION="command line tool for interacting with cloud storage services"
HOMEPAGE="https://github.com/GoogleCloudPlatform/gsutil"
SRC_URI="http://commondatastorage.googleapis.com/pub/${PN}_${PV}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="${PYTHON_DEPS}"
RDEPEND="${DEPEND}
>=dev-python/boto-2.9.7[${PYTHON_USEDEP}]
>=dev-python/crcmod-1.7
>=dev-python/httplib2-0.8[${PYTHON_USEDEP}]
>=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
dev-python/google-api-python-client[${PYTHON_USEDEP}]
dev-python/python-gflags[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/socksipy-branch[${PYTHON_USEDEP}]
"

S=${WORKDIR}/${PN}
DOCS=( README.md CHANGES.md )
PATCHES=( ${FILESDIR}/${P}-use-friendy-version-checks.patch )

python_test() {
export BOTO_CONFIG=${FILESDIR}/dummy.boto
${PYTHON} gslib/__main__.py test -u
}

0 comments on commit 185a3fc

Please sign in to comment.