Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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
22
net-misc/gsutil/files/gsutil-3.34-use-friendy-version-checks.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 = [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |