commit: ff23cf242b99796b08daebbc392e0a1c7972f77d Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Aug 16 01:59:28 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Aug 16 03:18:00 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff23cf24
dev-python/boto3: Bump to 1.34.162 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/boto3/Manifest | 1 + dev-python/boto3/boto3-1.34.162.ebuild | 53 ++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index d94117719dbc..59216fd6ca1c 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -4,3 +4,4 @@ DIST boto3-1.34.158.gh.tar.gz 848930 BLAKE2B 5db04b9eee08f5418a595e736f075fbe22b DIST boto3-1.34.159.gh.tar.gz 849599 BLAKE2B e21979dd33413d63dfb905cdde8351a89fb3a431ee0873ffc3cbb8e9681c207842c5d2c288622736c0ac7516ef0d607d6ee5caea9877c1b7f177c0cae7125f9c SHA512 6fe6528240b0f1ed78e1b4ccba104c238075d8daff3b2224f03912a48f9278d1d92d8caf13951128e25e19d49e895492e463dc8aaa3d903982ebbacbbf727b21 DIST boto3-1.34.160.gh.tar.gz 850214 BLAKE2B 74e8bfecc23086301750ec55e265c57d9085ca292ed9155948e46deb2531860b01336ab341371421333b041f6ba4f4a9114926969d39620b2ba508541ee0fc90 SHA512 ad443616bb4a04fc9e3cceee462d4f06c17c5096853b69e4ccaf1c319bb48fd0bd0131cb3de496b7d05f194818e36c8a165578c5afc3304a7d628936ddc478c9 DIST boto3-1.34.161.gh.tar.gz 850347 BLAKE2B 22e07b72898be28df3547b4a32b4340d9b8267c65d876daaea5b0c1f31a38516964eae11a16fc074d1b9b476fde970976784fed1965a8deef1db74b387699ee4 SHA512 90ffe03ced6546cd271d36cf38a5ebe7fbadcd46c1036a74be238b8006ce29795964e10861ec56920f2ceb5a83b8001029c1b0ea1a75a536d3e025ebc84315a3 +DIST boto3-1.34.162.gh.tar.gz 851050 BLAKE2B 9fa176563d1f4d3477b0c90d178c7ca0f25e0349f642cac703f5ad855417ae5cad693e4ff1e71081a39cf98b3783afd1af8cc7dc4f019c3ffa3483e2bbc65621 SHA512 610738151c6a96abd7df884071f781a17009336789e5cf3fa6d204e724475a8f946a2dd7dacea254f843adeafac4b57975af5c590be0368e5fff0bbcc4858289 diff --git a/dev-python/boto3/boto3-1.34.162.ebuild b/dev-python/boto3/boto3-1.34.162.ebuild new file mode 100644 index 000000000000..8cba6d95740e --- /dev/null +++ b/dev-python/boto3/boto3-1.34.162.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.10.0[${PYTHON_USEDEP}] +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +}