[gentoo-commits] repo/gentoo:master commit in: net-misc/gsutil/

2023-01-10 Thread Michał Górny
commit: f9a67c457bcb42ea7568c24040f01a66c9f3feac
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jan 10 14:20:15 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jan 10 14:21:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9a67c45

net-misc/gsutil: Remove Python < 3.10

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/gsutil/gsutil-5.9.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/gsutil/gsutil-5.9.ebuild 
b/net-misc/gsutil/gsutil-5.9.ebuild
index 2dd866b29dda..a35f72008068 100644
--- a/net-misc/gsutil/gsutil-5.9.ebuild
+++ b/net-misc/gsutil/gsutil-5.9.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_10 )
 DISTUTILS_USE_SETUPTOOLS=rdepend
 
 inherit distutils-r1



[gentoo-commits] repo/gentoo:master commit in: net-misc/gsutil/

2023-01-10 Thread Michał Górny
commit: b6dd4d210925b1b45d71d316b231fbbb3385bad9
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jan 10 14:20:01 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jan 10 14:21:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6dd4d21

net-misc/gsutil: Remove old requiring Python < 3.10

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/gsutil/Manifest  |  2 -
 net-misc/gsutil/gsutil-4.60-r1.ebuild | 98 ---
 net-misc/gsutil/gsutil-4.68.ebuild| 97 --
 3 files changed, 197 deletions(-)

diff --git a/net-misc/gsutil/Manifest b/net-misc/gsutil/Manifest
index e119947acb0d..a433eb32b814 100644
--- a/net-misc/gsutil/Manifest
+++ b/net-misc/gsutil/Manifest
@@ -1,3 +1 @@
-DIST gsutil_4.60.tar.gz 4012900 BLAKE2B 
d3d1b57d5b0d42b1b454944efe8d62855b665d3772817c636568ef49c79ae2c566ef08c4c6e1bd3c9829471561865b64b3beec8d3911d6766748337aa1b1fc3e
 SHA512 
18ab701cbb60513d66e8b96ced28cfe65dc0f210435fb5ffbcbfab3541ec7ed051db726e52239796d9579d0928953f610064279a3ee1e5b5c06cec963493804c
-DIST gsutil_4.68.tar.gz 4459899 BLAKE2B 
9855d379ba0483f1a33e4e05546444ff492c72d241ff0e5ca4f6c798c91b0c8d729247bf5fbaa39c411eb7a7e3f1fa701363898b903ba11c1bdf41c7e969c44d
 SHA512 
b4af124808f34b5c0aa1d31b6d1bdbdeb451d39a246d4f2876ef664b6b485cdc5dc63bc3992ca4b7b33c72a00fc5119b931625e2c3230970bf0baa6389715e39
 DIST gsutil_5.9.tar.gz 11620858 BLAKE2B 
09f2a79d14458a6545c45df23bd86a2769a00441ff03ae47a984cf18ae20c38e7b725f148c4e1d465f850f89871ad70b29463b8c829674d9d70d330b008595c7
 SHA512 
4916f3ac9c00c310a3dbc342ea0ab245cdf6952a4cee4e5b810f73254fb93439bcd7be35acbedac43501c3f19d8851848eeeff5b6ada6f31d93d478809518e35

diff --git a/net-misc/gsutil/gsutil-4.60-r1.ebuild 
b/net-misc/gsutil/gsutil-4.60-r1.ebuild
deleted file mode 100644
index 7cd73f33bffb..
--- a/net-misc/gsutil/gsutil-4.60-r1.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-PYTHON_COMPAT=( python3_{7..9} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
-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 ~arm ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="${PYTHON_DEPS}
-   >=dev-python/argcomplete-1.9.4[${PYTHON_USEDEP}]
-   >=dev-python/boto-2.49.0[${PYTHON_USEDEP}]
-   >=dev-python/crcmod-1.7[${PYTHON_USEDEP}]
-   >=dev-python/fasteners-0.14.1[${PYTHON_USEDEP}]
-   >=dev-python/gcs-oauth2-boto-plugin-2.7[${PYTHON_USEDEP}]
-   >=dev-python/google-apitools-0.5.30[${PYTHON_USEDEP}]
-   >=dev-python/google-reauth-python-0.1.0[${PYTHON_USEDEP}]
-   >=dev-python/httplib2-0.18[${PYTHON_USEDEP}]
-   >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
-   >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
-   >=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}]
-   >=dev-python/six-1.12.0[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
-   "${FILESDIR}/gsutil-4.41-tests.patch"
-   "${FILESDIR}/gsutil-4.50-boto-tests.patch"
-   "${FILESDIR}/gsutil-4.50-tests.patch"
-)
-
-S="${WORKDIR}/${PN}"
-
-DOCS=( README.md CHANGES.md )
-
-# needs to talk to Google to run tests
-RESTRICT+=" test"
-
-python_prepare_all() {
-   distutils-r1_python_prepare_all
-
-   # NB: We don't delete all of boto/ because the tests are imported by the
-   # production code.  The same reason we can't delete gslib/tests/.  We 
can
-   # delete the main boto library and use the system version though.
-   rm -r gslib/vendored/boto/boto || die
-
-   # failes to compile with py3
-   rm gslib/vendored/boto/tests/mturk/cleanup_tests.py || die
-
-   # monotonic is only used by bundled fasteners that we do not install
-   sed -i \
-   -e 's/mock==/mock>=/' \
-   -e '/monotonic/d' \
-   setup.py || die
-   # Sanity check we didn't miss any updates.
-   grep '==' setup.py && die "Need to update version requirements"
-
-   # For debugging purposes, temporarily uncomment this in order to
-   # show hidden tracebacks.
-   #sed -e 's/^  except OSError as e:$/&\nraise/' \
-   #   -e 's/def _HandleUnknownFailure(e):/&\n  raise/' \
-   #   -i gslib/__main__.py || die
-
-   # create_bucket raised ResponseNotReady
-   sed -i \
-   -e 's/test_cp_unwritable_tracker_file/_&/' \
-   -e 's/test_cp_unwritable_tracker_file_download/_&/' \
-   gslib/tests/test_cp.py || die
-
-   sed -i -E -e 's/(executable_prefix =).*/\1 [sys.executable]/' \
-   gslib/commands/test.py || die
-
-   # IOError: close() called during concurrent operation on the same 

[gentoo-commits] repo/gentoo:master commit in: net-misc/gsutil/

2022-06-16 Thread Patrick McLean
commit: 02581272d345509474e32c0b5479a97f905314c2
Author: Patrick McLean  gentoo  org>
AuthorDate: Thu Jun 16 19:00:46 2022 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Thu Jun 16 19:00:53 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02581272

net-misc/gsutil: add 5.9

Signed-off-by: Patrick McLean  gentoo.org>

 net-misc/gsutil/Manifest  |  1 +
 net-misc/gsutil/gsutil-5.9.ebuild | 91 +++
 2 files changed, 92 insertions(+)

diff --git a/net-misc/gsutil/Manifest b/net-misc/gsutil/Manifest
index b939cc4aba91..e119947acb0d 100644
--- a/net-misc/gsutil/Manifest
+++ b/net-misc/gsutil/Manifest
@@ -1,2 +1,3 @@
 DIST gsutil_4.60.tar.gz 4012900 BLAKE2B 
d3d1b57d5b0d42b1b454944efe8d62855b665d3772817c636568ef49c79ae2c566ef08c4c6e1bd3c9829471561865b64b3beec8d3911d6766748337aa1b1fc3e
 SHA512 
18ab701cbb60513d66e8b96ced28cfe65dc0f210435fb5ffbcbfab3541ec7ed051db726e52239796d9579d0928953f610064279a3ee1e5b5c06cec963493804c
 DIST gsutil_4.68.tar.gz 4459899 BLAKE2B 
9855d379ba0483f1a33e4e05546444ff492c72d241ff0e5ca4f6c798c91b0c8d729247bf5fbaa39c411eb7a7e3f1fa701363898b903ba11c1bdf41c7e969c44d
 SHA512 
b4af124808f34b5c0aa1d31b6d1bdbdeb451d39a246d4f2876ef664b6b485cdc5dc63bc3992ca4b7b33c72a00fc5119b931625e2c3230970bf0baa6389715e39
+DIST gsutil_5.9.tar.gz 11620858 BLAKE2B 
09f2a79d14458a6545c45df23bd86a2769a00441ff03ae47a984cf18ae20c38e7b725f148c4e1d465f850f89871ad70b29463b8c829674d9d70d330b008595c7
 SHA512 
4916f3ac9c00c310a3dbc342ea0ab245cdf6952a4cee4e5b810f73254fb93439bcd7be35acbedac43501c3f19d8851848eeeff5b6ada6f31d93d478809518e35

diff --git a/net-misc/gsutil/gsutil-5.9.ebuild 
b/net-misc/gsutil/gsutil-5.9.ebuild
new file mode 100644
index ..2dd866b29dda
--- /dev/null
+++ b/net-misc/gsutil/gsutil-5.9.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+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 ~arm ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="${PYTHON_DEPS}
+   >=dev-python/argcomplete-1.9.4[${PYTHON_USEDEP}]
+   >=dev-python/boto-2.49.0[${PYTHON_USEDEP}]
+   >=dev-python/crcmod-1.7[${PYTHON_USEDEP}]
+   >=dev-python/fasteners-0.14.1[${PYTHON_USEDEP}]
+   >=dev-python/gcs-oauth2-boto-plugin-3.0[${PYTHON_USEDEP}]
+   >=dev-python/google-apitools-0.5.32[${PYTHON_USEDEP}]
+   dev-python/google-auth[${PYTHON_USEDEP}]
+   >=dev-python/google-reauth-python-0.1.0[${PYTHON_USEDEP}]
+   >=dev-python/httplib2-0.20.4[${PYTHON_USEDEP}]
+   >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
+   >=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/six-1.12.0[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}/gsutil-4.41-tests.patch"
+   "${FILESDIR}/gsutil-4.50-boto-tests.patch"
+   "${FILESDIR}/gsutil-4.50-tests.patch"
+)
+
+S="${WORKDIR}/${PN}"
+
+DOCS=( README.md CHANGES.md )
+
+# Needs to talk to Google to run tests.
+RESTRICT+=" test"
+
+python_prepare_all() {
+   distutils-r1_python_prepare_all
+
+   # NB: We don't delete all of boto/ because the tests are imported by the
+   # production code.  The same reason we can't delete gslib/tests/.  We 
can
+   # delete the main boto library and use the system version though.
+   rm -r gslib/vendored/boto/boto || die
+
+   # Fails to compile with py3.
+   rm gslib/vendored/boto/tests/mturk/cleanup_tests.py 
gslib/tests/test_wrapped_credentials.py || die
+
+   # monotonic is only used by bundled fasteners that we do not install.
+   sed -i \
+   -e 's/mock==/mock>=/' \
+   -e '/monotonic/d' \
+   setup.py || die
+   # Sanity check we didn't miss any updates.
+   grep '==' setup.py && die "Need to update version requirements"
+
+   # For debugging purposes, temporarily uncomment this in order to
+   # show hidden tracebacks.
+   #sed -e 's/^  except OSError as e:$/&\nraise/' \
+   #   -e 's/def _HandleUnknownFailure(e):/&\n  raise/' \
+   #   -i gslib/__main__.py || die
+
+   # create_bucket raised ResponseNotReady.
+   sed -i \
+   -e 's/test_cp_unwritable_tracker_file/_&/' \
+   -e 's/test_cp_unwritable_tracker_file_download/_&/' \
+   gslib/tests/test_cp.py || die
+
+   sed -i -E -e 's/(executable_prefix =).*/\1 [sys.executable]/' \
+   gslib/commands/test.py || die
+
+   # IOError: close() called during concurrent operation on the same file 
object.
+   sed -i -e 's/sys.stderr.close()/#&/' \
+

[gentoo-commits] repo/gentoo:master commit in: net-misc/gsutil/

2021-10-14 Thread Mike Frysinger
commit: 72c724894da68a043245282daf73ecd81047fe2c
Author: Mike Frysinger  chromium  org>
AuthorDate: Fri Oct 15 02:10:04 2021 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Fri Oct 15 02:10:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72c72489

net-misc/gsutil: drop old 4.59

Signed-off-by: Mike Frysinger  gentoo.org>

 net-misc/gsutil/Manifest  |  1 -
 net-misc/gsutil/gsutil-4.59-r1.ebuild | 98 ---
 2 files changed, 99 deletions(-)

diff --git a/net-misc/gsutil/Manifest b/net-misc/gsutil/Manifest
index d844b48ab66..465ad363d05 100644
--- a/net-misc/gsutil/Manifest
+++ b/net-misc/gsutil/Manifest
@@ -1,2 +1 @@
-DIST gsutil_4.59.tar.gz 4024669 BLAKE2B 
4317cd3787adae2d7d066d7c8d5c62cfe77749d4efc8b5451e87ac6294de0e6f13c085795de30a891f2d7b58cd7e0724234cf14b4308542c8d050856a868c5cf
 SHA512 
c86b957a2630f3a80869e3105c0baa7bf1297b84698e756fed28b28adf36345cf1dd28d4216ec395de6bfee5b118dd70040ff964a2938f22d8af15a5c3485c48
 DIST gsutil_4.60.tar.gz 4012900 BLAKE2B 
d3d1b57d5b0d42b1b454944efe8d62855b665d3772817c636568ef49c79ae2c566ef08c4c6e1bd3c9829471561865b64b3beec8d3911d6766748337aa1b1fc3e
 SHA512 
18ab701cbb60513d66e8b96ced28cfe65dc0f210435fb5ffbcbfab3541ec7ed051db726e52239796d9579d0928953f610064279a3ee1e5b5c06cec963493804c

diff --git a/net-misc/gsutil/gsutil-4.59-r1.ebuild 
b/net-misc/gsutil/gsutil-4.59-r1.ebuild
deleted file mode 100644
index 7cd73f33bff..000
--- a/net-misc/gsutil/gsutil-4.59-r1.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-PYTHON_COMPAT=( python3_{7..9} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
-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 ~arm ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="${PYTHON_DEPS}
-   >=dev-python/argcomplete-1.9.4[${PYTHON_USEDEP}]
-   >=dev-python/boto-2.49.0[${PYTHON_USEDEP}]
-   >=dev-python/crcmod-1.7[${PYTHON_USEDEP}]
-   >=dev-python/fasteners-0.14.1[${PYTHON_USEDEP}]
-   >=dev-python/gcs-oauth2-boto-plugin-2.7[${PYTHON_USEDEP}]
-   >=dev-python/google-apitools-0.5.30[${PYTHON_USEDEP}]
-   >=dev-python/google-reauth-python-0.1.0[${PYTHON_USEDEP}]
-   >=dev-python/httplib2-0.18[${PYTHON_USEDEP}]
-   >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
-   >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
-   >=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}]
-   >=dev-python/six-1.12.0[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
-   "${FILESDIR}/gsutil-4.41-tests.patch"
-   "${FILESDIR}/gsutil-4.50-boto-tests.patch"
-   "${FILESDIR}/gsutil-4.50-tests.patch"
-)
-
-S="${WORKDIR}/${PN}"
-
-DOCS=( README.md CHANGES.md )
-
-# needs to talk to Google to run tests
-RESTRICT+=" test"
-
-python_prepare_all() {
-   distutils-r1_python_prepare_all
-
-   # NB: We don't delete all of boto/ because the tests are imported by the
-   # production code.  The same reason we can't delete gslib/tests/.  We 
can
-   # delete the main boto library and use the system version though.
-   rm -r gslib/vendored/boto/boto || die
-
-   # failes to compile with py3
-   rm gslib/vendored/boto/tests/mturk/cleanup_tests.py || die
-
-   # monotonic is only used by bundled fasteners that we do not install
-   sed -i \
-   -e 's/mock==/mock>=/' \
-   -e '/monotonic/d' \
-   setup.py || die
-   # Sanity check we didn't miss any updates.
-   grep '==' setup.py && die "Need to update version requirements"
-
-   # For debugging purposes, temporarily uncomment this in order to
-   # show hidden tracebacks.
-   #sed -e 's/^  except OSError as e:$/&\nraise/' \
-   #   -e 's/def _HandleUnknownFailure(e):/&\n  raise/' \
-   #   -i gslib/__main__.py || die
-
-   # create_bucket raised ResponseNotReady
-   sed -i \
-   -e 's/test_cp_unwritable_tracker_file/_&/' \
-   -e 's/test_cp_unwritable_tracker_file_download/_&/' \
-   gslib/tests/test_cp.py || die
-
-   sed -i -E -e 's/(executable_prefix =).*/\1 [sys.executable]/' \
-   gslib/commands/test.py || die
-
-   # IOError: close() called during concurrent operation on the same file 
object.
-   sed -i -e 's/sys.stderr.close()/#&/' \
-   gslib/tests/testcase/unit_testcase.py || die
-}
-
-python_compile() {
-   2to3 --write --nobackups --no-diffs -j "$(makeopts_jobs "${MAKEOPTS}" 
INF)" \
-   gslib/vendored/boto/tests || die "2to3 on boto tests failed"
-
-   distutils-r1_python_compile
-}
-
-python_test() {
-   BOTO_CONFIG="${FILESDIR}/du

[gentoo-commits] repo/gentoo:master commit in: net-misc/gsutil/

2021-10-14 Thread Mike Frysinger
commit: 038efd2c26384545b242a89a0c71e0b2a189ae59
Author: Mike Frysinger  chromium  org>
AuthorDate: Fri Oct 15 02:10:26 2021 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Fri Oct 15 02:10:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=038efd2c

net-misc/gsutil: version bump to 4.68

Signed-off-by: Mike Frysinger  gentoo.org>

 net-misc/gsutil/Manifest   |  1 +
 net-misc/gsutil/gsutil-4.68.ebuild | 97 ++
 2 files changed, 98 insertions(+)

diff --git a/net-misc/gsutil/Manifest b/net-misc/gsutil/Manifest
index 465ad363d05..b939cc4aba9 100644
--- a/net-misc/gsutil/Manifest
+++ b/net-misc/gsutil/Manifest
@@ -1 +1,2 @@
 DIST gsutil_4.60.tar.gz 4012900 BLAKE2B 
d3d1b57d5b0d42b1b454944efe8d62855b665d3772817c636568ef49c79ae2c566ef08c4c6e1bd3c9829471561865b64b3beec8d3911d6766748337aa1b1fc3e
 SHA512 
18ab701cbb60513d66e8b96ced28cfe65dc0f210435fb5ffbcbfab3541ec7ed051db726e52239796d9579d0928953f610064279a3ee1e5b5c06cec963493804c
+DIST gsutil_4.68.tar.gz 4459899 BLAKE2B 
9855d379ba0483f1a33e4e05546444ff492c72d241ff0e5ca4f6c798c91b0c8d729247bf5fbaa39c411eb7a7e3f1fa701363898b903ba11c1bdf41c7e969c44d
 SHA512 
b4af124808f34b5c0aa1d31b6d1bdbdeb451d39a246d4f2876ef664b6b485cdc5dc63bc3992ca4b7b33c72a00fc5119b931625e2c3230970bf0baa6389715e39

diff --git a/net-misc/gsutil/gsutil-4.68.ebuild 
b/net-misc/gsutil/gsutil-4.68.ebuild
new file mode 100644
index 000..e907dba1478
--- /dev/null
+++ b/net-misc/gsutil/gsutil-4.68.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PYTHON_COMPAT=( python3_{7..9} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+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 ~arm ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="${PYTHON_DEPS}
+   >=dev-python/argcomplete-1.9.4[${PYTHON_USEDEP}]
+   >=dev-python/boto-2.49.0[${PYTHON_USEDEP}]
+   >=dev-python/crcmod-1.7[${PYTHON_USEDEP}]
+   >=dev-python/fasteners-0.14.1[${PYTHON_USEDEP}]
+   >=dev-python/gcs-oauth2-boto-plugin-2.7[${PYTHON_USEDEP}]
+   >=dev-python/google-apitools-0.5.32[${PYTHON_USEDEP}]
+   >=dev-python/google-reauth-python-0.1.0[${PYTHON_USEDEP}]
+   >=dev-python/httplib2-0.18[${PYTHON_USEDEP}]
+   >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
+   >=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/six-1.12.0[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}/gsutil-4.41-tests.patch"
+   "${FILESDIR}/gsutil-4.50-boto-tests.patch"
+   "${FILESDIR}/gsutil-4.50-tests.patch"
+)
+
+S="${WORKDIR}/${PN}"
+
+DOCS=( README.md CHANGES.md )
+
+# Needs to talk to Google to run tests.
+RESTRICT+=" test"
+
+python_prepare_all() {
+   distutils-r1_python_prepare_all
+
+   # NB: We don't delete all of boto/ because the tests are imported by the
+   # production code.  The same reason we can't delete gslib/tests/.  We 
can
+   # delete the main boto library and use the system version though.
+   rm -r gslib/vendored/boto/boto test || die
+
+   # Fails to compile with py3.
+   rm gslib/vendored/boto/tests/mturk/cleanup_tests.py || die
+
+   # monotonic is only used by bundled fasteners that we do not install.
+   sed -i \
+   -e 's/mock==/mock>=/' \
+   -e '/monotonic/d' \
+   setup.py || die
+   # Sanity check we didn't miss any updates.
+   grep '==' setup.py && die "Need to update version requirements"
+
+   # For debugging purposes, temporarily uncomment this in order to
+   # show hidden tracebacks.
+   #sed -e 's/^  except OSError as e:$/&\nraise/' \
+   #   -e 's/def _HandleUnknownFailure(e):/&\n  raise/' \
+   #   -i gslib/__main__.py || die
+
+   # create_bucket raised ResponseNotReady.
+   sed -i \
+   -e 's/test_cp_unwritable_tracker_file/_&/' \
+   -e 's/test_cp_unwritable_tracker_file_download/_&/' \
+   gslib/tests/test_cp.py || die
+
+   sed -i -E -e 's/(executable_prefix =).*/\1 [sys.executable]/' \
+   gslib/commands/test.py || die
+
+   # IOError: close() called during concurrent operation on the same file 
object.
+   sed -i -e 's/sys.stderr.close()/#&/' \
+   gslib/tests/testcase/unit_testcase.py || die
+}
+
+python_compile() {
+   2to3 --write --nobackups --no-diffs -j "$(makeopts_jobs "${MAKEOPTS}" 
INF)" \
+   gslib/vendored/boto/tests || die "2to3 on boto tests failed"
+
+   distutils-r1_python_compile
+}
+
+python_test() {
+   BOTO_CONFIG="${FILESDIR}/dummy.boto" \
+   "${EPYTHON}" gslib/__m

[gentoo-commits] repo/gentoo:master commit in: net-misc/gsutil/

2021-04-10 Thread Michał Górny
commit: f4be84d51adc5fae43494dcc29036c513eb84859
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr 10 07:26:37 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr 10 08:01:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4be84d5

net-misc/gsutil: Strip unused monotonic dep

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/gsutil/{gsutil-4.59.ebuild => gsutil-4.59-r1.ebuild} | 3 ++-
 net-misc/gsutil/{gsutil-4.60.ebuild => gsutil-4.60-r1.ebuild} | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/net-misc/gsutil/gsutil-4.59.ebuild 
b/net-misc/gsutil/gsutil-4.59-r1.ebuild
similarity index 97%
rename from net-misc/gsutil/gsutil-4.59.ebuild
rename to net-misc/gsutil/gsutil-4.59-r1.ebuild
index 48e12ee2207..7cd73f33bff 100644
--- a/net-misc/gsutil/gsutil-4.59.ebuild
+++ b/net-misc/gsutil/gsutil-4.59-r1.ebuild
@@ -28,7 +28,6 @@ RDEPEND="${PYTHON_DEPS}
>=dev-python/google-reauth-python-0.1.0[${PYTHON_USEDEP}]
>=dev-python/httplib2-0.18[${PYTHON_USEDEP}]
>=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
-   >=dev-python/monotonic-1.4[${PYTHON_USEDEP}]
>=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
>=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}]
>=dev-python/six-1.12.0[${PYTHON_USEDEP}]"
@@ -58,8 +57,10 @@ python_prepare_all() {
# failes to compile with py3
rm gslib/vendored/boto/tests/mturk/cleanup_tests.py || die
 
+   # monotonic is only used by bundled fasteners that we do not install
sed -i \
-e 's/mock==/mock>=/' \
+   -e '/monotonic/d' \
setup.py || die
# Sanity check we didn't miss any updates.
grep '==' setup.py && die "Need to update version requirements"

diff --git a/net-misc/gsutil/gsutil-4.60.ebuild 
b/net-misc/gsutil/gsutil-4.60-r1.ebuild
similarity index 97%
rename from net-misc/gsutil/gsutil-4.60.ebuild
rename to net-misc/gsutil/gsutil-4.60-r1.ebuild
index 48e12ee2207..7cd73f33bff 100644
--- a/net-misc/gsutil/gsutil-4.60.ebuild
+++ b/net-misc/gsutil/gsutil-4.60-r1.ebuild
@@ -28,7 +28,6 @@ RDEPEND="${PYTHON_DEPS}
>=dev-python/google-reauth-python-0.1.0[${PYTHON_USEDEP}]
>=dev-python/httplib2-0.18[${PYTHON_USEDEP}]
>=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
-   >=dev-python/monotonic-1.4[${PYTHON_USEDEP}]
>=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
>=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}]
>=dev-python/six-1.12.0[${PYTHON_USEDEP}]"
@@ -58,8 +57,10 @@ python_prepare_all() {
# failes to compile with py3
rm gslib/vendored/boto/tests/mturk/cleanup_tests.py || die
 
+   # monotonic is only used by bundled fasteners that we do not install
sed -i \
-e 's/mock==/mock>=/' \
+   -e '/monotonic/d' \
setup.py || die
# Sanity check we didn't miss any updates.
grep '==' setup.py && die "Need to update version requirements"



[gentoo-commits] repo/gentoo:master commit in: net-misc/gsutil/

2021-03-22 Thread Mike Frysinger
commit: b57490288b6019300c2027c988a9dcfeb3b76c6c
Author: Mike Frysinger  chromium  org>
AuthorDate: Tue Mar 23 06:38:56 2021 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Tue Mar 23 06:39:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5749028

net-misc/gsutil: drop old 4.50

Signed-off-by: Mike Frysinger  gentoo.org>

 net-misc/gsutil/Manifest   |   1 -
 net-misc/gsutil/gsutil-4.50.ebuild | 101 -
 2 files changed, 102 deletions(-)

diff --git a/net-misc/gsutil/Manifest b/net-misc/gsutil/Manifest
index 4edf28b0f9e..d844b48ab66 100644
--- a/net-misc/gsutil/Manifest
+++ b/net-misc/gsutil/Manifest
@@ -1,3 +1,2 @@
-DIST gsutil_4.50.tar.gz 3618295 BLAKE2B 
bbd8ec13428a9822b1ebe3eea984f3e50abc010a0de4e57e7dc365642ab501f7994a235d778eaa73c8217ae1e69d1569e80ac8a59d94a84a6abb8272ad466a35
 SHA512 
aa7d68f369ac24c75cbd321d9a1a943fc361e9bf768797327852d0da39d364fa95ac3891367e90a39061b30b331405e2ea8358e0c91e3bdc5cb151d367e0857e
 DIST gsutil_4.59.tar.gz 4024669 BLAKE2B 
4317cd3787adae2d7d066d7c8d5c62cfe77749d4efc8b5451e87ac6294de0e6f13c085795de30a891f2d7b58cd7e0724234cf14b4308542c8d050856a868c5cf
 SHA512 
c86b957a2630f3a80869e3105c0baa7bf1297b84698e756fed28b28adf36345cf1dd28d4216ec395de6bfee5b118dd70040ff964a2938f22d8af15a5c3485c48
 DIST gsutil_4.60.tar.gz 4012900 BLAKE2B 
d3d1b57d5b0d42b1b454944efe8d62855b665d3772817c636568ef49c79ae2c566ef08c4c6e1bd3c9829471561865b64b3beec8d3911d6766748337aa1b1fc3e
 SHA512 
18ab701cbb60513d66e8b96ced28cfe65dc0f210435fb5ffbcbfab3541ec7ed051db726e52239796d9579d0928953f610064279a3ee1e5b5c06cec963493804c

diff --git a/net-misc/gsutil/gsutil-4.50.ebuild 
b/net-misc/gsutil/gsutil-4.50.ebuild
deleted file mode 100644
index e7658e4d66b..000
--- a/net-misc/gsutil/gsutil-4.50.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
-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 ~arm ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="${PYTHON_DEPS}
-   >=dev-python/argcomplete-1.9.4[${PYTHON_USEDEP}]
-   >=dev-python/boto-2.49.0[${PYTHON_USEDEP}]
-   >=dev-python/crcmod-1.7[${PYTHON_USEDEP}]
-   >=dev-python/fasteners-0.14.1[${PYTHON_USEDEP}]
-   >=dev-python/gcs-oauth2-boto-plugin-2.5[${PYTHON_USEDEP}]
-   >=dev-python/google-apitools-0.5.30[${PYTHON_USEDEP}]
-   >=dev-python/google-reauth-python-0.1.0[${PYTHON_USEDEP}]
-   >=dev-python/httplib2-0.11.3[${PYTHON_USEDEP}]
-   >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
-   >=dev-python/monotonic-1.4[${PYTHON_USEDEP}]
-   >=dev-python/oauth2client-4.1.3[${PYTHON_USEDEP}]
-   >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
-   >=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}]
-   >=dev-python/six-1.12.0[${PYTHON_USEDEP}]
-   >=dev-python/PySocks-1.01[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
-   "${FILESDIR}/gsutil-4.41-tests.patch"
-   "${FILESDIR}/gsutil-4.50-boto-tests.patch"
-   "${FILESDIR}/gsutil-4.50-tests.patch"
-)
-
-S="${WORKDIR}/${PN}"
-
-DOCS=( README.md CHANGES.md )
-
-# needs to talk to Google to run tests
-RESTRICT+=" test"
-
-python_prepare_all() {
-   distutils-r1_python_prepare_all
-
-   # NB: We don't delete all of boto/ because the tests are imported by the
-   # production code.  The same reason we can't delete gslib/tests/.  We 
can
-   # delete the main boto library and use the system version though.
-   rm -r gslib/vendored/boto/boto || die
-
-   # failes to compile with py3
-   rm gslib/vendored/boto/tests/mturk//cleanup_tests.py || die
-
-   sed -i \
-   -e 's/mock==/mock>=/' \
-   -e 's/oauth2client==/oauth2client>=/' \
-   -e 's/SocksiPy-branch==/PySocks>=/' \
-   setup.py || die
-   # Sanity check we didn't miss any updates.
-   grep '==' setup.py && die "Need to update version requirements"
-
-   # For debugging purposes, temporarily uncomment this in order to
-   # show hidden tracebacks.
-   #sed -e 's/^  except OSError as e:$/&\nraise/' \
-   #   -e 's/def _HandleUnknownFailure(e):/&\n  raise/' \
-   #   -i gslib/__main__.py || die
-
-   # create_bucket raised ResponseNotReady
-   sed -i \
-   -e 's/test_cp_unwritable_tracker_file/_&/' \
-   -e 's/test_cp_unwritable_tracker_file_download/_&/' \
-   gslib/tests/test_cp.py || die
-
-   sed -i -E -e 's/(executable_prefix =).*/\1 [sys.executable]/' \
-   gslib/commands/test.py || die
-
-   # IOError:

[gentoo-commits] repo/gentoo:master commit in: net-misc/gsutil/

2021-03-22 Thread Mike Frysinger
commit: bc863242eb25329f48c0024ba8257e926e33d241
Author: Mike Frysinger  chromium  org>
AuthorDate: Tue Mar 23 06:38:16 2021 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Tue Mar 23 06:39:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc863242

net-misc/gsutil: version bump to 4.60

Signed-off-by: Mike Frysinger  gentoo.org>

 net-misc/gsutil/Manifest   |  1 +
 net-misc/gsutil/gsutil-4.60.ebuild | 97 ++
 2 files changed, 98 insertions(+)

diff --git a/net-misc/gsutil/Manifest b/net-misc/gsutil/Manifest
index 35a713a7999..4edf28b0f9e 100644
--- a/net-misc/gsutil/Manifest
+++ b/net-misc/gsutil/Manifest
@@ -1,2 +1,3 @@
 DIST gsutil_4.50.tar.gz 3618295 BLAKE2B 
bbd8ec13428a9822b1ebe3eea984f3e50abc010a0de4e57e7dc365642ab501f7994a235d778eaa73c8217ae1e69d1569e80ac8a59d94a84a6abb8272ad466a35
 SHA512 
aa7d68f369ac24c75cbd321d9a1a943fc361e9bf768797327852d0da39d364fa95ac3891367e90a39061b30b331405e2ea8358e0c91e3bdc5cb151d367e0857e
 DIST gsutil_4.59.tar.gz 4024669 BLAKE2B 
4317cd3787adae2d7d066d7c8d5c62cfe77749d4efc8b5451e87ac6294de0e6f13c085795de30a891f2d7b58cd7e0724234cf14b4308542c8d050856a868c5cf
 SHA512 
c86b957a2630f3a80869e3105c0baa7bf1297b84698e756fed28b28adf36345cf1dd28d4216ec395de6bfee5b118dd70040ff964a2938f22d8af15a5c3485c48
+DIST gsutil_4.60.tar.gz 4012900 BLAKE2B 
d3d1b57d5b0d42b1b454944efe8d62855b665d3772817c636568ef49c79ae2c566ef08c4c6e1bd3c9829471561865b64b3beec8d3911d6766748337aa1b1fc3e
 SHA512 
18ab701cbb60513d66e8b96ced28cfe65dc0f210435fb5ffbcbfab3541ec7ed051db726e52239796d9579d0928953f610064279a3ee1e5b5c06cec963493804c

diff --git a/net-misc/gsutil/gsutil-4.60.ebuild 
b/net-misc/gsutil/gsutil-4.60.ebuild
new file mode 100644
index 000..48e12ee2207
--- /dev/null
+++ b/net-misc/gsutil/gsutil-4.60.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PYTHON_COMPAT=( python3_{7..9} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+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 ~arm ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="${PYTHON_DEPS}
+   >=dev-python/argcomplete-1.9.4[${PYTHON_USEDEP}]
+   >=dev-python/boto-2.49.0[${PYTHON_USEDEP}]
+   >=dev-python/crcmod-1.7[${PYTHON_USEDEP}]
+   >=dev-python/fasteners-0.14.1[${PYTHON_USEDEP}]
+   >=dev-python/gcs-oauth2-boto-plugin-2.7[${PYTHON_USEDEP}]
+   >=dev-python/google-apitools-0.5.30[${PYTHON_USEDEP}]
+   >=dev-python/google-reauth-python-0.1.0[${PYTHON_USEDEP}]
+   >=dev-python/httplib2-0.18[${PYTHON_USEDEP}]
+   >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
+   >=dev-python/monotonic-1.4[${PYTHON_USEDEP}]
+   >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
+   >=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/six-1.12.0[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}/gsutil-4.41-tests.patch"
+   "${FILESDIR}/gsutil-4.50-boto-tests.patch"
+   "${FILESDIR}/gsutil-4.50-tests.patch"
+)
+
+S="${WORKDIR}/${PN}"
+
+DOCS=( README.md CHANGES.md )
+
+# needs to talk to Google to run tests
+RESTRICT+=" test"
+
+python_prepare_all() {
+   distutils-r1_python_prepare_all
+
+   # NB: We don't delete all of boto/ because the tests are imported by the
+   # production code.  The same reason we can't delete gslib/tests/.  We 
can
+   # delete the main boto library and use the system version though.
+   rm -r gslib/vendored/boto/boto || die
+
+   # failes to compile with py3
+   rm gslib/vendored/boto/tests/mturk/cleanup_tests.py || die
+
+   sed -i \
+   -e 's/mock==/mock>=/' \
+   setup.py || die
+   # Sanity check we didn't miss any updates.
+   grep '==' setup.py && die "Need to update version requirements"
+
+   # For debugging purposes, temporarily uncomment this in order to
+   # show hidden tracebacks.
+   #sed -e 's/^  except OSError as e:$/&\nraise/' \
+   #   -e 's/def _HandleUnknownFailure(e):/&\n  raise/' \
+   #   -i gslib/__main__.py || die
+
+   # create_bucket raised ResponseNotReady
+   sed -i \
+   -e 's/test_cp_unwritable_tracker_file/_&/' \
+   -e 's/test_cp_unwritable_tracker_file_download/_&/' \
+   gslib/tests/test_cp.py || die
+
+   sed -i -E -e 's/(executable_prefix =).*/\1 [sys.executable]/' \
+   gslib/commands/test.py || die
+
+   # IOError: close() called during concurrent operation on the same file 
object.
+   sed -i -e 's/sys.stderr.close()/#&/' \
+   gslib/tests/testcase/unit_testcase.py || die
+}
+
+python_compile() {
+   2to3 --w

[gentoo-commits] repo/gentoo:master commit in: net-misc/gsutil/

2021-03-02 Thread Mike Frysinger
commit: 777dc0f6d517be7abea8c4567ab9bcd0cf86ced1
Author: Mike Frysinger  chromium  org>
AuthorDate: Tue Mar  2 21:31:44 2021 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Tue Mar  2 21:32:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=777dc0f6

net-misc/gsutil: version bump to 4.59

Signed-off-by: Mike Frysinger  gentoo.org>

 net-misc/gsutil/Manifest   |  1 +
 net-misc/gsutil/gsutil-4.59.ebuild | 97 ++
 2 files changed, 98 insertions(+)

diff --git a/net-misc/gsutil/Manifest b/net-misc/gsutil/Manifest
index 9f70bca12bf..35a713a7999 100644
--- a/net-misc/gsutil/Manifest
+++ b/net-misc/gsutil/Manifest
@@ -1 +1,2 @@
 DIST gsutil_4.50.tar.gz 3618295 BLAKE2B 
bbd8ec13428a9822b1ebe3eea984f3e50abc010a0de4e57e7dc365642ab501f7994a235d778eaa73c8217ae1e69d1569e80ac8a59d94a84a6abb8272ad466a35
 SHA512 
aa7d68f369ac24c75cbd321d9a1a943fc361e9bf768797327852d0da39d364fa95ac3891367e90a39061b30b331405e2ea8358e0c91e3bdc5cb151d367e0857e
+DIST gsutil_4.59.tar.gz 4024669 BLAKE2B 
4317cd3787adae2d7d066d7c8d5c62cfe77749d4efc8b5451e87ac6294de0e6f13c085795de30a891f2d7b58cd7e0724234cf14b4308542c8d050856a868c5cf
 SHA512 
c86b957a2630f3a80869e3105c0baa7bf1297b84698e756fed28b28adf36345cf1dd28d4216ec395de6bfee5b118dd70040ff964a2938f22d8af15a5c3485c48

diff --git a/net-misc/gsutil/gsutil-4.59.ebuild 
b/net-misc/gsutil/gsutil-4.59.ebuild
new file mode 100644
index 000..48e12ee2207
--- /dev/null
+++ b/net-misc/gsutil/gsutil-4.59.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PYTHON_COMPAT=( python3_{7..9} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+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 ~arm ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="${PYTHON_DEPS}
+   >=dev-python/argcomplete-1.9.4[${PYTHON_USEDEP}]
+   >=dev-python/boto-2.49.0[${PYTHON_USEDEP}]
+   >=dev-python/crcmod-1.7[${PYTHON_USEDEP}]
+   >=dev-python/fasteners-0.14.1[${PYTHON_USEDEP}]
+   >=dev-python/gcs-oauth2-boto-plugin-2.7[${PYTHON_USEDEP}]
+   >=dev-python/google-apitools-0.5.30[${PYTHON_USEDEP}]
+   >=dev-python/google-reauth-python-0.1.0[${PYTHON_USEDEP}]
+   >=dev-python/httplib2-0.18[${PYTHON_USEDEP}]
+   >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
+   >=dev-python/monotonic-1.4[${PYTHON_USEDEP}]
+   >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
+   >=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/six-1.12.0[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}/gsutil-4.41-tests.patch"
+   "${FILESDIR}/gsutil-4.50-boto-tests.patch"
+   "${FILESDIR}/gsutil-4.50-tests.patch"
+)
+
+S="${WORKDIR}/${PN}"
+
+DOCS=( README.md CHANGES.md )
+
+# needs to talk to Google to run tests
+RESTRICT+=" test"
+
+python_prepare_all() {
+   distutils-r1_python_prepare_all
+
+   # NB: We don't delete all of boto/ because the tests are imported by the
+   # production code.  The same reason we can't delete gslib/tests/.  We 
can
+   # delete the main boto library and use the system version though.
+   rm -r gslib/vendored/boto/boto || die
+
+   # failes to compile with py3
+   rm gslib/vendored/boto/tests/mturk/cleanup_tests.py || die
+
+   sed -i \
+   -e 's/mock==/mock>=/' \
+   setup.py || die
+   # Sanity check we didn't miss any updates.
+   grep '==' setup.py && die "Need to update version requirements"
+
+   # For debugging purposes, temporarily uncomment this in order to
+   # show hidden tracebacks.
+   #sed -e 's/^  except OSError as e:$/&\nraise/' \
+   #   -e 's/def _HandleUnknownFailure(e):/&\n  raise/' \
+   #   -i gslib/__main__.py || die
+
+   # create_bucket raised ResponseNotReady
+   sed -i \
+   -e 's/test_cp_unwritable_tracker_file/_&/' \
+   -e 's/test_cp_unwritable_tracker_file_download/_&/' \
+   gslib/tests/test_cp.py || die
+
+   sed -i -E -e 's/(executable_prefix =).*/\1 [sys.executable]/' \
+   gslib/commands/test.py || die
+
+   # IOError: close() called during concurrent operation on the same file 
object.
+   sed -i -e 's/sys.stderr.close()/#&/' \
+   gslib/tests/testcase/unit_testcase.py || die
+}
+
+python_compile() {
+   2to3 --write --nobackups --no-diffs -j "$(makeopts_jobs "${MAKEOPTS}" 
INF)" \
+   gslib/vendored/boto/tests || die "2to3 on boto tests failed"
+
+   distutils-r1_python_compile
+}
+
+python_test() {
+   BOTO_CONFIG="${FILESDIR}/dummy.boto" \
+   "${EPYTHON}" gslib/__main__.py test -u |

[gentoo-commits] repo/gentoo:master commit in: net-misc/gsutil/

2020-12-31 Thread Michał Górny
commit: 22edc6a6886b84e0c1374c39704405703b203e91
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jan  1 01:31:24 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jan  1 01:31:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22edc6a6

net-misc/gsutil: Remove old (py3.6)

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/gsutil/Manifest   |  3 --
 net-misc/gsutil/gsutil-4.41.ebuild | 84 
 net-misc/gsutil/gsutil-4.45.ebuild | 84 
 net-misc/gsutil/gsutil-4.47.ebuild | 88 --
 4 files changed, 259 deletions(-)

diff --git a/net-misc/gsutil/Manifest b/net-misc/gsutil/Manifest
index 3a3005fc7d3..9f70bca12bf 100644
--- a/net-misc/gsutil/Manifest
+++ b/net-misc/gsutil/Manifest
@@ -1,4 +1 @@
-DIST gsutil_4.41.tar.gz 3685987 BLAKE2B 
7586d6c64c87c27e4c5f3e86372bfe6d7fdfbdcbe4146308ed497d86b6e3fb984a79d3f07ba3ed055ac09bfe70eef893b8b764a46921703c48c8e54e49cac7eb
 SHA512 
f96500a4761cb244039ba20ccb328b143134a74822990538585116fe6afa6f9e23cfecc9958e34d5deb4291edc9cbe97c6176b3a0f0136ed6e8e81303b5b8c4a
-DIST gsutil_4.45.tar.gz 3695514 BLAKE2B 
9b129ae1e87620b2430368818929fbd884319cd2cf7788275ba556f873b13700b9333c59b753202d8c88a81eaa47e223f39f6ded26adf8d16144324763528886
 SHA512 
9b21162afcfcd063976be51151d1d51aaeac1a32c2b7d0ee79aaccb28f5202f93623b39ed994bd796ab508a56363fea69429fe42cd770cff3c7c8352a4956212
-DIST gsutil_4.47.tar.gz 3696516 BLAKE2B 
c3a5e1327b0e2e46cac17b1bd820b1ead63bbca4b80f17227290f25d12cb46e38df4334ffc71d0261f4467c157ed50ac21b25b1c7a58ec4113758c64d75b
 SHA512 
66d150d496789a89acc71238c7554244ad17a8896b26fd7d6ffb6e26ce14c8b2268633f4a48b8abd8aa25b36f2ef4bd15cdde02b37a9ef52843200b0449289bb
 DIST gsutil_4.50.tar.gz 3618295 BLAKE2B 
bbd8ec13428a9822b1ebe3eea984f3e50abc010a0de4e57e7dc365642ab501f7994a235d778eaa73c8217ae1e69d1569e80ac8a59d94a84a6abb8272ad466a35
 SHA512 
aa7d68f369ac24c75cbd321d9a1a943fc361e9bf768797327852d0da39d364fa95ac3891367e90a39061b30b331405e2ea8358e0c91e3bdc5cb151d367e0857e

diff --git a/net-misc/gsutil/gsutil-4.41.ebuild 
b/net-misc/gsutil/gsutil-4.41.ebuild
deleted file mode 100644
index 3e24aceb624..000
--- a/net-misc/gsutil/gsutil-4.41.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_6 )
-
-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 ~arm ~x86"
-IUSE="test"
-
-RDEPEND="${PYTHON_DEPS}
-   >=dev-python/argcomplete-1.9.4[${PYTHON_USEDEP}]
-   >=dev-python/boto-2.49.0[${PYTHON_USEDEP}]
-   >=dev-python/crcmod-1.7[${PYTHON_USEDEP}]
-   >=dev-python/fasteners-0.14.1[${PYTHON_USEDEP}]
-   >=dev-python/gcs-oauth2-boto-plugin-2.5[${PYTHON_USEDEP}]
-   >=dev-python/google-apitools-0.5.30[${PYTHON_USEDEP}]
-   dev-python/google-reauth-python[${PYTHON_USEDEP}]
-   >=dev-python/httplib2-0.11.3[${PYTHON_USEDEP}]
-   >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
-   >=dev-python/monotonic-1.4[${PYTHON_USEDEP}]
-   >=dev-python/oauth2client-4.1.2[${PYTHON_USEDEP}]
-   >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
-   >=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}]
-   >=dev-python/six-1.12.0[${PYTHON_USEDEP}]
-   >=dev-python/PySocks-1.01[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
-   dev-python/setuptools[${PYTHON_USEDEP}]"
-
-PATCHES=(
-   "${FILESDIR}/gsutil-4.41-tests.patch"
-)
-
-S="${WORKDIR}/${PN}"
-
-DOCS=( README.md CHANGES.md )
-
-# needs to talk to Google to run tests
-RESTRICT="test"
-
-python_prepare_all() {
-   distutils-r1_python_prepare_all
-
-   sed -e 's/boto==/boto>=/' \
-   -e 's/mock==/mock>=/' \
-   -e 's/oauth2client==/oauth2client>=/' \
-   -e 's/SocksiPy-branch==/PySocks>=/' \
-   -i setup.py || die
-
-   # For debugging purposes, temporarily uncomment this in order to
-   # show hidden tracebacks.
-   #sed -e 's/^  except OSError as e:$/&\nraise/' \
-   #   -e 's/def _HandleUnknownFailure(e):/&\n  raise/' \
-   #   -i gslib/__main__.py || die
-
-   # create_bucket raised ResponseNotReady
-   sed -e 's/test_cp_unwritable_tracker_file/_&/' \
-   -e 's/test_cp_unwritable_tracker_file_download/_&/' \
-   -i gslib/tests/test_cp.py || die
-
-   sed -e 's/\(executable_prefix =\).*/\1 [sys.executable]/' \
-   -i gslib/commands/test.py || die
-
-   # IOError: close() called during concurrent operation on the same file 
object.
-   sed -e 's/sys.stderr.close()/#&/' \
-   -i gslib/tests/testcase/unit_testcase.py
-
- 

[gentoo-commits] repo/gentoo:master commit in: net-misc/gsutil/files/, net-misc/gsutil/

2020-05-07 Thread Patrick McLean
commit: d48b6ffebf2c295fd808be2c7a17108cb297646b
Author: Patrick McLean  sony  com>
AuthorDate: Thu May  7 19:08:01 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Thu May  7 19:08:01 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d48b6ffe

net-misc/gsutil-4.50: Version bump, add py38, random fixups

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Patrick McLean  gentoo.org>

 net-misc/gsutil/Manifest   |   1 +
 net-misc/gsutil/files/gsutil-4.50-boto-tests.patch |  44 +
 net-misc/gsutil/files/gsutil-4.50-tests.patch  |  57 
 net-misc/gsutil/gsutil-4.50.ebuild | 101 +
 4 files changed, 203 insertions(+)

diff --git a/net-misc/gsutil/Manifest b/net-misc/gsutil/Manifest
index 6a01425ea98..3a3005fc7d3 100644
--- a/net-misc/gsutil/Manifest
+++ b/net-misc/gsutil/Manifest
@@ -1,3 +1,4 @@
 DIST gsutil_4.41.tar.gz 3685987 BLAKE2B 
7586d6c64c87c27e4c5f3e86372bfe6d7fdfbdcbe4146308ed497d86b6e3fb984a79d3f07ba3ed055ac09bfe70eef893b8b764a46921703c48c8e54e49cac7eb
 SHA512 
f96500a4761cb244039ba20ccb328b143134a74822990538585116fe6afa6f9e23cfecc9958e34d5deb4291edc9cbe97c6176b3a0f0136ed6e8e81303b5b8c4a
 DIST gsutil_4.45.tar.gz 3695514 BLAKE2B 
9b129ae1e87620b2430368818929fbd884319cd2cf7788275ba556f873b13700b9333c59b753202d8c88a81eaa47e223f39f6ded26adf8d16144324763528886
 SHA512 
9b21162afcfcd063976be51151d1d51aaeac1a32c2b7d0ee79aaccb28f5202f93623b39ed994bd796ab508a56363fea69429fe42cd770cff3c7c8352a4956212
 DIST gsutil_4.47.tar.gz 3696516 BLAKE2B 
c3a5e1327b0e2e46cac17b1bd820b1ead63bbca4b80f17227290f25d12cb46e38df4334ffc71d0261f4467c157ed50ac21b25b1c7a58ec4113758c64d75b
 SHA512 
66d150d496789a89acc71238c7554244ad17a8896b26fd7d6ffb6e26ce14c8b2268633f4a48b8abd8aa25b36f2ef4bd15cdde02b37a9ef52843200b0449289bb
+DIST gsutil_4.50.tar.gz 3618295 BLAKE2B 
bbd8ec13428a9822b1ebe3eea984f3e50abc010a0de4e57e7dc365642ab501f7994a235d778eaa73c8217ae1e69d1569e80ac8a59d94a84a6abb8272ad466a35
 SHA512 
aa7d68f369ac24c75cbd321d9a1a943fc361e9bf768797327852d0da39d364fa95ac3891367e90a39061b30b331405e2ea8358e0c91e3bdc5cb151d367e0857e

diff --git a/net-misc/gsutil/files/gsutil-4.50-boto-tests.patch 
b/net-misc/gsutil/files/gsutil-4.50-boto-tests.patch
new file mode 100644
index 000..5a9b601604d
--- /dev/null
+++ b/net-misc/gsutil/files/gsutil-4.50-boto-tests.patch
@@ -0,0 +1,44 @@
+--- 
gsutil.orig/gslib/vendored/boto/tests/integration/s3/mock_storage_service.py
   2020-04-10 13:26:12.0 -0700
 gsutil/gslib/vendored/boto/tests/integration/s3/mock_storage_service.py
2020-05-07 11:11:14.971631528 -0700
+@@ -30,13 +30,11 @@
+ import boto
+ import base64
+ import re
+-import six
+ from hashlib import md5
+
+ from boto.utils import compute_md5
+ from boto.utils import find_matching_headers
+ from boto.utils import merge_headers_by_name
+-from boto.utils import write_to_fd
+ from boto.s3.prefix import Prefix
+-from boto.compat import six
++import six
+
+@@ -90,14 +88,12 @@
+  torrent=NOT_IMPL,
+  version_id=NOT_IMPL,
+  res_download_handler=NOT_IMPL):
+-data = six.ensure_binary(self.data)
+-write_to_fd(fp, data)
++fp.write(six.ensure_str(self.data, errors='replace'))
+
+ def get_file(self, fp, headers=NOT_IMPL, cb=NOT_IMPL, num_cb=NOT_IMPL,
+  torrent=NOT_IMPL, version_id=NOT_IMPL,
+  override_num_retries=NOT_IMPL):
+-data = six.ensure_binary(self.data)
+-write_to_fd(fp, data)
++fp.write(self.data)
+
+ def _handle_headers(self, headers):
+ if not headers:
+@@ -284,9 +280,6 @@
+ else:
+ return ''
+
+-def get_tags(self):
+-  return []
+-
+ def new_key(self, key_name=None):
+ mock_key = MockKey(self, key_name)
+ self.keys[key_name] = mock_key

diff --git a/net-misc/gsutil/files/gsutil-4.50-tests.patch 
b/net-misc/gsutil/files/gsutil-4.50-tests.patch
new file mode 100644
index 000..757f1f4ed4d
--- /dev/null
+++ b/net-misc/gsutil/files/gsutil-4.50-tests.patch
@@ -0,0 +1,57 @@
+diff --git a/gslib/boto_translation.py b/gslib/boto_translation.py
+index 0af2e663..7d2f549f 100644
+--- a/gslib/boto_translation.py
 b/gslib/boto_translation.py
+@@ -1457,7 +1457,8 @@ class BotoTranslation(CloudApi):
+ # TODO: Define tags-related methods on storage_uri objects. In the
+ # meantime, we invoke the underlying bucket's methods directly.
+ try:
+-  boto_tags = bucket_uri.get_bucket().get_tags()
++  bucket = bucket_uri.get_bucket()
++  boto_tags = bucket.get_tags() if hasattr(bucket, 'get_tags') else []
+   cloud_api_bucket.labels = (
+   LabelTranslation.BotoTagsToMessage(boto_tags))
+ except boto.exception.StorageResponseError as e:
+diff --

[gentoo-commits] repo/gentoo:master commit in: net-misc/gsutil/

2020-01-31 Thread Mike Frysinger
commit: 0675c389989e57f39cd860984cb97f1e8344ac97
Author: Mike Frysinger  chromium  org>
AuthorDate: Fri Jan 31 23:20:08 2020 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Fri Jan 31 23:20:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0675c389

net-misc/gsutil: version bump to 4.47

Signed-off-by: Mike Frysinger  gentoo.org>

 net-misc/gsutil/Manifest   |  1 +
 net-misc/gsutil/gsutil-4.47.ebuild | 88 ++
 2 files changed, 89 insertions(+)

diff --git a/net-misc/gsutil/Manifest b/net-misc/gsutil/Manifest
index b6d1fa82946..6a01425ea98 100644
--- a/net-misc/gsutil/Manifest
+++ b/net-misc/gsutil/Manifest
@@ -1,2 +1,3 @@
 DIST gsutil_4.41.tar.gz 3685987 BLAKE2B 
7586d6c64c87c27e4c5f3e86372bfe6d7fdfbdcbe4146308ed497d86b6e3fb984a79d3f07ba3ed055ac09bfe70eef893b8b764a46921703c48c8e54e49cac7eb
 SHA512 
f96500a4761cb244039ba20ccb328b143134a74822990538585116fe6afa6f9e23cfecc9958e34d5deb4291edc9cbe97c6176b3a0f0136ed6e8e81303b5b8c4a
 DIST gsutil_4.45.tar.gz 3695514 BLAKE2B 
9b129ae1e87620b2430368818929fbd884319cd2cf7788275ba556f873b13700b9333c59b753202d8c88a81eaa47e223f39f6ded26adf8d16144324763528886
 SHA512 
9b21162afcfcd063976be51151d1d51aaeac1a32c2b7d0ee79aaccb28f5202f93623b39ed994bd796ab508a56363fea69429fe42cd770cff3c7c8352a4956212
+DIST gsutil_4.47.tar.gz 3696516 BLAKE2B 
c3a5e1327b0e2e46cac17b1bd820b1ead63bbca4b80f17227290f25d12cb46e38df4334ffc71d0261f4467c157ed50ac21b25b1c7a58ec4113758c64d75b
 SHA512 
66d150d496789a89acc71238c7554244ad17a8896b26fd7d6ffb6e26ce14c8b2268633f4a48b8abd8aa25b36f2ef4bd15cdde02b37a9ef52843200b0449289bb

diff --git a/net-misc/gsutil/gsutil-4.47.ebuild 
b/net-misc/gsutil/gsutil-4.47.ebuild
new file mode 100644
index 000..f47278e7a7e
--- /dev/null
+++ b/net-misc/gsutil/gsutil-4.47.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PYTHON_COMPAT=( python3_6 )
+DISTUTILS_USE_SETUPTOOLS="rdepend"
+
+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 ~arm ~x86"
+IUSE="test"
+
+RDEPEND="${PYTHON_DEPS}
+   >=dev-python/argcomplete-1.9.4[${PYTHON_USEDEP}]
+   >=dev-python/boto-2.49.0[${PYTHON_USEDEP}]
+   >=dev-python/crcmod-1.7[${PYTHON_USEDEP}]
+   >=dev-python/fasteners-0.14.1[${PYTHON_USEDEP}]
+   >=dev-python/gcs-oauth2-boto-plugin-2.5[${PYTHON_USEDEP}]
+   >=dev-python/google-apitools-0.5.30[${PYTHON_USEDEP}]
+   >=dev-python/google-reauth-python-0.1.0[${PYTHON_USEDEP}]
+   >=dev-python/httplib2-0.11.3[${PYTHON_USEDEP}]
+   >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
+   >=dev-python/monotonic-1.4[${PYTHON_USEDEP}]
+   >=dev-python/oauth2client-4.1.3[${PYTHON_USEDEP}]
+   >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
+   >=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/six-1.12.0[${PYTHON_USEDEP}]
+   >=dev-python/PySocks-1.01[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}/gsutil-4.41-tests.patch"
+)
+
+S="${WORKDIR}/${PN}"
+
+DOCS=( README.md CHANGES.md )
+
+# needs to talk to Google to run tests
+RESTRICT="test"
+
+python_prepare_all() {
+   distutils-r1_python_prepare_all
+
+   # NB: We don't delete all of boto/ because the tests are imported by the
+   # production code.  The same reason we can't delete gslib/tests/.  We 
can
+   # delete the main boto library and use the system version though.
+   rm -r gslib/vendored/boto/boto || die
+
+   sed -i \
+   -e 's/mock==/mock>=/' \
+   -e 's/oauth2client==/oauth2client>=/' \
+   -e 's/SocksiPy-branch==/PySocks>=/' \
+   setup.py || die
+   # Sanity check we didn't miss any updates.
+   grep '==' setup.py && die "Need to update version requirements"
+
+   # For debugging purposes, temporarily uncomment this in order to
+   # show hidden tracebacks.
+   #sed -e 's/^  except OSError as e:$/&\nraise/' \
+   #   -e 's/def _HandleUnknownFailure(e):/&\n  raise/' \
+   #   -i gslib/__main__.py || die
+
+   # create_bucket raised ResponseNotReady
+   sed -i \
+   -e 's/test_cp_unwritable_tracker_file/_&/' \
+   -e 's/test_cp_unwritable_tracker_file_download/_&/' \
+   gslib/tests/test_cp.py || die
+
+   sed -i -E -e 's/(executable_prefix =).*/\1 [sys.executable]/' \
+   gslib/commands/test.py || die
+
+   # IOError: close() called during concurrent operation on the same file 
object.
+   sed -i -e 's/sys.stderr.close()/#&/' \
+   gslib/tests/testcase/unit_testcase.py || die
+}
+
+python_test() {
+   BOTO_CONFIG=${FILESDIR}/d

[gentoo-commits] repo/gentoo:master commit in: net-misc/gsutil/

2020-01-14 Thread Michał Górny
commit: 353f36939b80826ef681e397c845c5ed05a8a98b
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jan 15 05:37:26 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jan 15 07:20:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=353f3693

net-misc/gsutil: Remove Python 2

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/gsutil/gsutil-4.41.ebuild | 4 ++--
 net-misc/gsutil/gsutil-4.45.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-misc/gsutil/gsutil-4.41.ebuild 
b/net-misc/gsutil/gsutil-4.41.ebuild
index c645f1344db..3e24aceb624 100644
--- a/net-misc/gsutil/gsutil-4.41.ebuild
+++ b/net-misc/gsutil/gsutil-4.41.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python2_7 python3_6 )
+PYTHON_COMPAT=( python3_6 )
 
 inherit distutils-r1
 

diff --git a/net-misc/gsutil/gsutil-4.45.ebuild 
b/net-misc/gsutil/gsutil-4.45.ebuild
index c645f1344db..3e24aceb624 100644
--- a/net-misc/gsutil/gsutil-4.45.ebuild
+++ b/net-misc/gsutil/gsutil-4.45.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python2_7 python3_6 )
+PYTHON_COMPAT=( python3_6 )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/gsutil/

2019-07-29 Thread Patrick McLean
commit: b615a8e3f1c12a6c333ab0ba33c364b1c7e241b9
Author: Patrick McLean  sony  com>
AuthorDate: Tue Jul 30 00:21:16 2019 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Tue Jul 30 00:21:16 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b615a8e3

net-misc/gsutil: RESTRICT=test (bug #690796)

The tests reqire talking to Google, there is no feasible way to make
them work.

It seems like repoman should be checking for this...
Closes: https://bugs.gentoo.org/690796
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Patrick McLean  gentoo.org>

 net-misc/gsutil/gsutil-4.41.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/gsutil/gsutil-4.41.ebuild 
b/net-misc/gsutil/gsutil-4.41.ebuild
index 1bb18ea172b..c645f1344db 100644
--- a/net-misc/gsutil/gsutil-4.41.ebuild
+++ b/net-misc/gsutil/gsutil-4.41.ebuild
@@ -44,7 +44,7 @@ S="${WORKDIR}/${PN}"
 DOCS=( README.md CHANGES.md )
 
 # needs to talk to Google to run tests
-RESTRICT="test? ( network-sandbox )"
+RESTRICT="test"
 
 python_prepare_all() {
distutils-r1_python_prepare_all



[gentoo-commits] repo/gentoo:master commit in: net-misc/gsutil/files/, net-misc/gsutil/

2019-07-16 Thread Patrick McLean
commit: ea90e8f3c2caaa9665ed849d4ab619fdc0d3f96e
Author: Patrick McLean  sony  com>
AuthorDate: Wed Jul 17 03:34:05 2019 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Wed Jul 17 03:34:39 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea90e8f3

net-misc/gsutil: Version bump to 4.41

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Patrick McLean  gentoo.org>

 net-misc/gsutil/Manifest  |  1 +
 net-misc/gsutil/files/gsutil-4.41-tests.patch | 14 +
 net-misc/gsutil/gsutil-4.41.ebuild| 84 +++
 3 files changed, 99 insertions(+)

diff --git a/net-misc/gsutil/Manifest b/net-misc/gsutil/Manifest
index 9548fe0d568..77882581db8 100644
--- a/net-misc/gsutil/Manifest
+++ b/net-misc/gsutil/Manifest
@@ -2,3 +2,4 @@ DIST gsutil_4.27.tar.gz 3107288 BLAKE2B 
4322335779645caf8d1ce717140a92a2173871e3
 DIST gsutil_4.28.tar.gz 3410500 BLAKE2B 
ef6d5460f9f04d27c0f172db5880e02cc88f461455ca05c3eb125656f80c29cba9fcf96ceb0c5958f14a7dc1ac85fcae3a2234a2876c7757ece5e756e910da08
 SHA512 
fbba505f58bc46a737ae8c02aa6a112f71f2543e3aaa4d45afd8e81cda0850c7180216827f3510858b90dfcad85c2d4b54a8c74a04c9b4ab580e966fee7bde0a
 DIST gsutil_4.30.tar.gz 3549515 BLAKE2B 
e6ef7e3832922d0ac1dafee27d56ce810fb6daab0ffb19e3c5644c9f6b71c3a68490c809fce101c723a15a2124013691321c1cf5a6e5be0970bb8f9cb8878ead
 SHA512 
504f21e3a79695959b128aac9c1b53fda8a5752c813b81edeff3d435c95e5cf269c75e682467a615e093a00ae2b52a6c9c7f0fc2a2fd49440f633124d47f197c
 DIST gsutil_4.32.tar.gz 3644450 BLAKE2B 
0e8667504d2bcb499723cf55e6bf825cf555609209c73efaf544183d01a2a5e696ee7c4968f87ded36158a517abf397a295a770d8b9e230695720e90ce52f2d9
 SHA512 
9000d67cc29af6e28b6210edee3e2143bd382ff7fbea76bd75dabfd0caaafe82832c86e4148005edd1d9f986127f573d16b8a3387747bc28a6091ff189829e8a
+DIST gsutil_4.41.tar.gz 3685987 BLAKE2B 
7586d6c64c87c27e4c5f3e86372bfe6d7fdfbdcbe4146308ed497d86b6e3fb984a79d3f07ba3ed055ac09bfe70eef893b8b764a46921703c48c8e54e49cac7eb
 SHA512 
f96500a4761cb244039ba20ccb328b143134a74822990538585116fe6afa6f9e23cfecc9958e34d5deb4291edc9cbe97c6176b3a0f0136ed6e8e81303b5b8c4a

diff --git a/net-misc/gsutil/files/gsutil-4.41-tests.patch 
b/net-misc/gsutil/files/gsutil-4.41-tests.patch
new file mode 100644
index 000..9b4a0bf509a
--- /dev/null
+++ b/net-misc/gsutil/files/gsutil-4.41-tests.patch
@@ -0,0 +1,14 @@
+diff --git a/gslib/third_party/storage_apitools/storage_v1_client.py 
b/gslib/third_party/storage_apitools/storage_v1_client.py
+index b8162310..933082e9 100644
+--- a/gslib/third_party/storage_apitools/storage_v1_client.py
 b/gslib/third_party/storage_apitools/storage_v1_client.py
+@@ -64,8 +64,7 @@ class StorageV1(base_api.BaseApiClient):
+ log_request=log_request, log_response=log_response,
+ credentials_args=credentials_args,
+ default_global_params=default_global_params,
+-additional_http_headers=additional_http_headers,
+-response_encoding=response_encoding)
++additional_http_headers=additional_http_headers)
+ self._version = version
+ self.bucketAccessControls = self.BucketAccessControlsService(self)
+ self.buckets = self.BucketsService(self)

diff --git a/net-misc/gsutil/gsutil-4.41.ebuild 
b/net-misc/gsutil/gsutil-4.41.ebuild
new file mode 100644
index 000..1bb18ea172b
--- /dev/null
+++ b/net-misc/gsutil/gsutil-4.41.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_6 )
+
+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 ~arm ~x86"
+IUSE="test"
+
+RDEPEND="${PYTHON_DEPS}
+   >=dev-python/argcomplete-1.9.4[${PYTHON_USEDEP}]
+   >=dev-python/boto-2.49.0[${PYTHON_USEDEP}]
+   >=dev-python/crcmod-1.7[${PYTHON_USEDEP}]
+   >=dev-python/fasteners-0.14.1[${PYTHON_USEDEP}]
+   >=dev-python/gcs-oauth2-boto-plugin-2.5[${PYTHON_USEDEP}]
+   >=dev-python/google-apitools-0.5.30[${PYTHON_USEDEP}]
+   dev-python/google-reauth-python[${PYTHON_USEDEP}]
+   >=dev-python/httplib2-0.11.3[${PYTHON_USEDEP}]
+   >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
+   >=dev-python/monotonic-1.4[${PYTHON_USEDEP}]
+   >=dev-python/oauth2client-4.1.2[${PYTHON_USEDEP}]
+   >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
+   >=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/six-1.12.0[${PYTHON_USEDEP}]
+   >=dev-python/PySocks-1.01[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]"
+
+PATCHES=(
+   "${FILESDIR}/gsutil-4.41-tests.patch"
+)
+
+S="${WORKDIR}/${PN}"
+
+DOCS=( README.md CHANGES.md )
+

[gentoo-commits] repo/gentoo:master commit in: net-misc/gsutil/

2018-06-15 Thread Zac Medico
commit: 2207d12b48a5e6326a6e4636b34e613e99c16295
Author: Zac Medico  gentoo  org>
AuthorDate: Fri Jun 15 21:18:10 2018 +
Commit: Zac Medico  gentoo  org>
CommitDate: Fri Jun 15 21:25:27 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2207d12b

net-misc/gsutil: require latest httplib2 and gcs-oauth2-boto-plugin

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 net-misc/gsutil/gsutil-4.32.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/gsutil/gsutil-4.32.ebuild 
b/net-misc/gsutil/gsutil-4.32.ebuild
index 038e5ce8da0..c22ead4ade7 100644
--- a/net-misc/gsutil/gsutil-4.32.ebuild
+++ b/net-misc/gsutil/gsutil-4.32.ebuild
@@ -21,10 +21,10 @@ RDEPEND="${PYTHON_DEPS}
>=dev-python/boto-2.48.0[${PYTHON_USEDEP}]
>=dev-python/crcmod-1.7[${PYTHON_USEDEP}]
>=dev-python/fasteners-0.14.1[${PYTHON_USEDEP}]
-   >=dev-python/gcs-oauth2-boto-plugin-1.14[${PYTHON_USEDEP}]
+   >=dev-python/gcs-oauth2-boto-plugin-2.1[${PYTHON_USEDEP}]
>=dev-python/google-apitools-0.5.22[${PYTHON_USEDEP}]
dev-python/google-reauth-python[${PYTHON_USEDEP}]
-   >=dev-python/httplib2-0.10.3[${PYTHON_USEDEP}]
+   >=dev-python/httplib2-0.11.3[${PYTHON_USEDEP}]
>=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
>=dev-python/monotonic-1.4[${PYTHON_USEDEP}]
>=dev-python/oauth2client-4.1.2[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: net-misc/gsutil/

2018-06-14 Thread Zac Medico
commit: 70d82588afd210877d84760ce517ed7bbabb8b78
Author: Zac Medico  gentoo  org>
AuthorDate: Thu Jun 14 22:42:08 2018 +
Commit: Zac Medico  gentoo  org>
CommitDate: Fri Jun 15 06:03:22 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70d82588

net-misc/gsutil: version bump to 4.32

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 net-misc/gsutil/Manifest   |  1 +
 net-misc/gsutil/gsutil-4.32.ebuild | 78 ++
 2 files changed, 79 insertions(+)

diff --git a/net-misc/gsutil/Manifest b/net-misc/gsutil/Manifest
index 9e33dd568ca..9548fe0d568 100644
--- a/net-misc/gsutil/Manifest
+++ b/net-misc/gsutil/Manifest
@@ -1,3 +1,4 @@
 DIST gsutil_4.27.tar.gz 3107288 BLAKE2B 
4322335779645caf8d1ce717140a92a2173871e3c572c70a1a07cfe3f2c3b054becb74a3b4cdd2cfac912b3f84758b1b40e65223cc9e3582653392bc3fc180d5
 SHA512 
0c05e3f1baa8e11e89fc5af2a42474984fc4d5b3cfbd28f3a0efd7603aeee9062f55899c8325579a10e37a6b70a2ad770daf03589f43d0a8a696595c1cdf7b57
 DIST gsutil_4.28.tar.gz 3410500 BLAKE2B 
ef6d5460f9f04d27c0f172db5880e02cc88f461455ca05c3eb125656f80c29cba9fcf96ceb0c5958f14a7dc1ac85fcae3a2234a2876c7757ece5e756e910da08
 SHA512 
fbba505f58bc46a737ae8c02aa6a112f71f2543e3aaa4d45afd8e81cda0850c7180216827f3510858b90dfcad85c2d4b54a8c74a04c9b4ab580e966fee7bde0a
 DIST gsutil_4.30.tar.gz 3549515 BLAKE2B 
e6ef7e3832922d0ac1dafee27d56ce810fb6daab0ffb19e3c5644c9f6b71c3a68490c809fce101c723a15a2124013691321c1cf5a6e5be0970bb8f9cb8878ead
 SHA512 
504f21e3a79695959b128aac9c1b53fda8a5752c813b81edeff3d435c95e5cf269c75e682467a615e093a00ae2b52a6c9c7f0fc2a2fd49440f633124d47f197c
+DIST gsutil_4.32.tar.gz 3644450 BLAKE2B 
0e8667504d2bcb499723cf55e6bf825cf555609209c73efaf544183d01a2a5e696ee7c4968f87ded36158a517abf397a295a770d8b9e230695720e90ce52f2d9
 SHA512 
9000d67cc29af6e28b6210edee3e2143bd382ff7fbea76bd75dabfd0caaafe82832c86e4148005edd1d9f986127f573d16b8a3387747bc28a6091ff189829e8a

diff --git a/net-misc/gsutil/gsutil-4.32.ebuild 
b/net-misc/gsutil/gsutil-4.32.ebuild
new file mode 100644
index 000..038e5ce8da0
--- /dev/null
+++ b/net-misc/gsutil/gsutil-4.32.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python2_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 ~arm ~x86"
+IUSE=""
+
+RDEPEND="${PYTHON_DEPS}
+   >=dev-python/argcomplete-1.9.4[${PYTHON_USEDEP}]
+   >=dev-python/boto-2.48.0[${PYTHON_USEDEP}]
+   >=dev-python/crcmod-1.7[${PYTHON_USEDEP}]
+   >=dev-python/fasteners-0.14.1[${PYTHON_USEDEP}]
+   >=dev-python/gcs-oauth2-boto-plugin-1.14[${PYTHON_USEDEP}]
+   >=dev-python/google-apitools-0.5.22[${PYTHON_USEDEP}]
+   dev-python/google-reauth-python[${PYTHON_USEDEP}]
+   >=dev-python/httplib2-0.10.3[${PYTHON_USEDEP}]
+   >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
+   >=dev-python/monotonic-1.4[${PYTHON_USEDEP}]
+   >=dev-python/oauth2client-4.1.2[${PYTHON_USEDEP}]
+   >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
+   >=dev-python/python-gflags-2.0[${PYTHON_USEDEP}]
+   >=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
+   >=dev-python/PySocks-1.01[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]"
+
+S=${WORKDIR}/${PN}
+
+DOCS=( README.md CHANGES.md )
+
+python_prepare_all() {
+   distutils-r1_python_prepare_all
+
+   sed -e 's/boto==/boto>=/' \
+   -e 's/mock==/mock>=/' \
+   -e 's/oauth2client==/oauth2client>=/' \
+   -e 's/SocksiPy-branch==/PySocks>=/' \
+   -i setup.py || die
+
+   # For debugging purposes, temporarily uncomment this in order to
+   # show hidden tracebacks.
+   #sed -e 's/^  except OSError as e:$/&\nraise/' \
+   #   -e 's/def _HandleUnknownFailure(e):/&\n  raise/' \
+   #   -i gslib/__main__.py || die
+
+   # create_bucket raised ResponseNotReady
+   sed -e 's/test_cp_unwritable_tracker_file/_&/' \
+   -e 's/test_cp_unwritable_tracker_file_download/_&/' \
+   -i gslib/tests/test_cp.py || die
+
+   sed -e 's/\(executable_prefix =\).*/\1 [sys.executable]/' \
+   -i gslib/commands/test.py || die
+
+   # IOError: close() called during concurrent operation on the same file 
object.
+   sed -e 's/sys.stderr.close()/#&/' \
+   -i gslib/tests/testcase/unit_testcase.py
+
+   # Package installs 'test' package which is forbidden and likely a bug 
in the build system
+   rm -rf "${S}/test" || die
+   sed -i -e '/recursive-include test/d' MANIFEST.in || die
+}
+
+python_test() {
+ 

[gentoo-commits] repo/gentoo:master commit in: net-misc/gsutil/, net-misc/gsutil/files/, profiles/

2018-03-28 Thread Mike Frysinger
commit: d069ee5a2aa60c7a3748191de94c1448f19fffc2
Author: Mike Frysinger  chromium  org>
AuthorDate: Thu Mar 29 03:09:38 2018 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Thu Mar 29 03:20:25 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d069ee5a

net-misc/gsutil: version bump to 4.30 #643534

Closes: https://bugs.gentoo.org/643534

 net-misc/gsutil/Manifest   |  1 +
 .../gsutil-4.30-use-friendy-version-checks.patch   | 30 +++
 net-misc/gsutil/gsutil-4.30.ebuild | 58 ++
 profiles/package.mask  |  5 --
 4 files changed, 89 insertions(+), 5 deletions(-)

diff --git a/net-misc/gsutil/Manifest b/net-misc/gsutil/Manifest
index d34f0cae4cd..9e33dd568ca 100644
--- a/net-misc/gsutil/Manifest
+++ b/net-misc/gsutil/Manifest
@@ -1,2 +1,3 @@
 DIST gsutil_4.27.tar.gz 3107288 BLAKE2B 
4322335779645caf8d1ce717140a92a2173871e3c572c70a1a07cfe3f2c3b054becb74a3b4cdd2cfac912b3f84758b1b40e65223cc9e3582653392bc3fc180d5
 SHA512 
0c05e3f1baa8e11e89fc5af2a42474984fc4d5b3cfbd28f3a0efd7603aeee9062f55899c8325579a10e37a6b70a2ad770daf03589f43d0a8a696595c1cdf7b57
 DIST gsutil_4.28.tar.gz 3410500 BLAKE2B 
ef6d5460f9f04d27c0f172db5880e02cc88f461455ca05c3eb125656f80c29cba9fcf96ceb0c5958f14a7dc1ac85fcae3a2234a2876c7757ece5e756e910da08
 SHA512 
fbba505f58bc46a737ae8c02aa6a112f71f2543e3aaa4d45afd8e81cda0850c7180216827f3510858b90dfcad85c2d4b54a8c74a04c9b4ab580e966fee7bde0a
+DIST gsutil_4.30.tar.gz 3549515 BLAKE2B 
e6ef7e3832922d0ac1dafee27d56ce810fb6daab0ffb19e3c5644c9f6b71c3a68490c809fce101c723a15a2124013691321c1cf5a6e5be0970bb8f9cb8878ead
 SHA512 
504f21e3a79695959b128aac9c1b53fda8a5752c813b81edeff3d435c95e5cf269c75e682467a615e093a00ae2b52a6c9c7f0fc2a2fd49440f633124d47f197c

diff --git a/net-misc/gsutil/files/gsutil-4.30-use-friendy-version-checks.patch 
b/net-misc/gsutil/files/gsutil-4.30-use-friendy-version-checks.patch
new file mode 100644
index 000..5cf7c42274d
--- /dev/null
+++ b/net-misc/gsutil/files/gsutil-4.30-use-friendy-version-checks.patch
@@ -0,0 +1,30 @@
+--- a/setup.py
 b/setup.py
+@@ -36,23 +36,23 @@
+ 
+ requires = [
+ 'argcomplete>=1.9.4',
+-'boto==2.48.0',
++'boto>=2.48.0',
+ 'crcmod>=1.7',
+ 'fasteners>=0.14.1',
+ 'gcs-oauth2-boto-plugin>=1.14',
+ 'google-apitools>=0.5.22',
+ 'httplib2>=0.10.3',
+ # TODO: Sync submodule with tag referenced here once #339 is fixed in 
mock.
+-'mock==2.0.0',
++'mock>=2.0.0',
+ 'monotonic>=1.4',
+-'oauth2client==4.1.2',
++'oauth2client>=4.1.2',
+ 'pyOpenSSL>=0.13',
+ 'python-gflags>=2.0',
+ 'retry_decorator>=1.0.0',
+ 'six>=1.9.0',
+ # Not using 1.02 because of:
+ #   https://code.google.com/p/socksipy-branch/issues/detail?id=3
+-'SocksiPy-branch==1.01',
++'PySocks>=1.01',
+ ]
+ 
+ dependency_links = [

diff --git a/net-misc/gsutil/gsutil-4.30.ebuild 
b/net-misc/gsutil/gsutil-4.30.ebuild
new file mode 100644
index 000..c956e6c8793
--- /dev/null
+++ b/net-misc/gsutil/gsutil-4.30.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+# Python 3 depends on google-apitools being updated.
+PYTHON_COMPAT=( python2_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 ~arm ~x86"
+IUSE=""
+
+RDEPEND="${PYTHON_DEPS}
+   >=dev-python/argcomplete-1.9.4[${PYTHON_USEDEP}]
+   >=dev-python/boto-2.48.0[${PYTHON_USEDEP}]
+   >=dev-python/crcmod-1.7[${PYTHON_USEDEP}]
+   >=dev-python/fasteners-0.14.1[${PYTHON_USEDEP}]
+   >=dev-python/gcs-oauth2-boto-plugin-1.14[${PYTHON_USEDEP}]
+   >=dev-python/google-apitools-0.5.22[${PYTHON_USEDEP}]
+   >=dev-python/httplib2-0.10.3[${PYTHON_USEDEP}]
+   >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
+   >=dev-python/monotonic-1.4[${PYTHON_USEDEP}]
+   >=dev-python/oauth2client-4.1.2[${PYTHON_USEDEP}]
+   >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
+   >=dev-python/python-gflags-2.0[${PYTHON_USEDEP}]
+   >=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
+   >=dev-python/PySocks-1.01[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]"
+
+S=${WORKDIR}/${PN}
+
+DOCS=( README.md CHANGES.md )
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.30-use-friendy-version-checks.patch
+)
+
+python_prepare_all() {
+   distutils-r1_python_prepare_all
+
+   # Package installs 'test' package which is forbidden and likely a bug 
in the build system
+   rm -rf "${S}/test" || die
+   sed -i -e '/recursive-include test/d' MANIFEST.in || die
+}
+
+python_test() {
+   e

[gentoo-commits] repo/gentoo:master commit in: net-misc/gsutil/

2018-02-26 Thread Amy Liffey
commit: 8d05a19c66566cba22d09aea1b280cdb28fe9f68
Author: Amy Liffey  gentoo  org>
AuthorDate: Mon Feb 26 16:50:41 2018 +
Commit: Amy Liffey  gentoo  org>
CommitDate: Mon Feb 26 17:11:10 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d05a19c

net-misc/gsutil: add missing dep dev-python/mock

Closes: https://bugs.gentoo.org/632229
Package-Manager: Portage-2.3.13, Repoman-2.3.3

 net-misc/gsutil/gsutil-4.27.ebuild | 3 ++-
 net-misc/gsutil/gsutil-4.28.ebuild | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/net-misc/gsutil/gsutil-4.27.ebuild 
b/net-misc/gsutil/gsutil-4.27.ebuild
index 491ea929a00..cb2c309ec5f 100644
--- a/net-misc/gsutil/gsutil-4.27.ebuild
+++ b/net-misc/gsutil/gsutil-4.27.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -27,6 +27,7 @@ RDEPEND="${PYTHON_DEPS}
>=dev-python/gcs-oauth2-boto-plugin-1.14[${PYTHON_USEDEP}]
>=dev-python/google-apitools-0.5.3[${PYTHON_USEDEP}]
=dev-python/oauth2client-2.2.0[${PYTHON_USEDEP}]
+   >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
>=dev-python/python-gflags-2.0[${PYTHON_USEDEP}]
>=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}]
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]

diff --git a/net-misc/gsutil/gsutil-4.28.ebuild 
b/net-misc/gsutil/gsutil-4.28.ebuild
index 452ebb5e068..85dfba63c0d 100644
--- a/net-misc/gsutil/gsutil-4.28.ebuild
+++ b/net-misc/gsutil/gsutil-4.28.ebuild
@@ -27,6 +27,7 @@ RDEPEND="${PYTHON_DEPS}
>=dev-python/gcs-oauth2-boto-plugin-1.14[${PYTHON_USEDEP}]
>=dev-python/google-apitools-0.5.16[${PYTHON_USEDEP}]
=dev-python/oauth2client-2.2.0[${PYTHON_USEDEP}]
+   >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
>=dev-python/python-gflags-2.0[${PYTHON_USEDEP}]
>=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}]
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: net-misc/gsutil/files/, net-misc/gsutil/

2018-01-02 Thread Mike Frysinger
commit: b1aaea557631c6b671c2de07a572eaa49d955273
Author: Mike Frysinger  chromium  org>
AuthorDate: Tue Jan  2 10:51:09 2018 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Tue Jan  2 10:51:52 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1aaea55

net-misc/gsutil: version bump to 4.28

 net-misc/gsutil/Manifest   |  1 +
 .../gsutil-4.28-use-friendy-version-checks.patch   | 29 +++
 net-misc/gsutil/gsutil-4.28.ebuild | 59 ++
 3 files changed, 89 insertions(+)

diff --git a/net-misc/gsutil/Manifest b/net-misc/gsutil/Manifest
index f2690b36769..d34f0cae4cd 100644
--- a/net-misc/gsutil/Manifest
+++ b/net-misc/gsutil/Manifest
@@ -1 +1,2 @@
 DIST gsutil_4.27.tar.gz 3107288 BLAKE2B 
4322335779645caf8d1ce717140a92a2173871e3c572c70a1a07cfe3f2c3b054becb74a3b4cdd2cfac912b3f84758b1b40e65223cc9e3582653392bc3fc180d5
 SHA512 
0c05e3f1baa8e11e89fc5af2a42474984fc4d5b3cfbd28f3a0efd7603aeee9062f55899c8325579a10e37a6b70a2ad770daf03589f43d0a8a696595c1cdf7b57
+DIST gsutil_4.28.tar.gz 3410500 BLAKE2B 
ef6d5460f9f04d27c0f172db5880e02cc88f461455ca05c3eb125656f80c29cba9fcf96ceb0c5958f14a7dc1ac85fcae3a2234a2876c7757ece5e756e910da08
 SHA512 
fbba505f58bc46a737ae8c02aa6a112f71f2543e3aaa4d45afd8e81cda0850c7180216827f3510858b90dfcad85c2d4b54a8c74a04c9b4ab580e966fee7bde0a

diff --git a/net-misc/gsutil/files/gsutil-4.28-use-friendy-version-checks.patch 
b/net-misc/gsutil/files/gsutil-4.28-use-friendy-version-checks.patch
new file mode 100644
index 000..93b529a3003
--- /dev/null
+++ b/net-misc/gsutil/files/gsutil-4.28-use-friendy-version-checks.patch
@@ -0,0 +1,29 @@
+--- a/setup.py
 b/setup.py
+@@ -36,21 +36,21 @@
+ 
+ requires = [
+ 'argcomplete>=1.8.2',
+-'boto==2.48.0',
++'boto>=2.48.0',
+ 'crcmod>=1.7',
+ 'gcs-oauth2-boto-plugin>=1.14',
+-'google-apitools==0.5.16',
++'google-apitools>=0.5.16',
+ 'httplib2>=0.10.3',
+ # TODO: Sync submodule with tag referenced here once #339 is fixed in 
mock.
+-'mock==2.0.0',
+-'oauth2client==2.2.0',
++'mock>=2.0.0',
++'oauth2client>=2.2.0',
+ 'pyOpenSSL>=0.13',
+ 'python-gflags>=2.0',
+ 'retry_decorator>=1.0.0',
+ 'six>=1.9.0',
+ # 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 = [

diff --git a/net-misc/gsutil/gsutil-4.28.ebuild 
b/net-misc/gsutil/gsutil-4.28.ebuild
new file mode 100644
index 000..452ebb5e068
--- /dev/null
+++ b/net-misc/gsutil/gsutil-4.28.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_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 ~arm ~x86"
+IUSE=""
+
+# The oauth2client-2 dep sucks.
+# https://github.com/GoogleCloudPlatform/gsutil/issues/355
+RDEPEND="${PYTHON_DEPS}
+   >=dev-python/argcomplete-1.8.2[${PYTHON_USEDEP}]
+   >=dev-python/boto-2.48.0[${PYTHON_USEDEP}]
+   >=dev-python/crcmod-1.7[${PYTHON_USEDEP}]
+   >=dev-python/httplib2-0.10.3[${PYTHON_USEDEP}]
+   >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
+   >=dev-python/gcs-oauth2-boto-plugin-1.14[${PYTHON_USEDEP}]
+   >=dev-python/google-apitools-0.5.16[${PYTHON_USEDEP}]
+   =dev-python/oauth2client-2.2.0[${PYTHON_USEDEP}]
+   >=dev-python/python-gflags-2.0[${PYTHON_USEDEP}]
+   >=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
+   >=dev-python/PySocks-1.01[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]"
+
+S=${WORKDIR}/${PN}
+
+DOCS=( README.md CHANGES.md )
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.28-use-friendy-version-checks.patch
+)
+
+python_prepare_all() {
+   distutils-r1_python_prepare_all
+   sed -i \
+   -e '/SocksiPy-branch/d' \
+   setup.py || die
+
+   # Package installs 'test' package which is forbidden and likely a bug 
in the build system
+   rm -rf "${S}/test" || die
+   sed -i -e '/recursive-include test/d' MANIFEST.in || die
+}
+
+python_test() {
+   export BOTO_CONFIG=${FILESDIR}/dummy.boto
+   ${PYTHON} gslib/__main__.py test -u || die "tests failed"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/gsutil/, net-misc/gsutil/files/

2017-12-21 Thread Michael Palimaka
commit: a64ddaf17dc547c506ef790fabe587d38ba9652a
Author: Michael Palimaka  gentoo  org>
AuthorDate: Thu Dec 21 09:04:02 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Thu Dec 21 09:07:36 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a64ddaf1

net-misc/gsutil: remove old

Package-Manager: Portage-2.3.14, Repoman-2.3.6

 net-misc/gsutil/Manifest   |  3 --
 .../gsutil-3.37-drop-http_proxy-clearing.patch | 35 --
 .../gsutil-3.42-use-friendy-version-checks.patch   | 20 
 .../gsutil-4.19-use-friendy-version-checks.patch   | 25 --
 .../gsutil-4.20-use-friendy-version-checks.patch   | 25 --
 net-misc/gsutil/gsutil-3.42.ebuild | 51 
 net-misc/gsutil/gsutil-4.19.ebuild | 55 --
 net-misc/gsutil/gsutil-4.20.ebuild | 54 -
 8 files changed, 268 deletions(-)

diff --git a/net-misc/gsutil/Manifest b/net-misc/gsutil/Manifest
index 18d9f5c9391..f2690b36769 100644
--- a/net-misc/gsutil/Manifest
+++ b/net-misc/gsutil/Manifest
@@ -1,4 +1 @@
-DIST gsutil_3.42.tar.gz 1878904 BLAKE2B 
50690e295c1bbe16bda84b774ff309c8ec6cc31facfb1e70a0ed817b0cb7ea8350036fec533e1bdf56e32578a5bbdb7f0c08341e16026b4afb274414278287d6
 SHA512 
084aaf43a44528af0cdfd9bd22beeb5d6abff240c09843cf35016d685d51b854ed5b2837eaa50c97bb44d5e1a3cdccbae6688ef27aa13f2a5db6040bf501b381
-DIST gsutil_4.19.tar.gz 2715141 BLAKE2B 
c479ab9e8f7b5963b0fba9b253bfb37e4abb6ede2fe6bbbdbfdc38c99bfe73331fe351aeb8147efa8b85924c5107c901a10796b37d95978ad034cacd29d919a0
 SHA512 
59e96c9855a037300feae122462ff3c9f69e46f049812e88087ae532f590e84b81d67b4e961c47bd0f725c87aa6e0360f65bd8935a95a51c61eb80da0b82dcc1
-DIST gsutil_4.20.tar.gz 2872954 BLAKE2B 
e4210d560a3643cf0b24589aeaaedffdc17aa058c2ad22b922c794316931e797d63435f227f65abf347f1cc9b89a9f0472f2617ca06deb64d58709094cfbc1b0
 SHA512 
3fb7903f87eb18a0bece514d1cfc4030b056e47044ef0d9ffd673015358bd86cfc9dcdcf4191e0a4d8f3bae7ef70e12e6856912940d857dc7eec1b1d087026f6
 DIST gsutil_4.27.tar.gz 3107288 BLAKE2B 
4322335779645caf8d1ce717140a92a2173871e3c572c70a1a07cfe3f2c3b054becb74a3b4cdd2cfac912b3f84758b1b40e65223cc9e3582653392bc3fc180d5
 SHA512 
0c05e3f1baa8e11e89fc5af2a42474984fc4d5b3cfbd28f3a0efd7603aeee9062f55899c8325579a10e37a6b70a2ad770daf03589f43d0a8a696595c1cdf7b57

diff --git a/net-misc/gsutil/files/gsutil-3.37-drop-http_proxy-clearing.patch 
b/net-misc/gsutil/files/gsutil-3.37-drop-http_proxy-clearing.patch
deleted file mode 100644
index 4c36035d21c..000
--- a/net-misc/gsutil/files/gsutil-3.37-drop-http_proxy-clearing.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-http://crbug.com/318478
-
-From 0067df5b08ebab29b88bbb7e6c1cd79dc4d96100 Mon Sep 17 00:00:00 2001
-From: Mike Frysinger 
-Date: Wed, 27 Nov 2013 14:57:05 -0500
-Subject: [PATCH] drop http_proxy clearing
-
-The boto logic takes care of merging the env vars and the settings in its
-boto config file, so there shouldn't be a need to clear things.

- gslib/__main__.py | 8 
- 1 file changed, 8 deletions(-)
-
-diff --git a/gslib/__main__.py b/gslib/__main__.py
-index 82a69c1..a18db42 100644
 a/gslib/__main__.py
-+++ b/gslib/__main__.py
-@@ -247,14 +247,6 @@ def main():
- else:
-   command_name = args[0]
- 
--# Unset http_proxy environment variable if it's set, because it confuses
--# boto. (Proxies should instead be configured via the boto config file.)
--if 'http_proxy' in os.environ:
--  if debug > 1:
--sys.stderr.write(
--'Unsetting http_proxy environment variable within gsutil run.\n')
--  del os.environ['http_proxy']
--
- return _RunNamedCommandAndHandleExceptions(
- command_runner, command_name, args[1:], headers, debug,
- parallel_operations)
--- 
-1.8.4.3
-

diff --git a/net-misc/gsutil/files/gsutil-3.42-use-friendy-version-checks.patch 
b/net-misc/gsutil/files/gsutil-3.42-use-friendy-version-checks.patch
deleted file mode 100644
index 5d8bbbc7635..000
--- a/net-misc/gsutil/files/gsutil-3.42-use-friendy-version-checks.patch
+++ /dev/null
@@ -1,20 +0,0 @@
 a/setup.py
-+++ b/setup.py
-@@ -33,15 +33,13 @@ management tasks, including:
- """
- 
- requires = [
--'boto==2.22.1',
-+'boto>=2.22.1',
- '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',
- 'retry_decorator>=1.0.0',
- ]
- 

diff --git a/net-misc/gsutil/files/gsutil-4.19-use-friendy-version-checks.patch 
b/net-misc/gsutil/files/gsutil-4.19-use-friendy-version-checks.patch
deleted file mode 100644
index 66d8144329f..000
--- a/net-misc/gsutil/files/gsutil-4.19-use-friendy-version-checks.patch
+++ /dev/null
@@ -1,25 +0,0 @@
 a/setup.py
-+++

[gentoo-commits] repo/gentoo:master commit in: net-misc/gsutil/files/, net-misc/gsutil/

2017-09-04 Thread Jason Zaman
commit: d1d200f96e3ce19f97ca1d3853ba237f670d4f2d
Author: Jason Zaman  gentoo  org>
AuthorDate: Tue Sep  5 04:08:26 2017 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Tue Sep  5 04:09:11 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1d200f9

net-misc/gsutil: bump to 4.27

Closes: https://bugs.gentoo.org/627838

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 net-misc/gsutil/Manifest   |  1 +
 .../gsutil-4.27-use-friendy-version-checks.patch   | 29 +++
 net-misc/gsutil/gsutil-4.27.ebuild | 59 ++
 3 files changed, 89 insertions(+)

diff --git a/net-misc/gsutil/Manifest b/net-misc/gsutil/Manifest
index 42574743793..d5e26c42b81 100644
--- a/net-misc/gsutil/Manifest
+++ b/net-misc/gsutil/Manifest
@@ -1,3 +1,4 @@
 DIST gsutil_3.42.tar.gz 1878904 SHA256 
50fc7acb7d1db8752f3eee106a3d8d65188107943e7cb30cfd3f94a9cfcdcf37 SHA512 
084aaf43a44528af0cdfd9bd22beeb5d6abff240c09843cf35016d685d51b854ed5b2837eaa50c97bb44d5e1a3cdccbae6688ef27aa13f2a5db6040bf501b381
 WHIRLPOOL 
5b0d0fb1d2446a7b8777f368f073fdb4f7ad2d6407735976c178a2727a2548bf28522e06469dd0b7df1578d5586bc152fba3520b66f88d706417947aa3aa5578
 DIST gsutil_4.19.tar.gz 2715141 SHA256 
6d9ce67de274d080775ed55e3d86edeb1c8c0a942bccdf5e96bdf1eaa51dd8d2 SHA512 
59e96c9855a037300feae122462ff3c9f69e46f049812e88087ae532f590e84b81d67b4e961c47bd0f725c87aa6e0360f65bd8935a95a51c61eb80da0b82dcc1
 WHIRLPOOL 
70ccfa6f462e536f8aee7ef27aef0e9f8ef0d73bad1493959d2a177db675324f5a872bef5c7e7c844b380cabb04d00f6b334f46bc0f021e4ed743a209b4bf677
 DIST gsutil_4.20.tar.gz 2872954 SHA256 
aa468f68ef7ac570b2071de56b4ce55c829cb92b62cf10c007bcbec6e74c7997 SHA512 
3fb7903f87eb18a0bece514d1cfc4030b056e47044ef0d9ffd673015358bd86cfc9dcdcf4191e0a4d8f3bae7ef70e12e6856912940d857dc7eec1b1d087026f6
 WHIRLPOOL 
88932a54656a6399e1c489c294a83f185bb0343e30489c105de4bb6a556e3173b9bb0d3d24e5808872ea10d50d9731ccbceeb8e43280fb0c30ada61e8d2c6c0b
+DIST gsutil_4.27.tar.gz 3107288 SHA256 
1e794e64429077ab2beddbc1a548f83dbde41228f83e8267904dee0778a025fa SHA512 
0c05e3f1baa8e11e89fc5af2a42474984fc4d5b3cfbd28f3a0efd7603aeee9062f55899c8325579a10e37a6b70a2ad770daf03589f43d0a8a696595c1cdf7b57
 WHIRLPOOL 
36e06017e1a1221f1af55976e470119e9543d70cc177ab2d12bb8957d25ff38cfc4fa85873b65b57bf4e7ac83301691d65e97398d638e7cb545fdd472e8437d0

diff --git a/net-misc/gsutil/files/gsutil-4.27-use-friendy-version-checks.patch 
b/net-misc/gsutil/files/gsutil-4.27-use-friendy-version-checks.patch
new file mode 100644
index 000..c02e567989f
--- /dev/null
+++ b/net-misc/gsutil/files/gsutil-4.27-use-friendy-version-checks.patch
@@ -0,0 +1,29 @@
+--- a/setup.py
 b/setup.py
+@@ -36,21 +36,21 @@
+ 
+ requires = [
+ 'argcomplete>=1.8.2',
+-'boto==2.47.0',
++'boto>=2.47.0',
+ 'crcmod>=1.7',
+ 'gcs-oauth2-boto-plugin>=1.14',
+-'google-apitools==0.5.3',
++'google-apitools>=0.5.3',
+ 'httplib2>=0.8',
+ # TODO: Sync submodule with tag referenced here once #339 is fixed in 
mock.
+-'mock==2.0.0',
+-'oauth2client==2.2.0',
++'mock>=2.0.0',
++'oauth2client>=2.2.0',
+ 'pyOpenSSL>=0.13',
+ 'python-gflags>=2.0',
+ 'retry_decorator>=1.0.0',
+ 'six>=1.9.0',
+ # 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 = [

diff --git a/net-misc/gsutil/gsutil-4.27.ebuild 
b/net-misc/gsutil/gsutil-4.27.ebuild
new file mode 100644
index 000..491ea929a00
--- /dev/null
+++ b/net-misc/gsutil/gsutil-4.27.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_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 ~arm ~x86"
+IUSE=""
+
+# The oauth2client-2 dep sucks.
+# https://github.com/GoogleCloudPlatform/gsutil/issues/355
+RDEPEND="${PYTHON_DEPS}
+   >=dev-python/argcomplete-1.8.2[${PYTHON_USEDEP}]
+   >=dev-python/boto-2.47.0[${PYTHON_USEDEP}]
+   >=dev-python/crcmod-1.7[${PYTHON_USEDEP}]
+   >=dev-python/httplib2-0.8[${PYTHON_USEDEP}]
+   >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
+   >=dev-python/gcs-oauth2-boto-plugin-1.14[${PYTHON_USEDEP}]
+   >=dev-python/google-apitools-0.5.3[${PYTHON_USEDEP}]
+   =dev-python/oauth2client-2.2.0[${PYTHON_USEDEP}]
+   >=dev-python/python-gflags-2.0[${PYTHON_USEDEP}]
+   >=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
+   >=dev-python/PySocks-1.01[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]"
+
+S=${WORKDIR}/${

[gentoo-commits] repo/gentoo:master commit in: net-misc/gsutil/, net-misc/gsutil/files/

2017-02-11 Thread Mike Frysinger
commit: c15cc9f777fc64e3d7811b2a49922c1872d37244
Author: Mike Frysinger  gentoo  org>
AuthorDate: Sat Feb 11 18:16:59 2017 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Sat Feb 11 18:17:15 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c15cc9f7

net-misc/gsutil: drop old 4.18 version

 net-misc/gsutil/Manifest   |  1 -
 .../gsutil-4.18-use-friendy-version-checks.patch   | 25 --
 net-misc/gsutil/gsutil-4.18.ebuild | 56 --
 3 files changed, 82 deletions(-)

diff --git a/net-misc/gsutil/Manifest b/net-misc/gsutil/Manifest
index 34fa19a7a4..4257474379 100644
--- a/net-misc/gsutil/Manifest
+++ b/net-misc/gsutil/Manifest
@@ -1,4 +1,3 @@
 DIST gsutil_3.42.tar.gz 1878904 SHA256 
50fc7acb7d1db8752f3eee106a3d8d65188107943e7cb30cfd3f94a9cfcdcf37 SHA512 
084aaf43a44528af0cdfd9bd22beeb5d6abff240c09843cf35016d685d51b854ed5b2837eaa50c97bb44d5e1a3cdccbae6688ef27aa13f2a5db6040bf501b381
 WHIRLPOOL 
5b0d0fb1d2446a7b8777f368f073fdb4f7ad2d6407735976c178a2727a2548bf28522e06469dd0b7df1578d5586bc152fba3520b66f88d706417947aa3aa5578
-DIST gsutil_4.18.tar.gz 2704520 SHA256 
b7f2b7fe2f14b3e5ffa0679507be8d84a0add268dff729de53d22b2f5b61ce24 SHA512 
74dd2898faa1615dbd7d560a7ed9f2a78788b2f1ce6e97fa5019c55c7827d93de1923f6985f210bb334e8064bdbd7d169f805ac7add722db0f0e20ff0f85494e
 WHIRLPOOL 
6188f1f4ae352a61e9ad4f67afa5773810519d9d96ad1a534dcd3a6ca58b914a336a4682438800bf242573a00a327f52d541810362f84a5104a165a8566dabd5
 DIST gsutil_4.19.tar.gz 2715141 SHA256 
6d9ce67de274d080775ed55e3d86edeb1c8c0a942bccdf5e96bdf1eaa51dd8d2 SHA512 
59e96c9855a037300feae122462ff3c9f69e46f049812e88087ae532f590e84b81d67b4e961c47bd0f725c87aa6e0360f65bd8935a95a51c61eb80da0b82dcc1
 WHIRLPOOL 
70ccfa6f462e536f8aee7ef27aef0e9f8ef0d73bad1493959d2a177db675324f5a872bef5c7e7c844b380cabb04d00f6b334f46bc0f021e4ed743a209b4bf677
 DIST gsutil_4.20.tar.gz 2872954 SHA256 
aa468f68ef7ac570b2071de56b4ce55c829cb92b62cf10c007bcbec6e74c7997 SHA512 
3fb7903f87eb18a0bece514d1cfc4030b056e47044ef0d9ffd673015358bd86cfc9dcdcf4191e0a4d8f3bae7ef70e12e6856912940d857dc7eec1b1d087026f6
 WHIRLPOOL 
88932a54656a6399e1c489c294a83f185bb0343e30489c105de4bb6a556e3173b9bb0d3d24e5808872ea10d50d9731ccbceeb8e43280fb0c30ada61e8d2c6c0b

diff --git a/net-misc/gsutil/files/gsutil-4.18-use-friendy-version-checks.patch 
b/net-misc/gsutil/files/gsutil-4.18-use-friendy-version-checks.patch
deleted file mode 100644
index ebc8832f57..00
--- a/net-misc/gsutil/files/gsutil-4.18-use-friendy-version-checks.patch
+++ /dev/null
@@ -1,25 +0,0 @@
 a/setup.py
-+++ b/setup.py
-@@ -35,10 +35,10 @@
- """
- 
- requires = [
--'boto==2.38.0',
-+'boto>=2.38.0',
- 'crcmod>=1.7',
- 'gcs-oauth2-boto-plugin>=1.12',
--'google-apitools==0.5.2',
-+'google-apitools>=0.5.2',
- 'httplib2>=0.8',
--'oauth2client==1.5.2',
-+'oauth2client>=1.5.2',
- 'pyOpenSSL>=0.13',
-@@ -48,7 +48,7 @@
- 'six>=1.9.0',
- # 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 = [

diff --git a/net-misc/gsutil/gsutil-4.18.ebuild 
b/net-misc/gsutil/gsutil-4.18.ebuild
deleted file mode 100644
index 86367bde09..00
--- a/net-misc/gsutil/gsutil-4.18.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# 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
-
-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 ~arm ~x86"
-IUSE=""
-
-# The oauth2client-2 dep sucks.
-# https://github.com/GoogleCloudPlatform/gsutil/issues/355
-RDEPEND="${PYTHON_DEPS}
-   >=dev-python/boto-2.38.0[${PYTHON_USEDEP}]
-   >=dev-python/crcmod-1.7[${PYTHON_USEDEP}]
-   >=dev-python/httplib2-0.8[${PYTHON_USEDEP}]
-   >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
-   >=dev-python/gcs-oauth2-boto-plugin-1.12[${PYTHON_USEDEP}]
-   >=dev-python/google-apitools-0.5.2[${PYTHON_USEDEP}]
-   >=dev-python/oauth2client-1.5.2[${PYTHON_USEDEP}]
-   =dev-python/python-gflags-2.0[${PYTHON_USEDEP}]
-   >=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}]
-   >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
-   >=dev-python/PySocks-1.01[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
-   dev-python/setuptools[${PYTHON_USEDEP}]"
-
-S=${WORKDIR}/${PN}
-
-DOCS=( README.md CHANGES.md )
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-4.18-use-friendy-version-checks.patch
-)
-
-python_prepare_all() {
-   distutils-r1_python_prepare_all
-   sed \
-   -e '/SocksiPy-branch/d' \
-   -i setup.py || die
-}
-
-python_test() {
-   exp

[gentoo-commits] repo/gentoo:master commit in: net-misc/gsutil/files/, net-misc/gsutil/

2016-08-13 Thread Mike Frysinger
commit: 8f549d24b1a014892eab4c21528a22881651b34e
Author: Mike Frysinger  gentoo  org>
AuthorDate: Sat Aug 13 18:39:29 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Sat Aug 13 18:39:55 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f549d24

net-misc/gsutil: version bump to 4.20

 net-misc/gsutil/Manifest   |  1 +
 .../gsutil-4.20-use-friendy-version-checks.patch   | 25 ++
 net-misc/gsutil/gsutil-4.20.ebuild | 54 ++
 3 files changed, 80 insertions(+)

diff --git a/net-misc/gsutil/Manifest b/net-misc/gsutil/Manifest
index f2cbdcd..34fa19a 100644
--- a/net-misc/gsutil/Manifest
+++ b/net-misc/gsutil/Manifest
@@ -1,3 +1,4 @@
 DIST gsutil_3.42.tar.gz 1878904 SHA256 
50fc7acb7d1db8752f3eee106a3d8d65188107943e7cb30cfd3f94a9cfcdcf37 SHA512 
084aaf43a44528af0cdfd9bd22beeb5d6abff240c09843cf35016d685d51b854ed5b2837eaa50c97bb44d5e1a3cdccbae6688ef27aa13f2a5db6040bf501b381
 WHIRLPOOL 
5b0d0fb1d2446a7b8777f368f073fdb4f7ad2d6407735976c178a2727a2548bf28522e06469dd0b7df1578d5586bc152fba3520b66f88d706417947aa3aa5578
 DIST gsutil_4.18.tar.gz 2704520 SHA256 
b7f2b7fe2f14b3e5ffa0679507be8d84a0add268dff729de53d22b2f5b61ce24 SHA512 
74dd2898faa1615dbd7d560a7ed9f2a78788b2f1ce6e97fa5019c55c7827d93de1923f6985f210bb334e8064bdbd7d169f805ac7add722db0f0e20ff0f85494e
 WHIRLPOOL 
6188f1f4ae352a61e9ad4f67afa5773810519d9d96ad1a534dcd3a6ca58b914a336a4682438800bf242573a00a327f52d541810362f84a5104a165a8566dabd5
 DIST gsutil_4.19.tar.gz 2715141 SHA256 
6d9ce67de274d080775ed55e3d86edeb1c8c0a942bccdf5e96bdf1eaa51dd8d2 SHA512 
59e96c9855a037300feae122462ff3c9f69e46f049812e88087ae532f590e84b81d67b4e961c47bd0f725c87aa6e0360f65bd8935a95a51c61eb80da0b82dcc1
 WHIRLPOOL 
70ccfa6f462e536f8aee7ef27aef0e9f8ef0d73bad1493959d2a177db675324f5a872bef5c7e7c844b380cabb04d00f6b334f46bc0f021e4ed743a209b4bf677
+DIST gsutil_4.20.tar.gz 2872954 SHA256 
aa468f68ef7ac570b2071de56b4ce55c829cb92b62cf10c007bcbec6e74c7997 SHA512 
3fb7903f87eb18a0bece514d1cfc4030b056e47044ef0d9ffd673015358bd86cfc9dcdcf4191e0a4d8f3bae7ef70e12e6856912940d857dc7eec1b1d087026f6
 WHIRLPOOL 
88932a54656a6399e1c489c294a83f185bb0343e30489c105de4bb6a556e3173b9bb0d3d24e5808872ea10d50d9731ccbceeb8e43280fb0c30ada61e8d2c6c0b

diff --git a/net-misc/gsutil/files/gsutil-4.20-use-friendy-version-checks.patch 
b/net-misc/gsutil/files/gsutil-4.20-use-friendy-version-checks.patch
new file mode 100644
index 000..8f0de98
--- /dev/null
+++ b/net-misc/gsutil/files/gsutil-4.20-use-friendy-version-checks.patch
@@ -0,0 +1,25 @@
+--- a/setup.py
 b/setup.py
+@@ -35,10 +35,10 @@
+ """
+ 
+ requires = [
+-'boto==2.39.0',
++'boto>=2.39.0',
+ 'crcmod>=1.7',
+ 'gcs-oauth2-boto-plugin>=1.14',
+-'google-apitools==0.5.3',
++'google-apitools>=0.5.3',
+ 'httplib2>=0.8',
+-'oauth2client==2.2.0',
++'oauth2client>=2.2.0',
+ 'pyOpenSSL>=0.13',
+@@ -48,7 +48,6 @@
+ 'six>=1.9.0',
+ # 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',
+ # TODO: Sync submodule with tag referenced here once #339 is fixed in 
mock.
+-'mock==2.0.0',
+ ]

diff --git a/net-misc/gsutil/gsutil-4.20.ebuild 
b/net-misc/gsutil/gsutil-4.20.ebuild
new file mode 100644
index 000..1536138
--- /dev/null
+++ b/net-misc/gsutil/gsutil-4.20.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_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 ~arm ~x86"
+IUSE=""
+
+# The oauth2client-2 dep sucks.
+# https://github.com/GoogleCloudPlatform/gsutil/issues/355
+RDEPEND="${PYTHON_DEPS}
+   >=dev-python/boto-2.39.0[${PYTHON_USEDEP}]
+   >=dev-python/crcmod-1.7[${PYTHON_USEDEP}]
+   >=dev-python/httplib2-0.8[${PYTHON_USEDEP}]
+   >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
+   >=dev-python/gcs-oauth2-boto-plugin-1.14[${PYTHON_USEDEP}]
+   >=dev-python/google-apitools-0.5.3[${PYTHON_USEDEP}]
+   >=dev-python/oauth2client-2.2.0[${PYTHON_USEDEP}]
+   >=dev-python/python-gflags-2.0[${PYTHON_USEDEP}]
+   >=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
+   >=dev-python/PySocks-1.01[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]"
+
+S=${WORKDIR}/${PN}
+
+DOCS=( README.md CHANGES.md )
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.20-use-friendy-version-checks.patch
+)
+
+python_prepare_all() {
+   distutils-r1_python_prepare_all
+   sed -i \
+   -e '/SocksiPy-branch/d' \
+   setu

[gentoo-commits] repo/gentoo:master commit in: net-misc/gsutil/, net-misc/gsutil/files/

2016-04-20 Thread Mike Frysinger
commit: 31c27e2d80e1a0029b1112d0fd29c248f34d1677
Author: Mike Frysinger  gentoo  org>
AuthorDate: Thu Apr 21 05:19:37 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Thu Apr 21 05:19:42 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31c27e2d

net-misc/gsutil: version bump to 4.19

 net-misc/gsutil/Manifest   |  1 +
 .../gsutil-4.19-use-friendy-version-checks.patch   | 25 ++
 net-misc/gsutil/gsutil-4.19.ebuild | 56 ++
 3 files changed, 82 insertions(+)

diff --git a/net-misc/gsutil/Manifest b/net-misc/gsutil/Manifest
index 0e51ff1..f2cbdcd 100644
--- a/net-misc/gsutil/Manifest
+++ b/net-misc/gsutil/Manifest
@@ -1,2 +1,3 @@
 DIST gsutil_3.42.tar.gz 1878904 SHA256 
50fc7acb7d1db8752f3eee106a3d8d65188107943e7cb30cfd3f94a9cfcdcf37 SHA512 
084aaf43a44528af0cdfd9bd22beeb5d6abff240c09843cf35016d685d51b854ed5b2837eaa50c97bb44d5e1a3cdccbae6688ef27aa13f2a5db6040bf501b381
 WHIRLPOOL 
5b0d0fb1d2446a7b8777f368f073fdb4f7ad2d6407735976c178a2727a2548bf28522e06469dd0b7df1578d5586bc152fba3520b66f88d706417947aa3aa5578
 DIST gsutil_4.18.tar.gz 2704520 SHA256 
b7f2b7fe2f14b3e5ffa0679507be8d84a0add268dff729de53d22b2f5b61ce24 SHA512 
74dd2898faa1615dbd7d560a7ed9f2a78788b2f1ce6e97fa5019c55c7827d93de1923f6985f210bb334e8064bdbd7d169f805ac7add722db0f0e20ff0f85494e
 WHIRLPOOL 
6188f1f4ae352a61e9ad4f67afa5773810519d9d96ad1a534dcd3a6ca58b914a336a4682438800bf242573a00a327f52d541810362f84a5104a165a8566dabd5
+DIST gsutil_4.19.tar.gz 2715141 SHA256 
6d9ce67de274d080775ed55e3d86edeb1c8c0a942bccdf5e96bdf1eaa51dd8d2 SHA512 
59e96c9855a037300feae122462ff3c9f69e46f049812e88087ae532f590e84b81d67b4e961c47bd0f725c87aa6e0360f65bd8935a95a51c61eb80da0b82dcc1
 WHIRLPOOL 
70ccfa6f462e536f8aee7ef27aef0e9f8ef0d73bad1493959d2a177db675324f5a872bef5c7e7c844b380cabb04d00f6b334f46bc0f021e4ed743a209b4bf677

diff --git a/net-misc/gsutil/files/gsutil-4.19-use-friendy-version-checks.patch 
b/net-misc/gsutil/files/gsutil-4.19-use-friendy-version-checks.patch
new file mode 100644
index 000..66d8144
--- /dev/null
+++ b/net-misc/gsutil/files/gsutil-4.19-use-friendy-version-checks.patch
@@ -0,0 +1,25 @@
+--- a/setup.py
 b/setup.py
+@@ -35,10 +35,10 @@
+ """
+ 
+ requires = [
+-'boto==2.39.0',
++'boto>=2.39.0',
+ 'crcmod>=1.7',
+ 'gcs-oauth2-boto-plugin>=1.12',
+-'google-apitools==0.5.2',
++'google-apitools>=0.5.2',
+ 'httplib2>=0.8',
+-'oauth2client==1.5.2',
++'oauth2client>=1.5.2',
+ 'pyOpenSSL>=0.13',
+@@ -48,7 +48,7 @@
+ 'six>=1.9.0',
+ # 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 = [

diff --git a/net-misc/gsutil/gsutil-4.19.ebuild 
b/net-misc/gsutil/gsutil-4.19.ebuild
new file mode 100644
index 000..ea1c3e1
--- /dev/null
+++ b/net-misc/gsutil/gsutil-4.19.ebuild
@@ -0,0 +1,56 @@
+# 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
+
+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 ~arm ~x86"
+IUSE=""
+
+# The oauth2client-2 dep sucks.
+# https://github.com/GoogleCloudPlatform/gsutil/issues/355
+RDEPEND="${PYTHON_DEPS}
+   >=dev-python/boto-2.39.0[${PYTHON_USEDEP}]
+   >=dev-python/crcmod-1.7[${PYTHON_USEDEP}]
+   >=dev-python/httplib2-0.8[${PYTHON_USEDEP}]
+   >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
+   >=dev-python/gcs-oauth2-boto-plugin-1.12[${PYTHON_USEDEP}]
+   >=dev-python/google-apitools-0.5.2[${PYTHON_USEDEP}]
+   >=dev-python/oauth2client-1.5.2[${PYTHON_USEDEP}]
+   =dev-python/python-gflags-2.0[${PYTHON_USEDEP}]
+   >=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
+   >=dev-python/PySocks-1.01[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]"
+
+S=${WORKDIR}/${PN}
+
+DOCS=( README.md CHANGES.md )
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.19-use-friendy-version-checks.patch
+)
+
+python_prepare_all() {
+   distutils-r1_python_prepare_all
+   sed -i \
+   -e '/SocksiPy-branch/d' \
+   setup.py || die
+}
+
+python_test() {
+   export BOTO_CONFIG=${FILESDIR}/dummy.boto
+   ${PYTHON} gslib/__main__.py test -u || die "tests failed"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/gsutil/, net-misc/gsutil/files/

2016-04-20 Thread Mike Frysinger
commit: 62e2a921c4299193d91e21ed0e267f485fc5a207
Author: Mike Frysinger  gentoo  org>
AuthorDate: Thu Apr 21 05:10:03 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Thu Apr 21 05:19:42 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62e2a921

net-misc/gsutil: drop old 4.x versions

 net-misc/gsutil/Manifest   |  3 --
 .../gsutil-4.15-use-friendy-version-checks.patch   | 24 --
 .../gsutil-4.16-use-friendy-version-checks.patch   | 24 --
 net-misc/gsutil/gsutil-4.15.ebuild | 54 --
 net-misc/gsutil/gsutil-4.16.ebuild | 53 -
 net-misc/gsutil/gsutil-4.17.ebuild | 53 -
 6 files changed, 211 deletions(-)

diff --git a/net-misc/gsutil/Manifest b/net-misc/gsutil/Manifest
index 6c02f11..0e51ff1 100644
--- a/net-misc/gsutil/Manifest
+++ b/net-misc/gsutil/Manifest
@@ -1,5 +1,2 @@
 DIST gsutil_3.42.tar.gz 1878904 SHA256 
50fc7acb7d1db8752f3eee106a3d8d65188107943e7cb30cfd3f94a9cfcdcf37 SHA512 
084aaf43a44528af0cdfd9bd22beeb5d6abff240c09843cf35016d685d51b854ed5b2837eaa50c97bb44d5e1a3cdccbae6688ef27aa13f2a5db6040bf501b381
 WHIRLPOOL 
5b0d0fb1d2446a7b8777f368f073fdb4f7ad2d6407735976c178a2727a2548bf28522e06469dd0b7df1578d5586bc152fba3520b66f88d706417947aa3aa5578
-DIST gsutil_4.15.tar.gz 2826243 SHA256 
faf481515be2ee0af2a04560ec207fe6253e9854804813eae1d800adbfd2a419 SHA512 
60cd516e354505d47267aa46b54d56373443e630d79c012df8712238fa63746de8b350993ea920ec9bc45b664f305136f2a2686640c72c246d550e2b558f
 WHIRLPOOL 
34c5ed0ff717c3749ffc76e31c1962b94ffe888091173ab0abfffd42e690bf8a37429fa2edfd5253e41c02781792182d8ff75161c89df538d5bad5138bddd54a
-DIST gsutil_4.16.tar.gz 2676340 SHA256 
4c2fc1b900b75ada9b7636cba00db35e55c5a1d40063ea222e3cc2335cb5dea7 SHA512 
5e0009d551eaf163169dc90b634bc2d3be5b1ac19bff5e9c69f9e7c977576b7b9cc334fce7d4b4f643b9b6e9feb6386ba81958321645dd0b43e4977c730cfedd
 WHIRLPOOL 
defbd62c81c3658eb500dbd6c4b6c3a7a8545e565551c32f2913c4281a97dbd56896632e6cdccfecd0c28b40507d13e67776549fb42eba98a4e6417e9b86886d
-DIST gsutil_4.17.tar.gz 2677212 SHA256 
bdb0037c74f425d0cbd3c70d5ed3777a44051840c4ccf950185f34a8c9eb079f SHA512 
a1a207aa7f1c145492d1b78bab2e9a486b729729c38f0be5db67149562673614ca8a3187fa7e8ecaaf099c4d9d4e3e1fe41e955b728b95e8bda084b8c1b524c8
 WHIRLPOOL 
99964c49b5e18cb0c3f9d1565bff8ded9e86610a19094be268c2408ea43eb121c6507187bc9e0c4a4af1733a4dd00233a73b015090f80b87b8cb2bb1b7609118
 DIST gsutil_4.18.tar.gz 2704520 SHA256 
b7f2b7fe2f14b3e5ffa0679507be8d84a0add268dff729de53d22b2f5b61ce24 SHA512 
74dd2898faa1615dbd7d560a7ed9f2a78788b2f1ce6e97fa5019c55c7827d93de1923f6985f210bb334e8064bdbd7d169f805ac7add722db0f0e20ff0f85494e
 WHIRLPOOL 
6188f1f4ae352a61e9ad4f67afa5773810519d9d96ad1a534dcd3a6ca58b914a336a4682438800bf242573a00a327f52d541810362f84a5104a165a8566dabd5

diff --git a/net-misc/gsutil/files/gsutil-4.15-use-friendy-version-checks.patch 
b/net-misc/gsutil/files/gsutil-4.15-use-friendy-version-checks.patch
deleted file mode 100644
index e97f7a5..000
--- a/net-misc/gsutil/files/gsutil-4.15-use-friendy-version-checks.patch
+++ /dev/null
@@ -1,24 +0,0 @@
 a/setup.py
-+++ b/setup.py
-@@ -35,10 +35,10 @@
- """
- 
- requires = [
--'boto==2.38.0',
-+'boto>=2.38.0',
- 'crcmod>=1.7',
- 'gcs-oauth2-boto-plugin>=1.9',
--'google-apitools==0.4.10',
-+'google-apitools>=0.4.10',
- 'httplib2>=0.8',
- 'oauth2client>=1.4.11',
- 'protorpc>=0.10.0',
-@@ -48,7 +48,7 @@
- 'six>=1.8.0',
- # 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 = [

diff --git a/net-misc/gsutil/files/gsutil-4.16-use-friendy-version-checks.patch 
b/net-misc/gsutil/files/gsutil-4.16-use-friendy-version-checks.patch
deleted file mode 100644
index 5f8b747..000
--- a/net-misc/gsutil/files/gsutil-4.16-use-friendy-version-checks.patch
+++ /dev/null
@@ -1,24 +0,0 @@
 a/setup.py
-+++ b/setup.py
-@@ -35,10 +35,10 @@
- """
- 
- requires = [
--'boto==2.38.0',
-+'boto>=2.38.0',
- 'crcmod>=1.7',
- 'gcs-oauth2-boto-plugin>=1.9',
--'google-apitools==0.4.12',
-+'google-apitools>=0.4.12',
- 'httplib2>=0.8',
- 'oauth2client>=1.5.2',
- 'pyOpenSSL>=0.13',
-@@ -48,7 +48,7 @@
- 'six>=1.9.0',
- # 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 = [

diff --git a/net-misc/gsutil/gsutil-4.15.ebuild 
b/net-misc/gsutil/gsutil-4.15.ebuild
deleted file mode 100644
index 94a5902..000
--- a/net-misc/gsutil/gsutil-4.15.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-PYTHON_COMPAT=( python2_7 )
-
-inhe

[gentoo-commits] repo/gentoo:master commit in: net-misc/gsutil/

2016-04-20 Thread Mike Frysinger
commit: 20ffc6f837067288142366dd1336940b4d11f81d
Author: Mike Frysinger  gentoo  org>
AuthorDate: Thu Apr 21 05:19:06 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Thu Apr 21 05:19:42 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20ffc6f8

net-misc/gsutil: block >=oauth2client-2 for now #580690

The oauth2client-2.x release broke APIs and gsutil hasn't yet upgraded.

 net-misc/gsutil/gsutil-4.18.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/net-misc/gsutil/gsutil-4.18.ebuild 
b/net-misc/gsutil/gsutil-4.18.ebuild
index 5722853..86367bd 100644
--- a/net-misc/gsutil/gsutil-4.18.ebuild
+++ b/net-misc/gsutil/gsutil-4.18.ebuild
@@ -17,6 +17,8 @@ SLOT="0"
 KEYWORDS="~amd64 ~arm ~x86"
 IUSE=""
 
+# The oauth2client-2 dep sucks.
+# https://github.com/GoogleCloudPlatform/gsutil/issues/355
 RDEPEND="${PYTHON_DEPS}
>=dev-python/boto-2.38.0[${PYTHON_USEDEP}]
>=dev-python/crcmod-1.7[${PYTHON_USEDEP}]
@@ -25,6 +27,7 @@ RDEPEND="${PYTHON_DEPS}
>=dev-python/gcs-oauth2-boto-plugin-1.12[${PYTHON_USEDEP}]
>=dev-python/google-apitools-0.5.2[${PYTHON_USEDEP}]
>=dev-python/oauth2client-1.5.2[${PYTHON_USEDEP}]
+   =dev-python/python-gflags-2.0[${PYTHON_USEDEP}]
>=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}]
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: net-misc/gsutil/files/, net-misc/gsutil/

2016-03-28 Thread Mike Frysinger
commit: 3cc33fb8a3b077e193c8368159fef2f89c7b2f2a
Author: Mike Frysinger  gentoo  org>
AuthorDate: Mon Mar 28 18:57:46 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Mon Mar 28 19:10:57 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cc33fb8

net-misc/gsutil: version bump to 4.18

 net-misc/gsutil/Manifest   |  1 +
 .../gsutil-4.18-use-friendy-version-checks.patch   | 25 ++
 net-misc/gsutil/gsutil-4.18.ebuild | 53 ++
 3 files changed, 79 insertions(+)

diff --git a/net-misc/gsutil/Manifest b/net-misc/gsutil/Manifest
index be90dbf..6c02f11 100644
--- a/net-misc/gsutil/Manifest
+++ b/net-misc/gsutil/Manifest
@@ -2,3 +2,4 @@ DIST gsutil_3.42.tar.gz 1878904 SHA256 
50fc7acb7d1db8752f3eee106a3d8d65188107943
 DIST gsutil_4.15.tar.gz 2826243 SHA256 
faf481515be2ee0af2a04560ec207fe6253e9854804813eae1d800adbfd2a419 SHA512 
60cd516e354505d47267aa46b54d56373443e630d79c012df8712238fa63746de8b350993ea920ec9bc45b664f305136f2a2686640c72c246d550e2b558f
 WHIRLPOOL 
34c5ed0ff717c3749ffc76e31c1962b94ffe888091173ab0abfffd42e690bf8a37429fa2edfd5253e41c02781792182d8ff75161c89df538d5bad5138bddd54a
 DIST gsutil_4.16.tar.gz 2676340 SHA256 
4c2fc1b900b75ada9b7636cba00db35e55c5a1d40063ea222e3cc2335cb5dea7 SHA512 
5e0009d551eaf163169dc90b634bc2d3be5b1ac19bff5e9c69f9e7c977576b7b9cc334fce7d4b4f643b9b6e9feb6386ba81958321645dd0b43e4977c730cfedd
 WHIRLPOOL 
defbd62c81c3658eb500dbd6c4b6c3a7a8545e565551c32f2913c4281a97dbd56896632e6cdccfecd0c28b40507d13e67776549fb42eba98a4e6417e9b86886d
 DIST gsutil_4.17.tar.gz 2677212 SHA256 
bdb0037c74f425d0cbd3c70d5ed3777a44051840c4ccf950185f34a8c9eb079f SHA512 
a1a207aa7f1c145492d1b78bab2e9a486b729729c38f0be5db67149562673614ca8a3187fa7e8ecaaf099c4d9d4e3e1fe41e955b728b95e8bda084b8c1b524c8
 WHIRLPOOL 
99964c49b5e18cb0c3f9d1565bff8ded9e86610a19094be268c2408ea43eb121c6507187bc9e0c4a4af1733a4dd00233a73b015090f80b87b8cb2bb1b7609118
+DIST gsutil_4.18.tar.gz 2704520 SHA256 
b7f2b7fe2f14b3e5ffa0679507be8d84a0add268dff729de53d22b2f5b61ce24 SHA512 
74dd2898faa1615dbd7d560a7ed9f2a78788b2f1ce6e97fa5019c55c7827d93de1923f6985f210bb334e8064bdbd7d169f805ac7add722db0f0e20ff0f85494e
 WHIRLPOOL 
6188f1f4ae352a61e9ad4f67afa5773810519d9d96ad1a534dcd3a6ca58b914a336a4682438800bf242573a00a327f52d541810362f84a5104a165a8566dabd5

diff --git a/net-misc/gsutil/files/gsutil-4.18-use-friendy-version-checks.patch 
b/net-misc/gsutil/files/gsutil-4.18-use-friendy-version-checks.patch
new file mode 100644
index 000..ebc8832
--- /dev/null
+++ b/net-misc/gsutil/files/gsutil-4.18-use-friendy-version-checks.patch
@@ -0,0 +1,25 @@
+--- a/setup.py
 b/setup.py
+@@ -35,10 +35,10 @@
+ """
+ 
+ requires = [
+-'boto==2.38.0',
++'boto>=2.38.0',
+ 'crcmod>=1.7',
+ 'gcs-oauth2-boto-plugin>=1.12',
+-'google-apitools==0.5.2',
++'google-apitools>=0.5.2',
+ 'httplib2>=0.8',
+-'oauth2client==1.5.2',
++'oauth2client>=1.5.2',
+ 'pyOpenSSL>=0.13',
+@@ -48,7 +48,7 @@
+ 'six>=1.9.0',
+ # 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 = [

diff --git a/net-misc/gsutil/gsutil-4.18.ebuild 
b/net-misc/gsutil/gsutil-4.18.ebuild
new file mode 100644
index 000..5722853
--- /dev/null
+++ b/net-misc/gsutil/gsutil-4.18.ebuild
@@ -0,0 +1,53 @@
+# 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
+
+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 ~arm ~x86"
+IUSE=""
+
+RDEPEND="${PYTHON_DEPS}
+   >=dev-python/boto-2.38.0[${PYTHON_USEDEP}]
+   >=dev-python/crcmod-1.7[${PYTHON_USEDEP}]
+   >=dev-python/httplib2-0.8[${PYTHON_USEDEP}]
+   >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
+   >=dev-python/gcs-oauth2-boto-plugin-1.12[${PYTHON_USEDEP}]
+   >=dev-python/google-apitools-0.5.2[${PYTHON_USEDEP}]
+   >=dev-python/oauth2client-1.5.2[${PYTHON_USEDEP}]
+   >=dev-python/python-gflags-2.0[${PYTHON_USEDEP}]
+   >=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
+   >=dev-python/PySocks-1.01[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]"
+
+S=${WORKDIR}/${PN}
+
+DOCS=( README.md CHANGES.md )
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.18-use-friendy-version-checks.patch
+)
+
+python_prepare_all() {
+   distutils-r1_python_prepare_all
+   sed \
+   -e '/SocksiPy-branch/d' \
+   -i setup.py || die
+}
+
+python_test() {
+   export BOTO_CONFIG=${FILESDIR}/dummy.bo

[gentoo-commits] repo/gentoo:master commit in: net-misc/gsutil/

2016-03-06 Thread Justin Lecher
commit: e1daca1ab383f70d06276f900950029de1b74c2a
Author: Justin Lecher  gentoo  org>
AuthorDate: Sun Mar  6 09:28:01 2016 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Sun Mar  6 09:28:46 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1daca1a

net-misc/gsutil: Patch before sed in sources

Gentoo-Bugs: https://bugs.gentoo.org/show_bug.cgi?id=576434

Signed-off-by: Justin Lecher  gentoo.org>

 net-misc/gsutil/gsutil-3.42.ebuild | 3 +--
 net-misc/gsutil/gsutil-4.15.ebuild | 3 +--
 net-misc/gsutil/gsutil-4.16.ebuild | 3 +--
 net-misc/gsutil/gsutil-4.17.ebuild | 3 +--
 4 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/net-misc/gsutil/gsutil-3.42.ebuild 
b/net-misc/gsutil/gsutil-3.42.ebuild
index 19674d0..9becc05 100644
--- a/net-misc/gsutil/gsutil-3.42.ebuild
+++ b/net-misc/gsutil/gsutil-3.42.ebuild
@@ -40,11 +40,10 @@ PATCHES=(
 )
 
 python_prepare_all() {
+   distutils-r1_python_prepare_all
sed \
-e '/SocksiPy-branch/d' \
-i setup.py || die
-
-   distutils-r1_python_prepare_all
 }
 
 python_test() {

diff --git a/net-misc/gsutil/gsutil-4.15.ebuild 
b/net-misc/gsutil/gsutil-4.15.ebuild
index 8a26913..94a5902 100644
--- a/net-misc/gsutil/gsutil-4.15.ebuild
+++ b/net-misc/gsutil/gsutil-4.15.ebuild
@@ -42,11 +42,10 @@ PATCHES=(
 )
 
 python_prepare_all() {
+   distutils-r1_python_prepare_all
sed \
-e '/SocksiPy-branch/d' \
-i setup.py || die
-
-   distutils-r1_python_prepare_all
 }
 
 python_test() {

diff --git a/net-misc/gsutil/gsutil-4.16.ebuild 
b/net-misc/gsutil/gsutil-4.16.ebuild
index b2ee088..687b8c9 100644
--- a/net-misc/gsutil/gsutil-4.16.ebuild
+++ b/net-misc/gsutil/gsutil-4.16.ebuild
@@ -41,11 +41,10 @@ PATCHES=(
 )
 
 python_prepare_all() {
+   distutils-r1_python_prepare_all
sed \
-e '/SocksiPy-branch/d' \
-i setup.py || die
-
-   distutils-r1_python_prepare_all
 }
 
 python_test() {

diff --git a/net-misc/gsutil/gsutil-4.17.ebuild 
b/net-misc/gsutil/gsutil-4.17.ebuild
index b2ee088..687b8c9 100644
--- a/net-misc/gsutil/gsutil-4.17.ebuild
+++ b/net-misc/gsutil/gsutil-4.17.ebuild
@@ -41,11 +41,10 @@ PATCHES=(
 )
 
 python_prepare_all() {
+   distutils-r1_python_prepare_all
sed \
-e '/SocksiPy-branch/d' \
-i setup.py || die
-
-   distutils-r1_python_prepare_all
 }
 
 python_test() {



[gentoo-commits] repo/gentoo:master commit in: net-misc/gsutil/

2016-03-02 Thread Justin Lecher
commit: d593533fde76a219ed69143295c3cb525af43695
Author: Justin Lecher  gentoo  org>
AuthorDate: Wed Mar  2 20:36:33 2016 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Wed Mar  2 20:44:39 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d593533f

net-misc/gsutil: Drop residual SocksiPy-branch reference

Gentoo-Bugs: https://bugs.gentoo.org/show_bug.cgi?id=575720

Signed-off-by: Justin Lecher  gentoo.org>

 net-misc/gsutil/gsutil-3.42.ebuild |  9 +
 net-misc/gsutil/gsutil-4.15.ebuild | 11 ++-
 net-misc/gsutil/gsutil-4.16.ebuild |  9 +
 net-misc/gsutil/gsutil-4.17.ebuild |  9 +
 4 files changed, 37 insertions(+), 1 deletion(-)

diff --git a/net-misc/gsutil/gsutil-3.42.ebuild 
b/net-misc/gsutil/gsutil-3.42.ebuild
index 7147e47..19674d0 100644
--- a/net-misc/gsutil/gsutil-3.42.ebuild
+++ b/net-misc/gsutil/gsutil-3.42.ebuild
@@ -3,6 +3,7 @@
 # $Id$
 
 EAPI="5"
+
 PYTHON_COMPAT=( python2_7 )
 
 inherit distutils-r1
@@ -38,6 +39,14 @@ PATCHES=(
"${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"

diff --git a/net-misc/gsutil/gsutil-4.15.ebuild 
b/net-misc/gsutil/gsutil-4.15.ebuild
index e8598a1..8a26913 100644
--- a/net-misc/gsutil/gsutil-4.15.ebuild
+++ b/net-misc/gsutil/gsutil-4.15.ebuild
@@ -1,8 +1,9 @@
-# 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
@@ -40,6 +41,14 @@ PATCHES=(
"${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"

diff --git a/net-misc/gsutil/gsutil-4.16.ebuild 
b/net-misc/gsutil/gsutil-4.16.ebuild
index 1178306..b2ee088 100644
--- a/net-misc/gsutil/gsutil-4.16.ebuild
+++ b/net-misc/gsutil/gsutil-4.16.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"

diff --git a/net-misc/gsutil/gsutil-4.17.ebuild 
b/net-misc/gsutil/gsutil-4.17.ebuild
index 1178306..b2ee088 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"



[gentoo-commits] repo/gentoo:master commit in: net-misc/gsutil/

2016-02-18 Thread Mike Frysinger
commit: 47fb0af89d7dbf292dc84f35af65f7df622f7d36
Author: Mike Frysinger  gentoo  org>
AuthorDate: Thu Feb 18 19:36:35 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Thu Feb 18 19:36:47 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47fb0af8

net-misc/gsutil: version bump to 4.17

 net-misc/gsutil/Manifest   |  1 +
 net-misc/gsutil/gsutil-4.17.ebuild | 45 ++
 2 files changed, 46 insertions(+)

diff --git a/net-misc/gsutil/Manifest b/net-misc/gsutil/Manifest
index 70e4b17..be90dbf 100644
--- a/net-misc/gsutil/Manifest
+++ b/net-misc/gsutil/Manifest
@@ -1,3 +1,4 @@
 DIST gsutil_3.42.tar.gz 1878904 SHA256 
50fc7acb7d1db8752f3eee106a3d8d65188107943e7cb30cfd3f94a9cfcdcf37 SHA512 
084aaf43a44528af0cdfd9bd22beeb5d6abff240c09843cf35016d685d51b854ed5b2837eaa50c97bb44d5e1a3cdccbae6688ef27aa13f2a5db6040bf501b381
 WHIRLPOOL 
5b0d0fb1d2446a7b8777f368f073fdb4f7ad2d6407735976c178a2727a2548bf28522e06469dd0b7df1578d5586bc152fba3520b66f88d706417947aa3aa5578
 DIST gsutil_4.15.tar.gz 2826243 SHA256 
faf481515be2ee0af2a04560ec207fe6253e9854804813eae1d800adbfd2a419 SHA512 
60cd516e354505d47267aa46b54d56373443e630d79c012df8712238fa63746de8b350993ea920ec9bc45b664f305136f2a2686640c72c246d550e2b558f
 WHIRLPOOL 
34c5ed0ff717c3749ffc76e31c1962b94ffe888091173ab0abfffd42e690bf8a37429fa2edfd5253e41c02781792182d8ff75161c89df538d5bad5138bddd54a
 DIST gsutil_4.16.tar.gz 2676340 SHA256 
4c2fc1b900b75ada9b7636cba00db35e55c5a1d40063ea222e3cc2335cb5dea7 SHA512 
5e0009d551eaf163169dc90b634bc2d3be5b1ac19bff5e9c69f9e7c977576b7b9cc334fce7d4b4f643b9b6e9feb6386ba81958321645dd0b43e4977c730cfedd
 WHIRLPOOL 
defbd62c81c3658eb500dbd6c4b6c3a7a8545e565551c32f2913c4281a97dbd56896632e6cdccfecd0c28b40507d13e67776549fb42eba98a4e6417e9b86886d
+DIST gsutil_4.17.tar.gz 2677212 SHA256 
bdb0037c74f425d0cbd3c70d5ed3777a44051840c4ccf950185f34a8c9eb079f SHA512 
a1a207aa7f1c145492d1b78bab2e9a486b729729c38f0be5db67149562673614ca8a3187fa7e8ecaaf099c4d9d4e3e1fe41e955b728b95e8bda084b8c1b524c8
 WHIRLPOOL 
99964c49b5e18cb0c3f9d1565bff8ded9e86610a19094be268c2408ea43eb121c6507187bc9e0c4a4af1733a4dd00233a73b015090f80b87b8cb2bb1b7609118

diff --git a/net-misc/gsutil/gsutil-4.17.ebuild 
b/net-misc/gsutil/gsutil-4.17.ebuild
new file mode 100644
index 000..1178306
--- /dev/null
+++ b/net-misc/gsutil/gsutil-4.17.ebuild
@@ -0,0 +1,45 @@
+# 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
+
+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 ~arm ~x86"
+IUSE=""
+
+RDEPEND="${PYTHON_DEPS}
+   >=dev-python/boto-2.38.0[${PYTHON_USEDEP}]
+   >=dev-python/crcmod-1.7[${PYTHON_USEDEP}]
+   >=dev-python/httplib2-0.8[${PYTHON_USEDEP}]
+   >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
+   >=dev-python/gcs-oauth2-boto-plugin-1.9[${PYTHON_USEDEP}]
+   >=dev-python/google-apitools-0.4.12[${PYTHON_USEDEP}]
+   >=dev-python/oauth2client-1.5.2[${PYTHON_USEDEP}]
+   >=dev-python/python-gflags-2.0[${PYTHON_USEDEP}]
+   >=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
+   >=dev-python/PySocks-1.01[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]"
+
+S=${WORKDIR}/${PN}
+
+DOCS=( README.md CHANGES.md )
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.16-use-friendy-version-checks.patch
+)
+
+python_test() {
+   export BOTO_CONFIG=${FILESDIR}/dummy.boto
+   ${PYTHON} gslib/__main__.py test -u || die "tests failed"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/gsutil/, net-misc/gsutil/files/

2016-01-15 Thread Mike Frysinger
commit: f50afd798d56fc1787cf751e749d7085eca7
Author: Mike Frysinger  gentoo  org>
AuthorDate: Fri Jan 15 18:25:03 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Fri Jan 15 18:25:58 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f50afd79

net-misc/gsutil: version bump to 4.16

 net-misc/gsutil/Manifest   |  1 +
 .../gsutil-4.16-use-friendy-version-checks.patch   | 24 
 net-misc/gsutil/gsutil-4.16.ebuild | 45 ++
 3 files changed, 70 insertions(+)

diff --git a/net-misc/gsutil/Manifest b/net-misc/gsutil/Manifest
index 3c58c6d..d9d1914 100644
--- a/net-misc/gsutil/Manifest
+++ b/net-misc/gsutil/Manifest
@@ -2,3 +2,4 @@ DIST gsutil_3.42.tar.gz 1878904 SHA256 
50fc7acb7d1db8752f3eee106a3d8d65188107943
 DIST gsutil_4.13.tar.gz 2790817 SHA256 
f6fa8a77ff0475ba4898b2a4453ed3ead551499485000420f12bc4f7cfbcc09e SHA512 
b146c8ce6fba09b07a752842d1ca3f83c74250553a4dae50ce32bf8ece2ded366e1b60d5c0af3727e2f5ed8d0766c9345bbf1056c3af571a26d2ed76187b57c9
 WHIRLPOOL 
5a989c51a9e550523713dc658255036a044f0e88dfd3869ca362d573bae6ff83004bb3249674b15fe6082b666d3c598a6f133c9b2e3c7e373a20f5db54b6d361
 DIST gsutil_4.14.tar.gz 2824826 SHA256 
225d0a58c0a5ee98830efc7d5524ec4d4779304c08c80ecb608d83d9b209b4cb SHA512 
a74993406786fe33b17539f62e0384084b692793746bb78b17fbca8b6a3ff840ab6d500cd4b0911f1cf176b3629ffc7f879dd056d0324e601c3a4dc499a9dedd
 WHIRLPOOL 
bd7e85887f343b96535cc4f33ddf26b847bc4275de25644582123c444fb6748cf78b67c614eec94faf38c3aa474a3ba362579e6190566bfd7b63919191658d46
 DIST gsutil_4.15.tar.gz 2826243 SHA256 
faf481515be2ee0af2a04560ec207fe6253e9854804813eae1d800adbfd2a419 SHA512 
60cd516e354505d47267aa46b54d56373443e630d79c012df8712238fa63746de8b350993ea920ec9bc45b664f305136f2a2686640c72c246d550e2b558f
 WHIRLPOOL 
34c5ed0ff717c3749ffc76e31c1962b94ffe888091173ab0abfffd42e690bf8a37429fa2edfd5253e41c02781792182d8ff75161c89df538d5bad5138bddd54a
+DIST gsutil_4.16.tar.gz 2676340 SHA256 
4c2fc1b900b75ada9b7636cba00db35e55c5a1d40063ea222e3cc2335cb5dea7 SHA512 
5e0009d551eaf163169dc90b634bc2d3be5b1ac19bff5e9c69f9e7c977576b7b9cc334fce7d4b4f643b9b6e9feb6386ba81958321645dd0b43e4977c730cfedd
 WHIRLPOOL 
defbd62c81c3658eb500dbd6c4b6c3a7a8545e565551c32f2913c4281a97dbd56896632e6cdccfecd0c28b40507d13e67776549fb42eba98a4e6417e9b86886d

diff --git a/net-misc/gsutil/files/gsutil-4.16-use-friendy-version-checks.patch 
b/net-misc/gsutil/files/gsutil-4.16-use-friendy-version-checks.patch
new file mode 100644
index 000..5f8b747
--- /dev/null
+++ b/net-misc/gsutil/files/gsutil-4.16-use-friendy-version-checks.patch
@@ -0,0 +1,24 @@
+--- a/setup.py
 b/setup.py
+@@ -35,10 +35,10 @@
+ """
+ 
+ requires = [
+-'boto==2.38.0',
++'boto>=2.38.0',
+ 'crcmod>=1.7',
+ 'gcs-oauth2-boto-plugin>=1.9',
+-'google-apitools==0.4.12',
++'google-apitools>=0.4.12',
+ 'httplib2>=0.8',
+ 'oauth2client>=1.5.2',
+ 'pyOpenSSL>=0.13',
+@@ -48,7 +48,7 @@
+ 'six>=1.9.0',
+ # 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 = [

diff --git a/net-misc/gsutil/gsutil-4.16.ebuild 
b/net-misc/gsutil/gsutil-4.16.ebuild
new file mode 100644
index 000..9ecdf66
--- /dev/null
+++ b/net-misc/gsutil/gsutil-4.16.ebuild
@@ -0,0 +1,45 @@
+# 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
+
+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 ~arm ~x86"
+IUSE=""
+
+RDEPEND="${PYTHON_DEPS}
+   >=dev-python/boto-2.38.0[${PYTHON_USEDEP}]
+   >=dev-python/crcmod-1.7[${PYTHON_USEDEP}]
+   >=dev-python/httplib2-0.8[${PYTHON_USEDEP}]
+   >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
+   >=dev-python/gcs-oauth2-boto-plugin-1.9[${PYTHON_USEDEP}]
+   >=dev-python/google-apitools-0.4.12[${PYTHON_USEDEP}]
+   >=dev-python/oauth2client-1.5.2[${PYTHON_USEDEP}]
+   >=dev-python/python-gflags-2.0[${PYTHON_USEDEP}]
+   >=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
+   >=dev-python/socksipy-1.01[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]"
+
+S=${WORKDIR}/${PN}
+
+DOCS=( README.md CHANGES.md )
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.16-use-friendy-version-checks.patch
+)
+
+python_test() {
+   export BOTO_CONFIG=${FILESDIR}/dummy.boto
+   ${PYTHON} gslib/__main__.py test -u || die "tests failed"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/gsutil/, net-misc/gsutil/files/

2016-01-15 Thread Mike Frysinger
commit: e8ce2fbbc4fee5b045ba4d89ec7b6e453e8998a9
Author: Mike Frysinger  gentoo  org>
AuthorDate: Fri Jan 15 18:25:54 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Fri Jan 15 18:25:58 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8ce2fbb

net-misc/gsutil: drop some old versions

 net-misc/gsutil/Manifest   |  2 -
 .../gsutil-4.13-use-friendy-version-checks.patch   | 24 ---
 .../gsutil-4.14-use-friendy-version-checks.patch   | 24 ---
 net-misc/gsutil/gsutil-4.13.ebuild | 46 --
 net-misc/gsutil/gsutil-4.14.ebuild | 46 --
 5 files changed, 142 deletions(-)

diff --git a/net-misc/gsutil/Manifest b/net-misc/gsutil/Manifest
index d9d1914..70e4b17 100644
--- a/net-misc/gsutil/Manifest
+++ b/net-misc/gsutil/Manifest
@@ -1,5 +1,3 @@
 DIST gsutil_3.42.tar.gz 1878904 SHA256 
50fc7acb7d1db8752f3eee106a3d8d65188107943e7cb30cfd3f94a9cfcdcf37 SHA512 
084aaf43a44528af0cdfd9bd22beeb5d6abff240c09843cf35016d685d51b854ed5b2837eaa50c97bb44d5e1a3cdccbae6688ef27aa13f2a5db6040bf501b381
 WHIRLPOOL 
5b0d0fb1d2446a7b8777f368f073fdb4f7ad2d6407735976c178a2727a2548bf28522e06469dd0b7df1578d5586bc152fba3520b66f88d706417947aa3aa5578
-DIST gsutil_4.13.tar.gz 2790817 SHA256 
f6fa8a77ff0475ba4898b2a4453ed3ead551499485000420f12bc4f7cfbcc09e SHA512 
b146c8ce6fba09b07a752842d1ca3f83c74250553a4dae50ce32bf8ece2ded366e1b60d5c0af3727e2f5ed8d0766c9345bbf1056c3af571a26d2ed76187b57c9
 WHIRLPOOL 
5a989c51a9e550523713dc658255036a044f0e88dfd3869ca362d573bae6ff83004bb3249674b15fe6082b666d3c598a6f133c9b2e3c7e373a20f5db54b6d361
-DIST gsutil_4.14.tar.gz 2824826 SHA256 
225d0a58c0a5ee98830efc7d5524ec4d4779304c08c80ecb608d83d9b209b4cb SHA512 
a74993406786fe33b17539f62e0384084b692793746bb78b17fbca8b6a3ff840ab6d500cd4b0911f1cf176b3629ffc7f879dd056d0324e601c3a4dc499a9dedd
 WHIRLPOOL 
bd7e85887f343b96535cc4f33ddf26b847bc4275de25644582123c444fb6748cf78b67c614eec94faf38c3aa474a3ba362579e6190566bfd7b63919191658d46
 DIST gsutil_4.15.tar.gz 2826243 SHA256 
faf481515be2ee0af2a04560ec207fe6253e9854804813eae1d800adbfd2a419 SHA512 
60cd516e354505d47267aa46b54d56373443e630d79c012df8712238fa63746de8b350993ea920ec9bc45b664f305136f2a2686640c72c246d550e2b558f
 WHIRLPOOL 
34c5ed0ff717c3749ffc76e31c1962b94ffe888091173ab0abfffd42e690bf8a37429fa2edfd5253e41c02781792182d8ff75161c89df538d5bad5138bddd54a
 DIST gsutil_4.16.tar.gz 2676340 SHA256 
4c2fc1b900b75ada9b7636cba00db35e55c5a1d40063ea222e3cc2335cb5dea7 SHA512 
5e0009d551eaf163169dc90b634bc2d3be5b1ac19bff5e9c69f9e7c977576b7b9cc334fce7d4b4f643b9b6e9feb6386ba81958321645dd0b43e4977c730cfedd
 WHIRLPOOL 
defbd62c81c3658eb500dbd6c4b6c3a7a8545e565551c32f2913c4281a97dbd56896632e6cdccfecd0c28b40507d13e67776549fb42eba98a4e6417e9b86886d

diff --git a/net-misc/gsutil/files/gsutil-4.13-use-friendy-version-checks.patch 
b/net-misc/gsutil/files/gsutil-4.13-use-friendy-version-checks.patch
deleted file mode 100644
index fef0858..000
--- a/net-misc/gsutil/files/gsutil-4.13-use-friendy-version-checks.patch
+++ /dev/null
@@ -1,24 +0,0 @@
 a/setup.py
-+++ b/setup.py
-@@ -35,10 +35,10 @@
- """
- 
- requires = [
--'boto==2.38.0',
-+'boto>=2.38.0',
- 'crcmod>=1.7',
- 'gcs-oauth2-boto-plugin>=1.9',
--'google-apitools==0.4.8',
-+'google-apitools>=0.4.8',
- 'httplib2>=0.8',
- 'oauth2client>=1.4.11',
- 'protorpc>=0.10.0',
-@@ -48,7 +48,7 @@
- 'six>=1.8.0',
- # 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 = [

diff --git a/net-misc/gsutil/files/gsutil-4.14-use-friendy-version-checks.patch 
b/net-misc/gsutil/files/gsutil-4.14-use-friendy-version-checks.patch
deleted file mode 100644
index 2ca1c81..000
--- a/net-misc/gsutil/files/gsutil-4.14-use-friendy-version-checks.patch
+++ /dev/null
@@ -1,24 +0,0 @@
 a/setup.py
-+++ b/setup.py
-@@ -35,10 +35,10 @@
- """
- 
- requires = [
--'boto==2.38.0',
-+'boto>=2.38.0',
- 'crcmod>=1.7',
- 'gcs-oauth2-boto-plugin>=1.9',
--'google-apitools==0.4.9',
-+'google-apitools>=0.4.9',
- 'httplib2>=0.8',
- 'oauth2client>=1.4.11',
- 'protorpc>=0.10.0',
-@@ -48,7 +48,7 @@
- 'six>=1.8.0',
- # 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 = [

diff --git a/net-misc/gsutil/gsutil-4.13.ebuild 
b/net-misc/gsutil/gsutil-4.13.ebuild
deleted file mode 100644
index 758792c..000
--- a/net-misc/gsutil/gsutil-4.13.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1
-
-DESCRIPTION="command line tool for interacting with cloud st

[gentoo-commits] repo/gentoo:master commit in: net-misc/gsutil/, net-misc/gsutil/files/

2015-09-12 Thread Mike Frysinger
commit: a70e60fc646bde2700ecc1e6566289b969648b75
Author: Mike Frysinger  gentoo  org>
AuthorDate: Sat Sep 12 21:25:07 2015 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Sat Sep 12 21:25:17 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a70e60fc

net-misc/gsutil: version bump to 4.15

 net-misc/gsutil/Manifest   |  1 +
 .../gsutil-4.15-use-friendy-version-checks.patch   | 24 +++
 net-misc/gsutil/gsutil-4.15.ebuild | 46 ++
 3 files changed, 71 insertions(+)

diff --git a/net-misc/gsutil/Manifest b/net-misc/gsutil/Manifest
index ff1cac9..3c58c6d 100644
--- a/net-misc/gsutil/Manifest
+++ b/net-misc/gsutil/Manifest
@@ -1,3 +1,4 @@
 DIST gsutil_3.42.tar.gz 1878904 SHA256 
50fc7acb7d1db8752f3eee106a3d8d65188107943e7cb30cfd3f94a9cfcdcf37 SHA512 
084aaf43a44528af0cdfd9bd22beeb5d6abff240c09843cf35016d685d51b854ed5b2837eaa50c97bb44d5e1a3cdccbae6688ef27aa13f2a5db6040bf501b381
 WHIRLPOOL 
5b0d0fb1d2446a7b8777f368f073fdb4f7ad2d6407735976c178a2727a2548bf28522e06469dd0b7df1578d5586bc152fba3520b66f88d706417947aa3aa5578
 DIST gsutil_4.13.tar.gz 2790817 SHA256 
f6fa8a77ff0475ba4898b2a4453ed3ead551499485000420f12bc4f7cfbcc09e SHA512 
b146c8ce6fba09b07a752842d1ca3f83c74250553a4dae50ce32bf8ece2ded366e1b60d5c0af3727e2f5ed8d0766c9345bbf1056c3af571a26d2ed76187b57c9
 WHIRLPOOL 
5a989c51a9e550523713dc658255036a044f0e88dfd3869ca362d573bae6ff83004bb3249674b15fe6082b666d3c598a6f133c9b2e3c7e373a20f5db54b6d361
 DIST gsutil_4.14.tar.gz 2824826 SHA256 
225d0a58c0a5ee98830efc7d5524ec4d4779304c08c80ecb608d83d9b209b4cb SHA512 
a74993406786fe33b17539f62e0384084b692793746bb78b17fbca8b6a3ff840ab6d500cd4b0911f1cf176b3629ffc7f879dd056d0324e601c3a4dc499a9dedd
 WHIRLPOOL 
bd7e85887f343b96535cc4f33ddf26b847bc4275de25644582123c444fb6748cf78b67c614eec94faf38c3aa474a3ba362579e6190566bfd7b63919191658d46
+DIST gsutil_4.15.tar.gz 2826243 SHA256 
faf481515be2ee0af2a04560ec207fe6253e9854804813eae1d800adbfd2a419 SHA512 
60cd516e354505d47267aa46b54d56373443e630d79c012df8712238fa63746de8b350993ea920ec9bc45b664f305136f2a2686640c72c246d550e2b558f
 WHIRLPOOL 
34c5ed0ff717c3749ffc76e31c1962b94ffe888091173ab0abfffd42e690bf8a37429fa2edfd5253e41c02781792182d8ff75161c89df538d5bad5138bddd54a

diff --git a/net-misc/gsutil/files/gsutil-4.15-use-friendy-version-checks.patch 
b/net-misc/gsutil/files/gsutil-4.15-use-friendy-version-checks.patch
new file mode 100644
index 000..e97f7a5
--- /dev/null
+++ b/net-misc/gsutil/files/gsutil-4.15-use-friendy-version-checks.patch
@@ -0,0 +1,24 @@
+--- a/setup.py
 b/setup.py
+@@ -35,10 +35,10 @@
+ """
+ 
+ requires = [
+-'boto==2.38.0',
++'boto>=2.38.0',
+ 'crcmod>=1.7',
+ 'gcs-oauth2-boto-plugin>=1.9',
+-'google-apitools==0.4.10',
++'google-apitools>=0.4.10',
+ 'httplib2>=0.8',
+ 'oauth2client>=1.4.11',
+ 'protorpc>=0.10.0',
+@@ -48,7 +48,7 @@
+ 'six>=1.8.0',
+ # 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 = [

diff --git a/net-misc/gsutil/gsutil-4.15.ebuild 
b/net-misc/gsutil/gsutil-4.15.ebuild
new file mode 100644
index 000..f16bb00
--- /dev/null
+++ b/net-misc/gsutil/gsutil-4.15.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+PYTHON_COMPAT=( python2_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 ~arm ~x86"
+IUSE=""
+
+RDEPEND="${PYTHON_DEPS}
+   >=dev-python/boto-2.38.0[${PYTHON_USEDEP}]
+   >=dev-python/crcmod-1.7[${PYTHON_USEDEP}]
+   >=dev-python/httplib2-0.8[${PYTHON_USEDEP}]
+   >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
+   >=dev-python/gcs-oauth2-boto-plugin-1.9[${PYTHON_USEDEP}]
+   >=dev-python/google-apitools-0.4.10[${PYTHON_USEDEP}]
+   >=dev-python/oauth2client-1.4.11[${PYTHON_USEDEP}]
+   >=dev-python/protorpc-0.10.0[${PYTHON_USEDEP}]
+   >=dev-python/python-gflags-2.0[${PYTHON_USEDEP}]
+   >=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
+   >=dev-python/socksipy-1.01[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]"
+
+S=${WORKDIR}/${PN}
+
+DOCS=( README.md CHANGES.md )
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.15-use-friendy-version-checks.patch
+)
+
+python_test() {
+   export BOTO_CONFIG=${FILESDIR}/dummy.boto
+   ${PYTHON} gslib/__main__.py test -u || die "tests failed"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/gsutil/files/, net-misc/gsutil/

2015-08-29 Thread Mike Frysinger
commit: 6a3eadcf8c0517459e4689f9c7ed319bece514a3
Author: Mike Frysinger  gentoo  org>
AuthorDate: Sun Aug 30 06:04:54 2015 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Sun Aug 30 06:04:54 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a3eadcf

net-misc/gsutil: drop old

 net-misc/gsutil/Manifest   | 13 -
 .../gsutil-3.37-use-friendy-version-checks.patch   | 20 
 .../gsutil-3.38-use-friendy-version-checks.patch   | 20 
 .../gsutil-4.4-use-friendy-version-checks.patch| 22 
 .../gsutil-4.7-drop-http_proxy-clearing.patch  | 36 -
 .../gsutil-4.7-use-friendy-version-checks.patch| 22 
 net-misc/gsutil/files/gsutil-system-boto.patch | 23 -
 net-misc/gsutil/gsutil-3.14.ebuild | 60 --
 net-misc/gsutil/gsutil-3.18.ebuild | 60 --
 net-misc/gsutil/gsutil-3.21.ebuild | 57 
 net-misc/gsutil/gsutil-3.37.ebuild | 44 
 net-misc/gsutil/gsutil-3.38.ebuild | 44 
 net-misc/gsutil/gsutil-3.7.ebuild  | 60 --
 net-misc/gsutil/gsutil-4.11.ebuild | 44 
 net-misc/gsutil/gsutil-4.12.ebuild | 46 -
 net-misc/gsutil/gsutil-4.4.ebuild  | 44 
 net-misc/gsutil/gsutil-4.5.ebuild  | 44 
 net-misc/gsutil/gsutil-4.6.ebuild  | 44 
 net-misc/gsutil/gsutil-4.7.ebuild  | 45 
 net-misc/gsutil/gsutil-4.8.ebuild  | 44 
 20 files changed, 792 deletions(-)

diff --git a/net-misc/gsutil/Manifest b/net-misc/gsutil/Manifest
index a44edba..a0f84c8 100644
--- a/net-misc/gsutil/Manifest
+++ b/net-misc/gsutil/Manifest
@@ -1,15 +1,2 @@
-DIST gsutil_3.14.tar.gz 755999 SHA256 
39a0e85cf569c60ab0cabdcb574ee4a3bb31d11beb819fbe33594260d8804773 SHA512 
01d6f83e21f148f7dd581f0a4132be7ceb70e069ccc3bf5fabd85e1e6ed68b422288878a57ff4477d279c5984c7b203107997a7af3f90d0924b09604b6a6aa93
 WHIRLPOOL 
cd0c3655149f6e2ab35b298ac8fe5367a665a7bde5d56a0f91db3a24cd2b6de519271e849bd6f4480d857f0d0a4a294f9394a9eadbb96725bb8f6db56e2fcbd7
-DIST gsutil_3.18.tar.gz 795447 SHA256 
640defd2c3a1825295ae8c18e8cdb1c961df1f9f93fca83b921cfbd967d1171c SHA512 
11d246412a53eecbc63af49f945f438d2866bfd8ebbc7368776da6066139bdbcdf72c6e45169a16014002accf940cd369064c25070fea3d9622dd50e614164c9
 WHIRLPOOL 
6ab0ebb61044e5dc67a8c2be9085e726bb3364d7020e915923410b5cbd3b927c59d981ae1772957a5cc1b0601f685064ed9e5456d3782542852c87529ead1c45
-DIST gsutil_3.21.tar.gz 1092318 SHA256 
a92863eb1be812bc2ebfeaef8ade68dab81b7a3a3c73dafa637c95b7bde6abce SHA512 
74f092558951a22fd94cd5e861cb147e9d12b7ff5a6514ec01f8cb618469f30c4dc0054a96231792b2fb77b83c270c26368e64038d0f6974c53ee74fe580d703
 WHIRLPOOL 
9fb6bf3fb6667d9be741cb310770d291afb66b6e1f890be50f2df0de5d71fd78516039969194510b26c5ba925a7ba67ceb748e5fad16ddf33086377c0dab1b22
-DIST gsutil_3.37.tar.gz 1768013 SHA256 
8f094f13202b0232534e218aacfd9a7328a03f8060bc0db28a25fdd8134b63db SHA512 
e6d1c995025d3fcdac8fd35be68bffaabae2f59a81090a67c7c4f6356517c4b6f1f7653b1f7485e9d0b4bb82c5e6725764b255f010add59018e593dfa1b6127c
 WHIRLPOOL 
b53ea1e891f5f908d9d121fdfdc4bfd3c5f56f2df05f59c0efa29e5b4ba841bef9468b8700a6a74d57f122a4d3ad5835ee54f58d24e47bc978427f01859e652e
-DIST gsutil_3.38.tar.gz 1823304 SHA256 
c272f1a637903ce84f8ae40a055bcb5eb6e605141bfd7986d970b1430afd88d8 SHA512 
23d86455ddcf713b217ebc7ea9c2686dac0f903e9782e326bc12e18ec09477a16532d19eeceb5cfcffa32484a0391ddeb14c95090369ce21f69fc944ae9e6a4a
 WHIRLPOOL 
5df5d353f5034cc5e79565bab93797560e752bf573aee4b56e49ccd6772378ec8ce5af7a3eb6dbfee7fd5000ef331baedf857d63b711f3ba6f9474a86ca5c9fb
 DIST gsutil_3.42.tar.gz 1878904 SHA256 
50fc7acb7d1db8752f3eee106a3d8d65188107943e7cb30cfd3f94a9cfcdcf37 SHA512 
084aaf43a44528af0cdfd9bd22beeb5d6abff240c09843cf35016d685d51b854ed5b2837eaa50c97bb44d5e1a3cdccbae6688ef27aa13f2a5db6040bf501b381
 WHIRLPOOL 
5b0d0fb1d2446a7b8777f368f073fdb4f7ad2d6407735976c178a2727a2548bf28522e06469dd0b7df1578d5586bc152fba3520b66f88d706417947aa3aa5578
-DIST gsutil_3.7.tar.gz 673203 SHA256 
77907865287e57a8ce713e97155191bd8d661a45345d9b035a3b3b87 SHA512 
771fbe6f095955a14565ca50704a8a5b674935f0992564491e2a0e57f1a14e26f44f4379ed2b6160a7fe9f34299f405c22402d86d8a9042baa886dd8b7389cd3
 WHIRLPOOL 
dd353f1e7ecc3262fc17463610e80b2f89c928d67490dfd5eaf99977ff5c578bbaaf1f6408de19c7c72e5ed88d7185549dbe2415ef021bf109860857ad419aef
-DIST gsutil_4.11.tar.gz 2137641 SHA256 
4a9e538eb8461ad8ece4ac0dcf67b26b6a357456ffca6778f3612954710c3a3b SHA512 
3b43e08a96962f5544fb5151ed8d81de12ecdec277a257c78f0fe230d1cee45ed170d4d0e58787b320e25ecc622a413b596954720cc573a1adf008fe039ed8a9
 WHIRLPOOL 
7ff6176c840a8e3c301f021f154c3a28cca1336681ead741d3c4eedcf6d6efed3762f2ab1270

[gentoo-commits] repo/gentoo:master commit in: net-misc/gsutil/files/, net-misc/gsutil/

2015-08-29 Thread Mike Frysinger
commit: acbb4383293c3e6ec682d5f8bf72808cd5ced9d0
Author: Mike Frysinger  gentoo  org>
AuthorDate: Sun Aug 30 06:18:15 2015 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Sun Aug 30 06:18:15 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acbb4383

net-misc/gsutil: version bump to 4.14

 net-misc/gsutil/Manifest   |  1 +
 .../gsutil-4.14-use-friendy-version-checks.patch   | 24 +++
 net-misc/gsutil/gsutil-4.14.ebuild | 46 ++
 3 files changed, 71 insertions(+)

diff --git a/net-misc/gsutil/Manifest b/net-misc/gsutil/Manifest
index a0f84c8..ff1cac9 100644
--- a/net-misc/gsutil/Manifest
+++ b/net-misc/gsutil/Manifest
@@ -1,2 +1,3 @@
 DIST gsutil_3.42.tar.gz 1878904 SHA256 
50fc7acb7d1db8752f3eee106a3d8d65188107943e7cb30cfd3f94a9cfcdcf37 SHA512 
084aaf43a44528af0cdfd9bd22beeb5d6abff240c09843cf35016d685d51b854ed5b2837eaa50c97bb44d5e1a3cdccbae6688ef27aa13f2a5db6040bf501b381
 WHIRLPOOL 
5b0d0fb1d2446a7b8777f368f073fdb4f7ad2d6407735976c178a2727a2548bf28522e06469dd0b7df1578d5586bc152fba3520b66f88d706417947aa3aa5578
 DIST gsutil_4.13.tar.gz 2790817 SHA256 
f6fa8a77ff0475ba4898b2a4453ed3ead551499485000420f12bc4f7cfbcc09e SHA512 
b146c8ce6fba09b07a752842d1ca3f83c74250553a4dae50ce32bf8ece2ded366e1b60d5c0af3727e2f5ed8d0766c9345bbf1056c3af571a26d2ed76187b57c9
 WHIRLPOOL 
5a989c51a9e550523713dc658255036a044f0e88dfd3869ca362d573bae6ff83004bb3249674b15fe6082b666d3c598a6f133c9b2e3c7e373a20f5db54b6d361
+DIST gsutil_4.14.tar.gz 2824826 SHA256 
225d0a58c0a5ee98830efc7d5524ec4d4779304c08c80ecb608d83d9b209b4cb SHA512 
a74993406786fe33b17539f62e0384084b692793746bb78b17fbca8b6a3ff840ab6d500cd4b0911f1cf176b3629ffc7f879dd056d0324e601c3a4dc499a9dedd
 WHIRLPOOL 
bd7e85887f343b96535cc4f33ddf26b847bc4275de25644582123c444fb6748cf78b67c614eec94faf38c3aa474a3ba362579e6190566bfd7b63919191658d46

diff --git a/net-misc/gsutil/files/gsutil-4.14-use-friendy-version-checks.patch 
b/net-misc/gsutil/files/gsutil-4.14-use-friendy-version-checks.patch
new file mode 100644
index 000..2ca1c81
--- /dev/null
+++ b/net-misc/gsutil/files/gsutil-4.14-use-friendy-version-checks.patch
@@ -0,0 +1,24 @@
+--- a/setup.py
 b/setup.py
+@@ -35,10 +35,10 @@
+ """
+ 
+ requires = [
+-'boto==2.38.0',
++'boto>=2.38.0',
+ 'crcmod>=1.7',
+ 'gcs-oauth2-boto-plugin>=1.9',
+-'google-apitools==0.4.9',
++'google-apitools>=0.4.9',
+ 'httplib2>=0.8',
+ 'oauth2client>=1.4.11',
+ 'protorpc>=0.10.0',
+@@ -48,7 +48,7 @@
+ 'six>=1.8.0',
+ # 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 = [

diff --git a/net-misc/gsutil/gsutil-4.14.ebuild 
b/net-misc/gsutil/gsutil-4.14.ebuild
new file mode 100644
index 000..e47100c
--- /dev/null
+++ b/net-misc/gsutil/gsutil-4.14.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+PYTHON_COMPAT=( python2_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 ~arm ~x86"
+IUSE=""
+
+RDEPEND="${PYTHON_DEPS}
+   >=dev-python/boto-2.38.0[${PYTHON_USEDEP}]
+   >=dev-python/crcmod-1.7[${PYTHON_USEDEP}]
+   >=dev-python/httplib2-0.8[${PYTHON_USEDEP}]
+   >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
+   >=dev-python/gcs-oauth2-boto-plugin-1.9[${PYTHON_USEDEP}]
+   >=dev-python/google-apitools-0.4.9[${PYTHON_USEDEP}]
+   >=dev-python/oauth2client-1.4.11[${PYTHON_USEDEP}]
+   >=dev-python/protorpc-0.10.0[${PYTHON_USEDEP}]
+   >=dev-python/python-gflags-2.0[${PYTHON_USEDEP}]
+   >=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
+   >=dev-python/socksipy-1.01[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]"
+
+S=${WORKDIR}/${PN}
+
+DOCS=( README.md CHANGES.md )
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.14-use-friendy-version-checks.patch
+)
+
+python_test() {
+   export BOTO_CONFIG=${FILESDIR}/dummy.boto
+   ${PYTHON} gslib/__main__.py test -u || die "tests failed"
+}