From 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 28 Apr 2021 20:21:43 +0100 Subject: gentoo resync : 28.04.2021 --- net-misc/gsutil/Manifest | 4 +- net-misc/gsutil/gsutil-4.59-r1.ebuild | 98 +++++++++++++++++++++++++++++++++++ net-misc/gsutil/gsutil-4.59.ebuild | 97 ---------------------------------- net-misc/gsutil/gsutil-4.60-r1.ebuild | 98 +++++++++++++++++++++++++++++++++++ net-misc/gsutil/gsutil-4.60.ebuild | 97 ---------------------------------- 5 files changed, 198 insertions(+), 196 deletions(-) create mode 100644 net-misc/gsutil/gsutil-4.59-r1.ebuild delete mode 100644 net-misc/gsutil/gsutil-4.59.ebuild create mode 100644 net-misc/gsutil/gsutil-4.60-r1.ebuild delete mode 100644 net-misc/gsutil/gsutil-4.60.ebuild (limited to 'net-misc/gsutil') diff --git a/net-misc/gsutil/Manifest b/net-misc/gsutil/Manifest index 58191ccdd8bc..fa2b0b30366d 100644 --- a/net-misc/gsutil/Manifest +++ b/net-misc/gsutil/Manifest @@ -4,6 +4,6 @@ AUX gsutil-4.50-boto-tests.patch 1483 BLAKE2B 9d40250f7a836535297da411bda76430dc AUX gsutil-4.50-tests.patch 2451 BLAKE2B d84d1cd31eeabb3c0ecbb4b4850ec30d5f96e641b135b6c7fe6e7442edcfc4d2d076858b6fe1365f9424d32c81d9b818885df03f66405dfb8ca4d2149ee33ab5 SHA512 007e07b54a5f4182586f3defbc070f5883356214cb0e28861df66509c414d8bbde5718fd8598bcf023e9971331a34b2f1aefd89350e6d3c97e93ae80176b2d5a DIST gsutil_4.59.tar.gz 4024669 BLAKE2B 4317cd3787adae2d7d066d7c8d5c62cfe77749d4efc8b5451e87ac6294de0e6f13c085795de30a891f2d7b58cd7e0724234cf14b4308542c8d050856a868c5cf SHA512 c86b957a2630f3a80869e3105c0baa7bf1297b84698e756fed28b28adf36345cf1dd28d4216ec395de6bfee5b118dd70040ff964a2938f22d8af15a5c3485c48 DIST gsutil_4.60.tar.gz 4012900 BLAKE2B d3d1b57d5b0d42b1b454944efe8d62855b665d3772817c636568ef49c79ae2c566ef08c4c6e1bd3c9829471561865b64b3beec8d3911d6766748337aa1b1fc3e SHA512 18ab701cbb60513d66e8b96ced28cfe65dc0f210435fb5ffbcbfab3541ec7ed051db726e52239796d9579d0928953f610064279a3ee1e5b5c06cec963493804c -EBUILD gsutil-4.59.ebuild 3026 BLAKE2B 579c56d597e1aedb12a872763947c3d1e4eb29edd6768cefea0ba0e1bc435f79a1a2ef495682407ed545fce53cbd71ce4fa5fd166c926ab1c9d9370018d1351a SHA512 82e63ab4bbb1e2b965079fa3268b2c340d909822c9e9b6286239a36a6b10745a45c7dc7ac93706907adc8e2a3a1e1210f19932b6534aa6bd453a65bfba9dca08 -EBUILD gsutil-4.60.ebuild 3026 BLAKE2B 579c56d597e1aedb12a872763947c3d1e4eb29edd6768cefea0ba0e1bc435f79a1a2ef495682407ed545fce53cbd71ce4fa5fd166c926ab1c9d9370018d1351a SHA512 82e63ab4bbb1e2b965079fa3268b2c340d909822c9e9b6286239a36a6b10745a45c7dc7ac93706907adc8e2a3a1e1210f19932b6534aa6bd453a65bfba9dca08 +EBUILD gsutil-4.59-r1.ebuild 3072 BLAKE2B 267dbbd52f525a90532b151eac417b5ad3abc88705b698c84ba765a4f71494ba39e858c0912dbba1f33fb56ed83f7e055d710d2330563c3d74838c134de01aa3 SHA512 c4c536f87b66a699b8b28da4b26245f923b9132e2f69369cc53dbe0baa051e15089a92b03031428b742b1f7ec035a2b09148746aff80822c508191f07fdbe93b +EBUILD gsutil-4.60-r1.ebuild 3072 BLAKE2B 267dbbd52f525a90532b151eac417b5ad3abc88705b698c84ba765a4f71494ba39e858c0912dbba1f33fb56ed83f7e055d710d2330563c3d74838c134de01aa3 SHA512 c4c536f87b66a699b8b28da4b26245f923b9132e2f69369cc53dbe0baa051e15089a92b03031428b742b1f7ec035a2b09148746aff80822c508191f07fdbe93b MISC metadata.xml 514 BLAKE2B b37a6acae57aa619dd2adc4722283fbf1f5076ed9b3fa18558fdbe0d9ea39eb9fd1e0a678ce2df59c2c37f444558f9e4d1e913be7c7fdf1b2a16f31e809b7588 SHA512 d97ecaa80d5996fb0bb424681861e552c4f3ee206ec0b5d7a4f703247ea495e0a201757ebe4a5288389cab58208ead2718288107cad173684f37ecb9357bf06e diff --git a/net-misc/gsutil/gsutil-4.59-r1.ebuild b/net-misc/gsutil/gsutil-4.59-r1.ebuild new file mode 100644 index 000000000000..7cd73f33bffb --- /dev/null +++ b/net-misc/gsutil/gsutil-4.59-r1.ebuild @@ -0,0 +1,98 @@ +# 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:$/&\n raise/' \ + # -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 || die "tests failed with ${EPYTHON}" +} diff --git a/net-misc/gsutil/gsutil-4.59.ebuild b/net-misc/gsutil/gsutil-4.59.ebuild deleted file mode 100644 index 48e12ee22074..000000000000 --- a/net-misc/gsutil/gsutil-4.59.ebuild +++ /dev/null @@ -1,97 +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/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:$/&\n raise/' \ - # -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 || die "tests failed with ${EPYTHON}" -} diff --git a/net-misc/gsutil/gsutil-4.60-r1.ebuild b/net-misc/gsutil/gsutil-4.60-r1.ebuild new file mode 100644 index 000000000000..7cd73f33bffb --- /dev/null +++ b/net-misc/gsutil/gsutil-4.60-r1.ebuild @@ -0,0 +1,98 @@ +# 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:$/&\n raise/' \ + # -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 || die "tests failed with ${EPYTHON}" +} diff --git a/net-misc/gsutil/gsutil-4.60.ebuild b/net-misc/gsutil/gsutil-4.60.ebuild deleted file mode 100644 index 48e12ee22074..000000000000 --- a/net-misc/gsutil/gsutil-4.60.ebuild +++ /dev/null @@ -1,97 +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/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:$/&\n raise/' \ - # -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 || die "tests failed with ${EPYTHON}" -} -- cgit v1.2.3