diff options
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/boto3/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/boto3/boto3-1.40.46.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 7a41dec94e1e..61b0e7ed2048 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -5,3 +5,4 @@ DIST boto3-1.40.30.gh.tar.gz 997925 BLAKE2B 4467751d6248dd25b046c23680d966d3222d DIST boto3-1.40.35.gh.tar.gz 1001174 BLAKE2B afef89c4d20770e9d7a8fbff39c2783f25331dc89ec9a025b40afd93a5e5175d1dc041ff3f6e866cc122bb81348c455e1740e6d793ed0ac8c5bc885f1eeb6085 SHA512 fdc723da40b22d6d46cf8c39e5ffbf80918d1398bd8e639bebbcfa4c5bda0b405fa2ada4ea22aa207fa0bf41bfe2242469e870c9f61f20a40a2e90630acce7b2 DIST boto3-1.40.40.gh.tar.gz 1003705 BLAKE2B b7a555bb3ce92d01a14f3bc43a689452ed7f1cdef7e8f165ed4ee9b5625ab8c064c4ba541c67f301d938d6a3886301f1c563c0f77a72bae19c88ff60f35fdcfa SHA512 47172d50ce7203abb5e85e7e66da93e388a6f28a244fe0e654f619dee5388961d080ff04ff7126c09bc52af7c3f03cd4c334fc757bc63fbfb2572cab668b7b26 DIST boto3-1.40.45.gh.tar.gz 1007074 BLAKE2B b6b36715046fc1468ad02770b31c88276d342546f4482c75d41686d4754c4b5a4231d027356bac122be08067943ad7df02bbea6fa2086a79306125ef41fc27b9 SHA512 4533e413d4771b5770f77df9c6574dca3d85bafbc1d65918b90c294fdd32ff3e6ab6e5e5f95c2ae0fb9db062eda411d2fd7fab7c7b873e87e2074ca34a13cce1 +DIST boto3-1.40.46.gh.tar.gz 1007701 BLAKE2B e3d79e6e3cdcb45a022d847617a77191ba1384839458c114679c77580fed8db954bc0b087a4073647b8adef9845b33360a47a8865ec83fc22e72a195d8463121 SHA512 cd47dcf610fa5b0c7b0341231093c899efc63addc4517f2ea1da43ce5e37e7d3c8ff99103816c8d119a5f2fbc0cfaa0913eebd66aaa6d65129b3ed3b56fab5a7 diff --git a/dev-python/boto3/boto3-1.40.46.ebuild b/dev-python/boto3/boto3-1.40.46.ebuild new file mode 100644 index 000000000000..90fb2a42e6e5 --- /dev/null +++ b/dev-python/boto3/boto3-1.40.46.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_{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 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.14.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} +} |
