diff options
| -rw-r--r-- | dev-python/boto3/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/boto3/boto3-1.38.2.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 35b99c1b0cc3..d57f4a246c81 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -4,3 +4,4 @@ DIST boto3-1.37.37.gh.tar.gz 930327 BLAKE2B 93ed4e903189a9620f13e71fe64557ebcfa5 DIST boto3-1.37.38.gh.tar.gz 930949 BLAKE2B 387213d4d7bf3eeec902f0720d8a5be87004a9a45f92243636a9ad8e4157cf5ab1b2673387959ae31fc6605078654a7f571bfbaa5cc421b27bb7912c91a93121 SHA512 1723f0b2239c5837759b5f0a5bdedb19decb4d179a5e9e1ef8412bf5f927eda89670578dfec9cefffa694ece5397e2a5a601380252ab125bfe99a968619d360a DIST boto3-1.38.0.gh.tar.gz 932603 BLAKE2B 40fe6f942b15d86a248edf65ffc5dbad72069f929015363470d4df9ba6ee0970915ec536a285b29cb92fe46e323dfbc755195b5901d0c841eb1def32019fde9b SHA512 9c4b9b478b0c4832a5b43f0efe5204988e7a8d644280a1e78cb7cfe12034453cf022d052271bfb133691a7a9def72bdb5cdadadd27b4bcf29beaf05f1654e351 DIST boto3-1.38.1.gh.tar.gz 932855 BLAKE2B d7625eec98e3637e633df3f63d6a7c57b92975525ac9cc02d7da5c88eaa2f92dd82c487ab2dcc76ea089658b0a7d87cedaa0b78119e8f0dae92404bafcee879e SHA512 5965c775ae92236ebe20a72ba9a234435d73b16da832a366aa3ce506d165361aa68a5136083521f96ceb160b156b00a989f1ef4a756cb294182b9d6a1d626d63 +DIST boto3-1.38.2.gh.tar.gz 933689 BLAKE2B 00152f5567e207c4739253296cbeb192d62011a27f43eace014bd26b38fad397b83b6a3c45806e7fdd4d84ad1f33e623101bedb6e600f0dd1552552c85d1d3d5 SHA512 57d02a92693769022af4b73772b28332233163427aabe0b98c2b65da61a377cc8c1d686320c11becbe65d0ac2b7b10e8048ecf48f258200351b87f4e18714317 diff --git a/dev-python/boto3/boto3-1.38.2.ebuild b/dev-python/boto3/boto3-1.38.2.ebuild new file mode 100644 index 000000000000..bc7a61d4d13f --- /dev/null +++ b/dev-python/boto3/boto3-1.38.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 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 ~loong ~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.12.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} +} |
