commit: f8316e67592fc57bb8753b45dbcbc1adde555704 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Apr 5 01:45:59 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Apr 5 02:44:59 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8316e67
dev-python/boto3: Bump to 1.34.78 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/boto3/Manifest | 1 + dev-python/boto3/boto3-1.34.78.ebuild | 58 +++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 6336a64a224d..aa25de8667bf 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -4,3 +4,4 @@ DIST boto3-1.34.74.gh.tar.gz 790202 BLAKE2B 4368db3e11d6bda6eee4ccde82bcc0c2c5a6 DIST boto3-1.34.75.gh.tar.gz 790632 BLAKE2B 846170851c821e72b05b2c94470bc48ed542722ccec5360f03d6f5d6393a4163b21b40ac68f586748106991e501cfc5c66c5dc15e9931605a062c2cd1ef1f46d SHA512 581c5a823297066deeaf832b46d1f14db54df279ccd25c9ae2ba4896389a37f453a732e5291bbd2bec1bfa2107ce1f0efcbaee7b765ba101bec31fac40ca37dc DIST boto3-1.34.76.gh.tar.gz 790998 BLAKE2B fb4db194a2b8257400c0d15b266b1017d93eebf1171d9be26917e2aca7b5bb9f4c7986b035c99c4fdfc1b9eecbf0b4a26dfaaac4871712c6da72ff803e4f60c8 SHA512 bbd0868db23812ee706b8adf9221606b07a5da288c673fee2287c44c23c1023782fd00bd341486900f4ef2e87c1b6392cc59996b22588947ccd6f50c58d3b5cd DIST boto3-1.34.77.gh.tar.gz 791765 BLAKE2B 2c4c9f81e027403c6fe910d369644ad682bfc8edc4a6c8385eac98db3df3e17029d24e0b7f162537d88eb4b49680eee79ab3e3fcbbd413d8e8100f455960cfab SHA512 c3beec62805e943e50035d1754e582d361dde8bc6a165c7203cbeeab2aa1f4e0d67788fa7f53d10d875db1c4332e07a43b1224b9a46dfa825bb02187d5134e36 +DIST boto3-1.34.78.gh.tar.gz 792523 BLAKE2B 294770b0ca88b0e36f22796955954315a5487066af1da5b4214672a5083afc3f02cbf4f1990f5c721d09c7cfe388fc71317989e2e75461dea31767276133923c SHA512 e105f2002c654d617ddd6a115ef0bf1510b349088a8aec80653ed154cbbbcbd01c65818c6cd33db8aaacdbcadb865d858ec96bb86de2bc2b33f2762a96be04b0 diff --git a/dev-python/boto3/boto3-1.34.78.ebuild b/dev-python/boto3/boto3-1.34.78.ebuild new file mode 100644 index 000000000000..b64e7191fd19 --- /dev/null +++ b/dev-python/boto3/boto3-1.34.78.ebuild @@ -0,0 +1,58 @@ +# 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/ +" +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 ~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.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} +}