diff options
author | 2024-08-24 06:59:21 +0200 | |
---|---|---|
committer | 2024-08-24 06:59:21 +0200 | |
commit | 9156825a7b597ae49620cb1b1faf6fb709c38f9c (patch) | |
tree | 99e30dacfd3985815011ea43e1bd465a6474abf4 /dev-python/boto3 | |
parent | dev-python/botocore: Bump to 1.35.5 (diff) | |
download | gentoo-9156825a7b597ae49620cb1b1faf6fb709c38f9c.tar.gz gentoo-9156825a7b597ae49620cb1b1faf6fb709c38f9c.tar.bz2 gentoo-9156825a7b597ae49620cb1b1faf6fb709c38f9c.zip |
dev-python/boto3: Bump to 1.35.5
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/boto3')
-rw-r--r-- | dev-python/boto3/Manifest | 1 | ||||
-rw-r--r-- | dev-python/boto3/boto3-1.35.5.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 8647558efbff..73ec8d982f45 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -5,3 +5,4 @@ DIST boto3-1.35.1.gh.tar.gz 852178 BLAKE2B c1706b6f22fec5046ec0653a87be74113ed80 DIST boto3-1.35.2.gh.tar.gz 852524 BLAKE2B 28a0408e2187952eb8f9f0e37de105007e6c4d0f11358c8ccc5246a8798b24f1472eaa788e3268c9e9fe9888953d6ab323e337e5d4a53179cd4bbd26c1776e89 SHA512 7b25f6ab5b29789e1b90f888f74708ade430e5c9f746346fb4ba0aa15f6ab55d892a9331d4c3e06fab5c683c2e0d7745c8adf10a6a259398f8fb88b1dafe52f1 DIST boto3-1.35.3.gh.tar.gz 853055 BLAKE2B 2dd22a7e4285574781b2c2eb9a0f706f736d892e7dff7e5846a8fcca504b29fbdc75525178395084698a7fea43e797c1aa9d29077738913a7a3855095fce424b SHA512 98ce858ea952ffb7070b626b6b53edfa2f6ba0ad8f9d3cde784fc4cca8fd2586c0c7934a41527d8623482a3f787dc43f479ad1e16aa3ecd48beba30c0f5e236e DIST boto3-1.35.4.gh.tar.gz 853655 BLAKE2B f2356cf47b5460499b324f0241cae4faa0a206d3e046803c5c5d3085deefbaabeebdd57ea645627daa967c0e8e1c29f0e741ba44240a6ce0e49c7e3cd5d4139f SHA512 31efa31f05729010c48c7b0b1a4baeecc3d5467916242d2d56e78109bc79580bade2d42693e6eb25f1924a595c4d29968cfe53e6967bd507c43ca65438b8b9c4 +DIST boto3-1.35.5.gh.tar.gz 854016 BLAKE2B f94d738e310725cd5f9c7b405a094155f3ecf640f02045662ed94ab3689ea549fde7eee19ae2be450768560ad705b8740fda78b79ed42cf536231626d247e09a SHA512 fc1106abbb306bacb80dce825bf71303e71b0d0698d7e3bb4dcaca4ea6e4f7a97e70753367200294f334b351e764bca57f2316afec854d2e46db4644dfefc25b diff --git a/dev-python/boto3/boto3-1.35.5.ebuild b/dev-python/boto3/boto3-1.35.5.ebuild new file mode 100644 index 000000000000..8cba6d95740e --- /dev/null +++ b/dev-python/boto3/boto3-1.35.5.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} +} |