diff options
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/boto3/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/boto3/boto3-1.42.39.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index fcf236c2b6d3..afe7a0be27d4 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -6,3 +6,4 @@ DIST boto3-1.42.34.gh.tar.gz 1075720 BLAKE2B 52881dd1683dc36c7f3360113d5418fd0e1 DIST boto3-1.42.36.gh.tar.gz 1077182 BLAKE2B 9d0acfb4dfb5f24ff1a132e5c01fa5fff70224aff6800aaf0511d93f02bf90f0d04fb0bf9d1c2eaf541d149e08df1a930c878730b168ff506642930b0d36d2aa SHA512 a51d8565071bf86b87b7dbc220c70edb1cc6e866c0a4305143af76334177df82c128061676f1e400ced03ec37675a8955df02296824b6deb758cdfe54623a7b6 DIST boto3-1.42.37.gh.tar.gz 1078283 BLAKE2B 0feeb879ee4a7d5ac012a9511ef4447344573b333859f6c43b1972f39f076041404541b9023f2b52c063027f9cd961f06da4831448590490b8b24196998e6f22 SHA512 f11b858b1286a3f5202f9c3afabdb6f1ecbc5d6a831b9ad2d93d081291a6701511e0e105a908047496bb144b29ee2394a9b64e5eaa533be5ec3b8907318ca1b6 DIST boto3-1.42.38.gh.tar.gz 1078731 BLAKE2B 59dd62ec0231ead44887989a118722d8d12dc022d61ef26fa347db40fd06a818793d43e1e97268be36310841e697ad47de67168811ce46644725bf567b8af50f SHA512 08257d9e7aebbb8b73f5c94212b32834b1eeed28111a699aa8cd8316201af800bda7d5a20338e8569cdd91b0acc1af0f39b049cd65fa29596a373a20d9335528 +DIST boto3-1.42.39.gh.tar.gz 1078948 BLAKE2B 15a852156234ae0ac04c7ff2d47bfb0da973835be2fa37f94db9ae3f865e1b53b8a1683ca69c61b8dd0165062b3e1e0e39c796e2b9b3ca1c16d20d2b3bce5ffc SHA512 1a15924d9d5db384bf98e75b104417f56900ca2a053215a2d14c96b5fe03f5cf5a4c1ccbdc36d3c3fdec6a39089b556134234572ba462b01b9c6433309bd9f85 diff --git a/dev-python/boto3/boto3-1.42.39.ebuild b/dev-python/boto3/boto3-1.42.39.ebuild new file mode 100644 index 000000000000..019ca75e6b75 --- /dev/null +++ b/dev-python/boto3/boto3-1.42.39.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} +} |
