commit: f3f4601ced13808ac174f19b92cfa6fe5cdbc443 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Jan 19 04:27:58 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Jan 19 04:27:58 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3f4601c
dev-python/boto3: Bump to 1.34.22 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/boto3/Manifest | 1 + dev-python/boto3/boto3-1.34.22.ebuild | 64 +++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 0c94fbb84052..03d8a073cfe1 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -4,3 +4,4 @@ DIST boto3-1.34.18.gh.tar.gz 765458 BLAKE2B 29414e20fa034f63c899b6f2d5460d8973dd DIST boto3-1.34.19.gh.tar.gz 764452 BLAKE2B c0388452728e54cdded0a9944e37e6725e8150b242c8e91ce812aed29a1316ce59e880d5e466e956d9c3dafcea99996801d90a1bfdef2b4eed9852f6dd861f0b SHA512 bad2a283c7c829f1de661c19058b963bfe2dca5e71513729f6099a4102d130a48e5095e44877d29e73308c8104f667229ba402503d4eba287ae975f4cef18c29 DIST boto3-1.34.20.gh.tar.gz 766685 BLAKE2B e68cb60bdbec6ccd4e5ec1c1ae116c0cdb952862902c5e38788ea735083f515a89923b7056f862cffdd40bd967ca717a2387537f1e17bb0f76a9bf49ecb39fc8 SHA512 a2c8bc7f09571f27c45595c15794a8125a23317a785d7e8ea296455b2f63e8375fd818906bf28c6788ff65dd6d40a2abd28aaf8ef4a22fe80a56d01c6464585b DIST boto3-1.34.21.gh.tar.gz 766816 BLAKE2B 79e9c81ce1cfd16b0f8fc4431c2ebba35cdca7e06b48a608986bd4a8aabb08d46a23779e7243c20d2905a1699d40d45062b3450600fb620a1eadeb460c93615b SHA512 3d2176886d0f2da0207b479c71480d6e02f55d8b511c5b12f935d5c4a799911601d5519f5daf629cd002a93c508d323647af06201fd486a5b355192e17bc1096 +DIST boto3-1.34.22.gh.tar.gz 766081 BLAKE2B 34e4eae8387e27acb8eb9a6518ed025b18fea03d900b1b07646cbf16ff47e50a1cbda9b1b36c68a70f2961c6f05020cdc5b8956bac2a860066cd4d498981df59 SHA512 7a7a5431b2410303688e76c8e48561606d173757ed0fc98d1b0ef7511927f45b8fa9eab9d9baaad04c1c705deddc330d422cbc83bde03b82b194ee55fe3be300 diff --git a/dev-python/boto3/boto3-1.34.22.ebuild b/dev-python/boto3/boto3-1.34.22.ebuild new file mode 100644 index 000000000000..037a85ad96ee --- /dev/null +++ b/dev-python/boto3/boto3-1.34.22.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +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" +fi + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.10.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${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} +}