commit: f96cbba645eef81ba70712c06e3ad38a628e3433 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat Aug 12 02:20:55 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat Aug 12 02:20:55 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f96cbba6
dev-python/boto3: Bump to 1.28.25 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/boto3/Manifest | 1 + dev-python/boto3/boto3-1.28.25.ebuild | 66 +++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 8e484ac6e553..fb5bc34fcdac 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -12,5 +12,6 @@ DIST boto3-1.28.21.gh.tar.gz 685243 BLAKE2B f6f6effd9ac42fb9d8db8ec91f628cb90b39 DIST boto3-1.28.22.gh.tar.gz 685817 BLAKE2B 53dc35d037fd3605ae8a63c85e77e5b449cc9d7f80c4e06c3d96104afea7fc07c11759e3bea5ba3fa5fa1d86608dfa7ce3ab2612c66239e7ec06603c81c2d744 SHA512 2d255b1eb02626f7b63503ef2324b97b59ebb1728d9c2be79f3a65810ceb13bfb4091b3f657f61422a324fae559c065e848ba24e3c7c1e25a4fcb200eab133e5 DIST boto3-1.28.23.gh.tar.gz 686500 BLAKE2B 0ab169afe4d238d7a09d0b9e2c8305e1f4ebbdc64f9225af2712bffe6c71c70dfe66731eb2af4c9be505aa15bfdb091d276a72889b943afd65ae07f893b363f5 SHA512 7951f3bb229ac6365da7534ad157df461875a85730958536bed005d5dd7981bb75ce5265796c28e39806f66b46fe790e9dee9f75e3fc6fdad5f1aa3b4bb7df5d DIST boto3-1.28.24.gh.tar.gz 686681 BLAKE2B ce037be0934ac2fcbedfbec4c32931e4057972c3ee6a2804c6e836227d77a1df99d7f7005f3b9a6886e2a012b6b5b12d48b6a652e293c9498754e8a98176d02e SHA512 f70724927e4971ef905ecd9b0ddb3462f0ebd4b99bac54873bd246903c26e38c13d0aad0bc141e6046556ce6365c680bd9fc4c42f82033358024eb8c46eb3f35 +DIST boto3-1.28.25.gh.tar.gz 687791 BLAKE2B 641dacd5076e51e64991c0bb97fda6f5b8d705b253ab902a5598daf23eca65ad586348f38e6dce0dfd90526a49ff56320dc99972d375e61d5fab3692f5948674 SHA512 2e47027c035338a9d70027b32c93db04ac859a8cfe6c9f962df33c1139df5ba1562e9e0bb32670825a93c29fa2b231779221c6b54c5b2bb498c5e19667763306 DIST boto3-1.28.3.gh.tar.gz 675019 BLAKE2B 93b29307fbfec4e61dc60d28e4f20392ae2a730f048a0b2e8cb99fd515a036fc4ca889ddd564e09b1f3eab4cb9499c5918b4e7430d63148dd2854d126719a468 SHA512 514d0f373f25bb691abf5f1f8b0209a07097191b2ad8fb6339739e7a0bd2b8e6d5a88f1250e928ca89b1f1aa5e27a44bf2cab38a57680c01214d370d11944ded DIST boto3-1.28.9.gh.tar.gz 677993 BLAKE2B a800de94cfb0d317b41091fb1d2bb0fd6449df85da434879c0689bf36998b2a52331ba077c65cae9967fcce998a15d2a6f6a758931fa12a00b95487adaf81dfa SHA512 6e1e5e74d20d2e67f29597ddcda70475cbea863978ca93ec77a0f478690477c9782111701771d5b8354f4402c21496e7f5627b1398cbd6fd87627fd978f5e360 diff --git a/dev-python/boto3/boto3-1.28.25.ebuild b/dev-python/boto3/boto3-1.28.25.ebuild new file mode 100644 index 000000000000..2a4a7643203e --- /dev/null +++ b/dev-python/boto3/boto3-1.28.25.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/boto3" + inherit git-r3 + BOTOCORE_PV=${PV} +else + SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + + # botocore is x.(y+3).z + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" +fi + +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +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} -n "$(makeopts_jobs)" +}