summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-11-01 06:54:22 +0100
committerMichał Górny <mgorny@gentoo.org>2024-11-01 07:35:19 +0100
commitdbb8c6a2112cec917c49dd9307d4499f430b802e (patch)
treea9c106d4c5f1f7a3cda65e115fe1bb066616510d /dev-python/boto3
parentdev-python/botocore: Bump to 1.35.53 (diff)
downloadgentoo-dbb8c6a2112cec917c49dd9307d4499f430b802e.tar.gz
gentoo-dbb8c6a2112cec917c49dd9307d4499f430b802e.tar.bz2
gentoo-dbb8c6a2112cec917c49dd9307d4499f430b802e.zip
dev-python/boto3: Bump to 1.35.53
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/boto3')
-rw-r--r--dev-python/boto3/Manifest1
-rw-r--r--dev-python/boto3/boto3-1.35.53.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index fcb5d6f6b0fe..30f5409ca57c 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -4,3 +4,4 @@ DIST boto3-1.35.49.gh.tar.gz 878577 BLAKE2B 8f9ddf29eaad2f91a9ba670b268ac987f7f8
DIST boto3-1.35.50.gh.tar.gz 878776 BLAKE2B 23b43830c16657e688bec46b65ae784fa8f70c5849f809bf71a4ab73533d43efd76a56bf0694d99a488bffed42896f034fe0b4680705093bd59d0dd86904c721 SHA512 91b66821f5698f09ef61851fe8419cfbe2b85f1a586858a490d12ef63ef2309af76b5393aeeb3a6b31a74a1d2dc46712750fe4b75dc627dc55fd681a5b019edf
DIST boto3-1.35.51.gh.tar.gz 879889 BLAKE2B 02e4a1713aa5112f4f8aa04b92c07748b1a4e5810ebac8ee62bd7f472852d77f3346106ad969e88cea9a9d0698268df1e7085a151000d2c6fa5efa424e21a829 SHA512 c4a733332ab77fd3b58a679e72893c2ef92e6f995c2993adca51423d5520b2fbf3febf6b97c4bcb6f341b55ffa01c19782b8aa9c822f8a5bc6012cd13c441b0b
DIST boto3-1.35.52.gh.tar.gz 882473 BLAKE2B 486214a218babb62eaf4df54e3df5521cea656bb7246b8b7f1c5ecbdd73724b1340c31f7211c962d91875fa434f210bc0866baad79b9e3c2495ffc600a6756c6 SHA512 981801e059640ffc57711b643b5bb52bed7dd8a0f1015b96b298cd817a2d65937a0e6a8a070befafc819eb2babb0819e2144223d075495507fcb75fe76af8d3a
+DIST boto3-1.35.53.gh.tar.gz 882494 BLAKE2B d28732988f93a4171913d882c90db2ecbae9349a590aae87df6c70d123c8ccc485b9e1adb1cf741fffcb5f4c6b5b7c111fc1a83c81357c710a2a1b17d1dac18a SHA512 e97ef9de59b9ff523f872a85af9125a40aabef1531f69b7ec0b49c9a8064e499fa098ab6d53036c4991cecc35a316fe1aaa27979444310c36ce1a638f041928f
diff --git a/dev-python/boto3/boto3-1.35.53.ebuild b/dev-python/boto3/boto3-1.35.53.ebuild
new file mode 100644
index 000000000000..8cba6d95740e
--- /dev/null
+++ b/dev-python/boto3/boto3-1.35.53.ebuild
@@ -0,0 +1,53 @@
+# 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..13} )
+
+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}]
+"
+
+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}
+}