diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 84039caa502df..803a2ff4dc940 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -7,3 +7,4 @@ DIST boto3-1.42.59.gh.tar.gz 1092344 BLAKE2B 90cef2aa61be1e7627f8a1c7b566097a5cf DIST boto3-1.42.60.gh.tar.gz 1093008 BLAKE2B 97afe677242ea1ca6e3d0ad662cd4f18efdd80b1f3eb29d70395632f5efc51349d4ba8a980f8d63247111e78303f6394e741e5b574a31bc39bd8c8b6a42c08a5 SHA512 51dff737ba3e3b0ff491c8cacc864d2ad58f7ddf92da5d26b5f5c1f5992029782e9a77a50b0f2b04112241abb9c2d4e1faaf4cd513ae35f419e49a92d1e9ff35 DIST boto3-1.42.61.gh.tar.gz 1093876 BLAKE2B ba4631b911069536202ed3f86e7635211d753b0f1ecfe0d7e369357d70a953288da4daa56851b56186e49aab58e829bbc0b93f662d73a75e866df3e5fc72ae25 SHA512 e317cd1cc08abeea46554e3960defea8fa7cf7018821013f487bda38db6e8f54e50aca629b579b1a548a3696ed742188d4da58a0dcdfa80364d270e01b3928ba DIST boto3-1.42.62.gh.tar.gz 1094541 BLAKE2B f60b88a6a6d61dc5e7f7f1918c6b90d530150668adda59d3a2281729c4a072eaefa1d7561f4a94ff7467f592325a4111863b52c8fe09d8676655d98401eba3e5 SHA512 e2cc706d1ae2c153489d099dc1557eacbcc3c2404b75cd6a8d81dcb0e5cf83d7faafdfddecc1a1833f566eaf7cf0e474753fe75d4dbebf484a42a63e3328ca0c +DIST boto3-1.42.63.gh.tar.gz 1095562 BLAKE2B 26ffcecca0099e4ad72f3dca7be7dcf946d7461867acbd27b599c812044d10e875fb2818921feedfb761d2b38756d247d2bb4f05a4b285e68580f85688625f23 SHA512 131705d3f1cee436c07ab2c3707ad86ed0b64e308f50197ae815c7133bbb32b9a5bbe5de6c8e994f3b76e482669bb17ee1233b36da56428d7b909bf5ac7431a2 diff --git a/dev-python/boto3/boto3-1.42.63.ebuild b/dev-python/boto3/boto3-1.42.63.ebuild new file mode 100644 index 0000000000000..019ca75e6b75a --- /dev/null +++ b/dev-python/boto3/boto3-1.42.63.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) + +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 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.16.0[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +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() { + epytest tests/{functional,unit} +}