commit:     f4c731616a61d68c450d28f9880fb7da106899d2
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  5 04:10:43 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Aug  5 05:10:25 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4c73161

dev-python/boto3: Bump to 1.28.20

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/boto3/Manifest             |  1 +
 dev-python/boto3/boto3-1.28.20.ebuild | 66 +++++++++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+)

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 8c86c1a83aba..46bf56928e34 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -7,5 +7,6 @@ DIST boto3-1.28.16.gh.tar.gz 682801 BLAKE2B 
1c522ed821d46df27abfbd4522066eb43aaf
 DIST boto3-1.28.17.gh.tar.gz 683517 BLAKE2B 
5643bb0da88893cf07013786dafeccd02ec0c060fcd74e8accc6e77d0ebc874b01741c1adfe5fc143f979d4d309a5f9b3fc1bb0d1cabafe6d5f4e724d4355da4
 SHA512 
5c943d3354a59c905e8d32fa5ebf854dee527dd2afbb18f421c256718cf2710d4f10158512a2aeda9b0a6687b668dd8ad76b593e9a2ba9037d665ecda2d30550
 DIST boto3-1.28.18.gh.tar.gz 684109 BLAKE2B 
a16e76ec76884c0d82ad99060d2094a2fa5e77aa672d73d318fa099df8377f8c466503258ba82e4a431115bb7741c73289fe857f26ed63ca249b29f8533efc2c
 SHA512 
10f55baaefbd61b8c51ae30e42fb09796853b618e55ff94753e64915da20e9016768cab5b3d0e1dde379d61aceb9bc65761b21ec350073b6f97e6e80f101dda8
 DIST boto3-1.28.19.gh.tar.gz 684512 BLAKE2B 
f8cb7b2e2ad2861548420b3406e2f76f35377e90a4205353395ba3016ba7cafbffba617902b97a0680275a9e120f4b99a903e6424f6274373d8a2b540f81faef
 SHA512 
c4a62a1ca2951536700f8a337bbce9ea1093f0db5076df9d912c66f24917aa55d79980e4a712cf05cbf329fda2ef6c216dc6ef4d2a36d51d0d9c0320d0a5ae6d
+DIST boto3-1.28.20.gh.tar.gz 684832 BLAKE2B 
dc8dee3e001e26fa5e9f1355ef40cb03a860fdba2585abb230213f04d443f047aeed3c8fc866c34e546d9dd74e373311172aa5a9ad235dd3f99d3c6d81dac8c2
 SHA512 
7409ebf4fe84b549ec701cff8f5c8373f360d1855e3834f2ff1c1882ee6c34ad5b5bed0ac8f133ae3412026c4f69ed626858c019e6338e03e4ebcbc2cbb761f1
 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.20.ebuild 
b/dev-python/boto3/boto3-1.28.20.ebuild
new file mode 100644
index 000000000000..2a4a7643203e
--- /dev/null
+++ b/dev-python/boto3/boto3-1.28.20.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)"
+}

Reply via email to