From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- net-misc/gsutil/Manifest | 15 ++++++ net-misc/gsutil/files/dummy.boto | 6 +++ .../gsutil-3.37-drop-http_proxy-clearing.patch | 35 +++++++++++++ .../gsutil-3.37-use-friendy-version-checks.patch | 20 ++++++++ .../gsutil-3.38-use-friendy-version-checks.patch | 20 ++++++++ .../gsutil-3.42-use-friendy-version-checks.patch | 20 ++++++++ .../gsutil-4.13-use-friendy-version-checks.patch | 24 +++++++++ .../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.42.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.13.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 ++++++++++++++++ net-misc/gsutil/metadata.xml | 11 ++++ 27 files changed, 980 insertions(+) create mode 100644 net-misc/gsutil/Manifest create mode 100644 net-misc/gsutil/files/dummy.boto create mode 100644 net-misc/gsutil/files/gsutil-3.37-drop-http_proxy-clearing.patch create mode 100644 net-misc/gsutil/files/gsutil-3.37-use-friendy-version-checks.patch create mode 100644 net-misc/gsutil/files/gsutil-3.38-use-friendy-version-checks.patch create mode 100644 net-misc/gsutil/files/gsutil-3.42-use-friendy-version-checks.patch create mode 100644 net-misc/gsutil/files/gsutil-4.13-use-friendy-version-checks.patch create mode 100644 net-misc/gsutil/files/gsutil-4.4-use-friendy-version-checks.patch create mode 100644 net-misc/gsutil/files/gsutil-4.7-drop-http_proxy-clearing.patch create mode 100644 net-misc/gsutil/files/gsutil-4.7-use-friendy-version-checks.patch create mode 100644 net-misc/gsutil/files/gsutil-system-boto.patch create mode 100644 net-misc/gsutil/gsutil-3.14.ebuild create mode 100644 net-misc/gsutil/gsutil-3.18.ebuild create mode 100644 net-misc/gsutil/gsutil-3.21.ebuild create mode 100644 net-misc/gsutil/gsutil-3.37.ebuild create mode 100644 net-misc/gsutil/gsutil-3.38.ebuild create mode 100644 net-misc/gsutil/gsutil-3.42.ebuild create mode 100644 net-misc/gsutil/gsutil-3.7.ebuild create mode 100644 net-misc/gsutil/gsutil-4.11.ebuild create mode 100644 net-misc/gsutil/gsutil-4.12.ebuild create mode 100644 net-misc/gsutil/gsutil-4.13.ebuild create mode 100644 net-misc/gsutil/gsutil-4.4.ebuild create mode 100644 net-misc/gsutil/gsutil-4.5.ebuild create mode 100644 net-misc/gsutil/gsutil-4.6.ebuild create mode 100644 net-misc/gsutil/gsutil-4.7.ebuild create mode 100644 net-misc/gsutil/gsutil-4.8.ebuild create mode 100644 net-misc/gsutil/metadata.xml (limited to 'net-misc/gsutil') diff --git a/net-misc/gsutil/Manifest b/net-misc/gsutil/Manifest new file mode 100644 index 000000000000..a44edba305c2 --- /dev/null +++ b/net-misc/gsutil/Manifest @@ -0,0 +1,15 @@ +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 77907865287e57a8ce713e97155191bd44448d6888861a45345d9b035a3b3b87 SHA512 771fbe6f095955a14565ca50704a8a5b674935f0992564491e2a0e57f1a14e26f44f4379ed2b6160a7fe9f34299f405c22402d86d8a9042baa886dd8b7389cd3 WHIRLPOOL dd353f1e7ecc3262fc17463610e80b2f89c928d67490dfd5eaf99977ff5c578bbaaf1f6408de19c7c72e5ed88d7185549dbe2415ef021bf109860857ad419aef +DIST gsutil_4.11.tar.gz 2137641 SHA256 4a9e538eb8461ad8ece4ac0dcf67b26b6a357456ffca6778f3612954710c3a3b SHA512 3b43e08a96962f5544fb5151ed8d81de12ecdec277a257c78f0fe230d1cee45ed170d4d0e58787b320e25ecc622a413b596954720cc573a1adf008fe039ed8a9 WHIRLPOOL 7ff6176c840a8e3c301f021f154c3a28cca1336681ead741d3c4eedcf6d6efed3762f2ab127026d27103a2f3e6bb5d8af7e23d2abc55859104e5653c39aa0d56 +DIST gsutil_4.12.tar.gz 2602559 SHA256 f08dff664ad2a8875dca9d2a64384a1eba5e391dc4e8cde9189e9394e7156d8e SHA512 3d651e2f40b1842f6855557119da911d519921c6e96ac6368a7aff7414db9332b72331f9fc479c25c1c26307ae08f1dbc9ac683badd79ee88b41fa881c1b4573 WHIRLPOOL d8e02b146e94a3fee1c91077f5d3eef5510628299f6fdefc36c1b4337f55a2cd10f3b16c4a4e7058ae598412c7cb73855b18ca1be5ebda201a042f7040696164 +DIST gsutil_4.13.tar.gz 2790817 SHA256 f6fa8a77ff0475ba4898b2a4453ed3ead551499485000420f12bc4f7cfbcc09e SHA512 b146c8ce6fba09b07a752842d1ca3f83c74250553a4dae50ce32bf8ece2ded366e1b60d5c0af3727e2f5ed8d0766c9345bbf1056c3af571a26d2ed76187b57c9 WHIRLPOOL 5a989c51a9e550523713dc658255036a044f0e88dfd3869ca362d573bae6ff83004bb3249674b15fe6082b666d3c598a6f133c9b2e3c7e373a20f5db54b6d361 +DIST gsutil_4.4.tar.gz 2165629 SHA256 aa1e906d46ef04a6a2c65b38ce95b96575c7640377d52e41de9cfb9ac4bb9b87 SHA512 a3a72e4159010af497941c1073af561615ff6e8ca58f387378c5f6d599f2c75b1b9f855066ff65640ef303aace5de3dfffad53378dfe31a3911e1fdeddeef672 WHIRLPOOL eb8b5dc528b5d54a7fab4812aa73da819eba1b3f16f5a01a2bd6c139215f99aac0fe6a4f49e1a02733d17a94c2595d0b1fa7a652cc2baf50121549c2374df0be +DIST gsutil_4.5.tar.gz 2196988 SHA256 ab8dd64754be902a41dc696f2d186dcf232ef959b40e24bf56fd6ae2940ed822 SHA512 a8e1ac6f6aa47727cb90f335253f0a8f0c4a04631695c1be63c1276f0202a71770c8046039baaf5fa4b31100a8f85073ea9cf5e283b41902d9ef58f84704bfc8 WHIRLPOOL d7d8c3078722aa692369d288c9621754d6df6f0aa70eb6608cac75fd21c9825c577dbeef64f1615dbace2f6ac7e1167a820c0047aa732c1cdf8bde6462fd0c15 +DIST gsutil_4.6.tar.gz 2201289 SHA256 ba811fe4dd55a138cdc7ce41622aff5bc9f93503b012ea3abb47bc7524004db7 SHA512 66699451b6b6c030ed553b364565f1837caa252c7924c7184af695b215bbc3c1bb0d7893f18cf6ae1d8c2b466bb1a28bcc31fd908d867852832b4aa4409dfc49 WHIRLPOOL 59e179bd94a4c80f0223ceb76ffb1eaf5fcef445f6e9039c01024c49db5342ded90ab0e87f81df403f6f0f5a873bf7c362f4df594cf53d02668bbcdb7ff1c331 +DIST gsutil_4.7.tar.gz 3133131 SHA256 8f3892127f20a49d091b00a77c584643becf1a413c7f35512edffd12951657cb SHA512 744ea1a916ed1ba5125cdbc549f4df728e709b8becc91f076e31abd3cca22bda70a0b78b1e29e3773ca4b86961cc2b2320c001009b716a232334667906611b21 WHIRLPOOL 6d7fbb1c61e7b544cb2ca3ffa54616f3b7a1e7b1c1af128933a4c69e0d460a6017bb4e7574b09c05d4f2700d265ab9334ff7278b8b81f9fe0b0807a1bfcdbe67 +DIST gsutil_4.8.tar.gz 2128639 SHA256 693768d31597a165d44a90f0eb4a49c36a41c47508fe8370317f8133ea420890 SHA512 e9547957e43f66d9e157d1825aa27e0accae313a199008dbb38d8e5c89586eb44bc6d87a9c834a157959ebf840a5598d4aa8fbb1adb437d804ec74e51a3bc3c1 WHIRLPOOL 731ecc3a5ff4fc425c0b8b57a975bcbd34cd96df057be5d645fdeaf1fb4a3c7a3423fadeced738cf99291cc0e3281d8a9e49eb442c806d9a10e394a427979128 diff --git a/net-misc/gsutil/files/dummy.boto b/net-misc/gsutil/files/dummy.boto new file mode 100644 index 000000000000..93e9dd2f8c77 --- /dev/null +++ b/net-misc/gsutil/files/dummy.boto @@ -0,0 +1,6 @@ +# dummy .boto file for testing + +[Credentials] +gs_oauth2_refresh_token = 1/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx + +[GSUtil] 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 new file mode 100644 index 000000000000..4c36035d21c5 --- /dev/null +++ b/net-misc/gsutil/files/gsutil-3.37-drop-http_proxy-clearing.patch @@ -0,0 +1,35 @@ +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.37-use-friendy-version-checks.patch b/net-misc/gsutil/files/gsutil-3.37-use-friendy-version-checks.patch new file mode 100644 index 000000000000..5da56d476a99 --- /dev/null +++ b/net-misc/gsutil/files/gsutil-3.37-use-friendy-version-checks.patch @@ -0,0 +1,20 @@ +--- a/setup.py ++++ b/setup.py +@@ -33,15 +33,13 @@ management tasks, including: + """ + + requires = [ +- 'boto==2.13.0', ++ 'boto>=2.13.0', + '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>=0.1.0', + ] + diff --git a/net-misc/gsutil/files/gsutil-3.38-use-friendy-version-checks.patch b/net-misc/gsutil/files/gsutil-3.38-use-friendy-version-checks.patch new file mode 100644 index 000000000000..24641a27ca40 --- /dev/null +++ b/net-misc/gsutil/files/gsutil-3.38-use-friendy-version-checks.patch @@ -0,0 +1,20 @@ +--- a/setup.py ++++ b/setup.py +@@ -33,15 +33,13 @@ management tasks, including: + """ + + requires = [ +- 'boto==2.17.0', ++ 'boto>=2.17.0', + '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-3.42-use-friendy-version-checks.patch b/net-misc/gsutil/files/gsutil-3.42-use-friendy-version-checks.patch new file mode 100644 index 000000000000..5d8bbbc7635e --- /dev/null +++ b/net-misc/gsutil/files/gsutil-3.42-use-friendy-version-checks.patch @@ -0,0 +1,20 @@ +--- 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.13-use-friendy-version-checks.patch b/net-misc/gsutil/files/gsutil-4.13-use-friendy-version-checks.patch new file mode 100644 index 000000000000..fef0858c3fea --- /dev/null +++ b/net-misc/gsutil/files/gsutil-4.13-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.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.4-use-friendy-version-checks.patch b/net-misc/gsutil/files/gsutil-4.4-use-friendy-version-checks.patch new file mode 100644 index 000000000000..0443d109b588 --- /dev/null +++ b/net-misc/gsutil/files/gsutil-4.4-use-friendy-version-checks.patch @@ -0,0 +1,22 @@ +--- a/setup.py ++++ b/setup.py +@@ -35,7 +35,7 @@ management tasks, including: + """ + + requires = [ +- 'boto==2.30.0', ++ 'boto>=2.30.0', + 'crcmod>=1.7', + 'gcs-oauth2-boto-plugin>=1.7', + 'google-api-python-client>=1.1', +@@ -43,9 +43,7 @@ requires = [ + 'pyOpenSSL>=0.13', + 'python-gflags>=2.0', + 'retry_decorator>=1.0.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.7-drop-http_proxy-clearing.patch b/net-misc/gsutil/files/gsutil-4.7-drop-http_proxy-clearing.patch new file mode 100644 index 000000000000..67c07f03c48d --- /dev/null +++ b/net-misc/gsutil/files/gsutil-4.7-drop-http_proxy-clearing.patch @@ -0,0 +1,36 @@ +http://crbug.com/318478 +https://github.com/GoogleCloudPlatform/gsutil/pull/171 + +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'] +- + if os.environ.get('_ARGCOMPLETE', '0') == '1': + return _PerformTabCompletion(command_runner) + +-- +1.8.4.3 + diff --git a/net-misc/gsutil/files/gsutil-4.7-use-friendy-version-checks.patch b/net-misc/gsutil/files/gsutil-4.7-use-friendy-version-checks.patch new file mode 100644 index 000000000000..9d9eb65a3643 --- /dev/null +++ b/net-misc/gsutil/files/gsutil-4.7-use-friendy-version-checks.patch @@ -0,0 +1,22 @@ +--- a/setup.py ++++ b/setup.py +@@ -35,7 +35,7 @@ management tasks, including: + """ + + requires = [ +- 'boto==2.30.0', ++ 'boto>=2.30.0', + 'crcmod>=1.7', + 'gcs-oauth2-boto-plugin>=1.8', + 'httplib2>=0.8', +@@ -44,9 +44,7 @@ requires = [ + 'python-gflags>=2.0', + 'retry_decorator>=1.0.0', + '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-system-boto.patch b/net-misc/gsutil/files/gsutil-system-boto.patch new file mode 100644 index 000000000000..88cb49c0f0ab --- /dev/null +++ b/net-misc/gsutil/files/gsutil-system-boto.patch @@ -0,0 +1,23 @@ +http://code.google.com/p/gsutil/issues/detail?id=71 + +--- a/gsutil ++++ b/gsutil +@@ -41,13 +41,15 @@ + _OutputAndExit('Unable to determine where gsutil is installed. Sorry, ' + 'cannot run correctly without this.\n') + boto_lib_dir = os.path.join(gsutil_bin_dir, 'boto') +-if not os.path.isdir(boto_lib_dir): ++if os.path.isdir(boto_lib_dir): ++ sys.path.insert(0, boto_lib_dir) ++try: ++ import boto ++except: + _OutputAndExit('There is no boto library under the gsutil install directory ' + '(%s).\nThe gsutil command cannot work properly when installed ' + 'this way.\nPlease re-install gsutil per the installation ' + 'instructions.' % gsutil_bin_dir) +-sys.path.insert(0, boto_lib_dir) +-import boto + from boto.exception import BotoClientError + from boto.exception import InvalidAclError + from boto.exception import InvalidUriError diff --git a/net-misc/gsutil/gsutil-3.14.ebuild b/net-misc/gsutil/gsutil-3.14.ebuild new file mode 100644 index 000000000000..ec8a0862af8c --- /dev/null +++ b/net-misc/gsutil/gsutil-3.14.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" + +inherit eutils python multilib + +DESCRIPTION="command line tool for interacting with cloud storage services" +HOMEPAGE="http://code.google.com/p/gsutil/" +SRC_URI="http://commondatastorage.googleapis.com/pub/${PN}_${PV}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +DEPEND="" +RDEPEND="${DEPEND} + >=dev-python/boto-2.5.2" + +S=${WORKDIR}/${PN} + +src_prepare() { + # use system boto + rm -rf boto + epatch "${FILESDIR}"/${PN}-system-boto.patch + + # use the custom internal path to avoid polluting python system + sed -i \ + -e "/^gsutil_bin_dir =/s:=.*:= '/usr/$(get_libdir)/${PN}';sys.path.insert(0, gsutil_bin_dir);:" \ + gsutil || die + + # trim some cruft + find gslib third_party -name README -delete +} + +src_install() { + dobin gsutil || die + + insinto /usr/$(get_libdir)/${PN} + doins -r gslib oauth2_plugin third_party VERSION || die + + # http://code.google.com/p/gsutil/issues/detail?id=96 + rm "${D}"/usr/$(get_libdir)/${PN}/gslib/commands/test.py || die + + dodoc README + if use examples ; then + insinto /usr/share/doc/${PF}/examples + doins -r cloud{auth,reader} + fi +} + +pkg_postinst() { + python_mod_optimize /usr/$(get_libdir)/${PN} +} + +pkg_postrm() { + python_mod_cleanup /usr/$(get_libdir)/${PN} +} diff --git a/net-misc/gsutil/gsutil-3.18.ebuild b/net-misc/gsutil/gsutil-3.18.ebuild new file mode 100644 index 000000000000..ec8a0862af8c --- /dev/null +++ b/net-misc/gsutil/gsutil-3.18.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" + +inherit eutils python multilib + +DESCRIPTION="command line tool for interacting with cloud storage services" +HOMEPAGE="http://code.google.com/p/gsutil/" +SRC_URI="http://commondatastorage.googleapis.com/pub/${PN}_${PV}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +DEPEND="" +RDEPEND="${DEPEND} + >=dev-python/boto-2.5.2" + +S=${WORKDIR}/${PN} + +src_prepare() { + # use system boto + rm -rf boto + epatch "${FILESDIR}"/${PN}-system-boto.patch + + # use the custom internal path to avoid polluting python system + sed -i \ + -e "/^gsutil_bin_dir =/s:=.*:= '/usr/$(get_libdir)/${PN}';sys.path.insert(0, gsutil_bin_dir);:" \ + gsutil || die + + # trim some cruft + find gslib third_party -name README -delete +} + +src_install() { + dobin gsutil || die + + insinto /usr/$(get_libdir)/${PN} + doins -r gslib oauth2_plugin third_party VERSION || die + + # http://code.google.com/p/gsutil/issues/detail?id=96 + rm "${D}"/usr/$(get_libdir)/${PN}/gslib/commands/test.py || die + + dodoc README + if use examples ; then + insinto /usr/share/doc/${PF}/examples + doins -r cloud{auth,reader} + fi +} + +pkg_postinst() { + python_mod_optimize /usr/$(get_libdir)/${PN} +} + +pkg_postrm() { + python_mod_cleanup /usr/$(get_libdir)/${PN} +} diff --git a/net-misc/gsutil/gsutil-3.21.ebuild b/net-misc/gsutil/gsutil-3.21.ebuild new file mode 100644 index 000000000000..3fa0150cccc7 --- /dev/null +++ b/net-misc/gsutil/gsutil-3.21.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" + +inherit eutils python multilib + +DESCRIPTION="command line tool for interacting with cloud storage services" +HOMEPAGE="http://code.google.com/p/gsutil/" +SRC_URI="http://commondatastorage.googleapis.com/pub/${PN}_${PV}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +DEPEND="" +RDEPEND="${DEPEND} + >=dev-python/boto-2.7.0" + +S=${WORKDIR}/${PN} + +src_prepare() { + # use system boto + rm -rf boto + epatch "${FILESDIR}"/${PN}-system-boto.patch + + # trim some cruft + find gslib third_party -name README -delete +} + +src_install() { + insinto /usr/$(get_libdir)/${PN} + doins -r gslib gsutil oauth2_plugin third_party CHECKSUM VERSION || die + + dodir /usr/bin + dosym /usr/$(get_libdir)/${PN}/gsutil /usr/bin/gsutil + fperms a+x /usr/$(get_libdir)/${PN}/gsutil + + # http://code.google.com/p/gsutil/issues/detail?id=96 + rm "${D}"/usr/$(get_libdir)/${PN}/gslib/commands/test.py || die + + dodoc README + if use examples ; then + insinto /usr/share/doc/${PF}/examples + doins -r cloud{auth,reader} + fi +} + +pkg_postinst() { + python_mod_optimize /usr/$(get_libdir)/${PN} +} + +pkg_postrm() { + python_mod_cleanup /usr/$(get_libdir)/${PN} +} diff --git a/net-misc/gsutil/gsutil-3.37.ebuild b/net-misc/gsutil/gsutil-3.37.ebuild new file mode 100644 index 000000000000..90c3ee9aa9a5 --- /dev/null +++ b/net-misc/gsutil/gsutil-3.37.ebuild @@ -0,0 +1,44 @@ +# 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 ~x86" +IUSE="" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${DEPEND} + >=dev-python/boto-2.13[${PYTHON_USEDEP}] + >=dev-python/crcmod-1.7 + >=dev-python/httplib2-0.8[${PYTHON_USEDEP}] + >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}] + dev-python/google-api-python-client[${PYTHON_USEDEP}] + dev-python/python-gflags[${PYTHON_USEDEP}] + dev-python/retry-decorator[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/socksipy-1.01[${PYTHON_USEDEP}] + " + +S=${WORKDIR}/${PN} + +DOCS=( README.md CHANGES.md ) + +PATCHES=( + "${FILESDIR}/${P}-use-friendy-version-checks.patch" + "${FILESDIR}/${PN}-3.37-drop-http_proxy-clearing.patch" +) + +python_test() { + export BOTO_CONFIG=${FILESDIR}/dummy.boto + ${PYTHON} gslib/__main__.py test -u || die "tests failed" +} diff --git a/net-misc/gsutil/gsutil-3.38.ebuild b/net-misc/gsutil/gsutil-3.38.ebuild new file mode 100644 index 000000000000..fc42b591b48c --- /dev/null +++ b/net-misc/gsutil/gsutil-3.38.ebuild @@ -0,0 +1,44 @@ +# 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="" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${DEPEND} + >=dev-python/boto-2.17[${PYTHON_USEDEP}] + >=dev-python/crcmod-1.7 + >=dev-python/httplib2-0.8[${PYTHON_USEDEP}] + >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}] + >=dev-python/google-api-python-client-1.1[${PYTHON_USEDEP}] + >=dev-python/python-gflags-2.0[${PYTHON_USEDEP}] + >=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/socksipy-1.01[${PYTHON_USEDEP}] + " + +S=${WORKDIR}/${PN} + +DOCS=( README.md CHANGES.md ) + +PATCHES=( + "${FILESDIR}/${P}-use-friendy-version-checks.patch" + "${FILESDIR}/${PN}-3.37-drop-http_proxy-clearing.patch" +) + +python_test() { + export BOTO_CONFIG=${FILESDIR}/dummy.boto + ${PYTHON} gslib/__main__.py test -u || die "tests failed" +} diff --git a/net-misc/gsutil/gsutil-3.42.ebuild b/net-misc/gsutil/gsutil-3.42.ebuild new file mode 100644 index 000000000000..2b79a0472308 --- /dev/null +++ b/net-misc/gsutil/gsutil-3.42.ebuild @@ -0,0 +1,44 @@ +# 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="" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${DEPEND} + >=dev-python/boto-2.22.1[${PYTHON_USEDEP}] + >=dev-python/crcmod-1.7 + >=dev-python/httplib2-0.8[${PYTHON_USEDEP}] + >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}] + >=dev-python/google-api-python-client-1.1[${PYTHON_USEDEP}] + >=dev-python/python-gflags-2.0[${PYTHON_USEDEP}] + >=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/socksipy-1.01[${PYTHON_USEDEP}] + " + +S=${WORKDIR}/${PN} + +DOCS=( README.md CHANGES.md ) + +PATCHES=( + "${FILESDIR}/${P}-use-friendy-version-checks.patch" + "${FILESDIR}/${PN}-3.37-drop-http_proxy-clearing.patch" +) + +python_test() { + export BOTO_CONFIG=${FILESDIR}/dummy.boto + ${PYTHON} gslib/__main__.py test -u || die "tests failed" +} diff --git a/net-misc/gsutil/gsutil-3.7.ebuild b/net-misc/gsutil/gsutil-3.7.ebuild new file mode 100644 index 000000000000..f97518340243 --- /dev/null +++ b/net-misc/gsutil/gsutil-3.7.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" + +inherit eutils python multilib + +DESCRIPTION="command line tool for interacting with cloud storage services" +HOMEPAGE="http://code.google.com/p/gsutil/" +SRC_URI="http://commondatastorage.googleapis.com/pub/${PN}_${PV}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +DEPEND="" +RDEPEND="${DEPEND} + >=dev-python/boto-2.4.0" + +S=${WORKDIR}/${PN} + +src_prepare() { + # use system boto + rm -rf boto + epatch "${FILESDIR}"/${PN}-system-boto.patch + + # use the custom internal path to avoid polluting python system + sed -i \ + -e "/^gsutil_bin_dir =/s:=.*:= '/usr/$(get_libdir)/${PN}';sys.path.insert(0, gsutil_bin_dir);:" \ + gsutil || die + + # trim some cruft + find gslib third_party -name README -delete +} + +src_install() { + dobin gsutil || die + + insinto /usr/$(get_libdir)/${PN} + doins -r gslib oauth2_plugin third_party VERSION || die + + # http://code.google.com/p/gsutil/issues/detail?id=96 + rm "${D}"/usr/$(get_libdir)/${PN}/gslib/commands/test.py || die + + dodoc README + if use examples ; then + insinto /usr/share/doc/${PF}/examples + doins -r cloud{auth,reader} + fi +} + +pkg_postinst() { + python_mod_optimize /usr/$(get_libdir)/${PN} +} + +pkg_postrm() { + python_mod_cleanup /usr/$(get_libdir)/${PN} +} diff --git a/net-misc/gsutil/gsutil-4.11.ebuild b/net-misc/gsutil/gsutil-4.11.ebuild new file mode 100644 index 000000000000..a47f3f1fcbe8 --- /dev/null +++ b/net-misc/gsutil/gsutil-4.11.ebuild @@ -0,0 +1,44 @@ +# 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="" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${DEPEND} + >=dev-python/boto-2.30.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.8[${PYTHON_USEDEP}] + >=dev-python/oauth2client-1.4.4[${PYTHON_USEDEP}] + >=dev-python/python-gflags-2.0[${PYTHON_USEDEP}] + >=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/six-1.8.0[${PYTHON_USEDEP}] + >=dev-python/socksipy-1.01[${PYTHON_USEDEP}]" + +S=${WORKDIR}/${PN} + +DOCS=( README.md CHANGES.md ) + +PATCHES=( + "${FILESDIR}/${PN}-4.7-use-friendy-version-checks.patch" +) + +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.12.ebuild b/net-misc/gsutil/gsutil-4.12.ebuild new file mode 100644 index 000000000000..43f920e0b7e7 --- /dev/null +++ b/net-misc/gsutil/gsutil-4.12.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="" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${DEPEND} + >=dev-python/boto-2.30.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[${PYTHON_USEDEP}] + >=dev-python/oauth2client-1.4.4[${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/setuptools[${PYTHON_USEDEP}] + >=dev-python/six-1.8.0[${PYTHON_USEDEP}] + >=dev-python/socksipy-1.01[${PYTHON_USEDEP}]" + +S=${WORKDIR}/${PN} + +DOCS=( README.md CHANGES.md ) + +PATCHES=( + "${FILESDIR}/${PN}-4.7-use-friendy-version-checks.patch" +) + +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.13.ebuild b/net-misc/gsutil/gsutil-4.13.ebuild new file mode 100644 index 000000000000..758792cbb9a1 --- /dev/null +++ b/net-misc/gsutil/gsutil-4.13.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.8[${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.8.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.13-use-friendy-version-checks.patch" +) + +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.4.ebuild b/net-misc/gsutil/gsutil-4.4.ebuild new file mode 100644 index 000000000000..ff88ecc2e132 --- /dev/null +++ b/net-misc/gsutil/gsutil-4.4.ebuild @@ -0,0 +1,44 @@ +# 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="" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${DEPEND} + >=dev-python/boto-2.30.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.7[${PYTHON_USEDEP}] + >=dev-python/google-api-python-client-1.1[${PYTHON_USEDEP}] + >=dev-python/python-gflags-2.0[${PYTHON_USEDEP}] + >=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/socksipy-1.01[${PYTHON_USEDEP}]" + +S=${WORKDIR}/${PN} + +DOCS=( README.md CHANGES.md ) + +PATCHES=( + "${FILESDIR}/${P}-use-friendy-version-checks.patch" + "${FILESDIR}/${PN}-3.37-drop-http_proxy-clearing.patch" +) + +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.5.ebuild b/net-misc/gsutil/gsutil-4.5.ebuild new file mode 100644 index 000000000000..f36aa22a7213 --- /dev/null +++ b/net-misc/gsutil/gsutil-4.5.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2014 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="" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${DEPEND} + >=dev-python/boto-2.30.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.7[${PYTHON_USEDEP}] + >=dev-python/google-api-python-client-1.1[${PYTHON_USEDEP}] + >=dev-python/python-gflags-2.0[${PYTHON_USEDEP}] + >=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/socksipy-1.01[${PYTHON_USEDEP}]" + +S=${WORKDIR}/${PN} + +DOCS=( README.md CHANGES.md ) + +PATCHES=( + "${FILESDIR}/${PN}-4.4-use-friendy-version-checks.patch" + "${FILESDIR}/${PN}-3.37-drop-http_proxy-clearing.patch" +) + +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.6.ebuild b/net-misc/gsutil/gsutil-4.6.ebuild new file mode 100644 index 000000000000..98b16fc8e724 --- /dev/null +++ b/net-misc/gsutil/gsutil-4.6.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2014 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="" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${DEPEND} + >=dev-python/boto-2.30.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.8[${PYTHON_USEDEP}] + >=dev-python/google-api-python-client-1.1[${PYTHON_USEDEP}] + >=dev-python/python-gflags-2.0[${PYTHON_USEDEP}] + >=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/socksipy-1.01[${PYTHON_USEDEP}]" + +S=${WORKDIR}/${PN} + +DOCS=( README.md CHANGES.md ) + +PATCHES=( + "${FILESDIR}/${PN}-4.4-use-friendy-version-checks.patch" + "${FILESDIR}/${PN}-3.37-drop-http_proxy-clearing.patch" +) + +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.7.ebuild b/net-misc/gsutil/gsutil-4.7.ebuild new file mode 100644 index 000000000000..e19170a0fde1 --- /dev/null +++ b/net-misc/gsutil/gsutil-4.7.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2014 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="" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${DEPEND} + >=dev-python/boto-2.30.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.8[${PYTHON_USEDEP}] + >=dev-python/oauth2client-1.4.1[${PYTHON_USEDEP}] + >=dev-python/python-gflags-2.0[${PYTHON_USEDEP}] + >=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/six-1.8.0[${PYTHON_USEDEP}] + >=dev-python/socksipy-1.01[${PYTHON_USEDEP}]" + +S=${WORKDIR}/${PN} + +DOCS=( README.md CHANGES.md ) + +PATCHES=( + "${FILESDIR}/${PN}-4.7-use-friendy-version-checks.patch" + "${FILESDIR}/${PN}-4.7-drop-http_proxy-clearing.patch" +) + +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.8.ebuild b/net-misc/gsutil/gsutil-4.8.ebuild new file mode 100644 index 000000000000..a47f3f1fcbe8 --- /dev/null +++ b/net-misc/gsutil/gsutil-4.8.ebuild @@ -0,0 +1,44 @@ +# 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="" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${DEPEND} + >=dev-python/boto-2.30.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.8[${PYTHON_USEDEP}] + >=dev-python/oauth2client-1.4.4[${PYTHON_USEDEP}] + >=dev-python/python-gflags-2.0[${PYTHON_USEDEP}] + >=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/six-1.8.0[${PYTHON_USEDEP}] + >=dev-python/socksipy-1.01[${PYTHON_USEDEP}]" + +S=${WORKDIR}/${PN} + +DOCS=( README.md CHANGES.md ) + +PATCHES=( + "${FILESDIR}/${PN}-4.7-use-friendy-version-checks.patch" +) + +python_test() { + export BOTO_CONFIG=${FILESDIR}/dummy.boto + ${PYTHON} gslib/__main__.py test -u || die "tests failed" +} diff --git a/net-misc/gsutil/metadata.xml b/net-misc/gsutil/metadata.xml new file mode 100644 index 000000000000..cae2a6d112df --- /dev/null +++ b/net-misc/gsutil/metadata.xml @@ -0,0 +1,11 @@ + + + + + vapier@gentoo.org + + + gsutil + GoogleCloudPlatform/gsutil + + -- cgit v1.2.3-65-gdbad