diff options
author | 2024-10-17 04:09:12 +0200 | |
---|---|---|
committer | 2024-10-17 04:09:12 +0200 | |
commit | 0494abe32f1946df9840cdce68dab26fa02e4841 (patch) | |
tree | 402d5c9bc166b36ad1a510bc7f003b5ec567ef4f /dev-python | |
parent | dev-python/botocore: Bump to 1.35.42 (diff) | |
download | gentoo-0494abe32f1946df9840cdce68dab26fa02e4841.tar.gz gentoo-0494abe32f1946df9840cdce68dab26fa02e4841.tar.bz2 gentoo-0494abe32f1946df9840cdce68dab26fa02e4841.zip |
dev-python/boto3: Bump to 1.35.42
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/boto3/Manifest | 1 | ||||
-rw-r--r-- | dev-python/boto3/boto3-1.35.42.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 503319d0fb2a..50ceb13871c4 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -3,3 +3,4 @@ DIST boto3-1.35.34.gh.tar.gz 870029 BLAKE2B 5cd9cfa0a742b8d01a6229183c3545945bb5 DIST boto3-1.35.39.gh.tar.gz 872172 BLAKE2B 1baad362b9bfcf68ea89c9ba9ea473fcf2451a71be8121a443830622114b3577ae83500aaa0cbef86115e24d276ffa5660fa6e9c08d2358fa493367405fc8dd4 SHA512 4244e71a3773d9abfa419c34220fa2c44c90a93b11b8338535582aee8fe9cd788672d6833ae97f1b32fb6479b9be97f1b2db953f24b403b07f2ee3153bc833aa DIST boto3-1.35.40.gh.tar.gz 872596 BLAKE2B eb1f81634ce0624da14d5a8c5edbe531917bb8110bb196ee9661cebda564787bb7a1506bba5b446e8eeb1392b503ec123e130ff08c0cc112131e4508147460f0 SHA512 dab1212aff42cfbf2070222e9e54adf5d4cd5237537f2b9e95e7d0d5ab909b79be8af11de57f8e30a1167fa1baf8fd96c27d4ae4c23b6030735cda99f8304415 DIST boto3-1.35.41.gh.tar.gz 873340 BLAKE2B 60d2b03b92fb49b1b4ef4208f406df8640b4a297672d12272b9c0e3867c61dfb879cdba0d93d840902d015e9b5889be823009877e2b437cecc0b0cacb8f39818 SHA512 8efe0beb7a604e8208c0039a7c94ec8a70ca2da91cafc76dcf5b442cf6a4bf0e992c113500d8c2b22f9312daef0d50e402747ae74e2ccf333411d4b6856e38c2 +DIST boto3-1.35.42.gh.tar.gz 873736 BLAKE2B 1de9c16155ee6c9a23af028e074a10c37d6874a9076aa66088712438c5308d37ebadca4c03d842d2d82bc629ff0be306e66c49e65af4d55e8334777ec624beda SHA512 c7a1f8f83f9e41abc7a0690442fc8cd48c411605f702ee11521401010a30fc7dc25bf07a72881e3892c2fe268201e61baabafbf6eae8eb5e916439867600cc43 diff --git a/dev-python/boto3/boto3-1.35.42.ebuild b/dev-python/boto3/boto3-1.35.42.ebuild new file mode 100644 index 000000000000..8cba6d95740e --- /dev/null +++ b/dev-python/boto3/boto3-1.35.42.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} +} |