commit:     39bad3eec7bbcb87416e002086a4f298897d7e34
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 13 09:09:51 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Oct 13 09:09:51 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39bad3ee

dev-python/boto3: Bump to 1.18.60

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

 dev-python/boto3/Manifest             |  1 +
 dev-python/boto3/boto3-1.18.60.ebuild | 53 +++++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 090e99f8964..c0be340b4f2 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -8,3 +8,4 @@ DIST boto3-1.18.56.tar.gz 423262 BLAKE2B 
97caee83b3bd074157096383d069427f1a2fae7
 DIST boto3-1.18.57.tar.gz 423704 BLAKE2B 
8b778a6e5549ed81ae411521e3d1e4792a18a539a3f7896022739ca25a9ee1f266b555f4baee507ac71c5129c6a8e919e6d95255f5c0dd64136d89d6fbe5605a
 SHA512 
cad772acd9c93e61fd3f77c935986e0d50235591c63bcb27bc925292012a66c7d0a4a62e6c5129b8f26978eb9e5802eb80533e24566d8b369951c6c5ea42e28c
 DIST boto3-1.18.58.tar.gz 424336 BLAKE2B 
3f1d74885b0668e4926c90395da4cdb1fd5a59ae24364d6c3f409ad29e3f8d0bbe733a7166ec6d33aa4ffeef97f42838af9c304ccf3e82815fe6018bfb8c4f25
 SHA512 
f44f93d2ea5a86f394c5f5875c02fcfd2056071fe0ff4cb482b8c861f01485001a5cd036a4c34435818e55a8bdae6d58c96761ff843dc9326c1cfe22be3129a7
 DIST boto3-1.18.59.tar.gz 424810 BLAKE2B 
1228af67809b75284a3c1688e83aff35e9637bab5db82a2be22f5ccdfa3f999df4dbfeaf0cea2bd1ff02d5224a67c8e0a39e7301e1357a5ac1cbc1f6d00219db
 SHA512 
93c6892eeaeb8b48e7e10f2d8fbd5d84b600fe0bc8474a7589ed21aa084b986b67a84a88d7cefe0ce5db16a4b9a4dbf86918aa22f1abd019aed835d130ac28ee
+DIST boto3-1.18.60.tar.gz 428327 BLAKE2B 
d559c7512c7ab1160dfec4616741002ce82357d3469747044bf79f90baba5e6e3d2f2ecf32ae4cad7522a341d846d199cf34555376d05d56cdbfccc75d0f9042
 SHA512 
e013ec97b4379cbd3f21f000974d8078a2710f29a9a7d34532fa06c9011fb566238d38d45abd5ecad5b26ad544f72b86ae191fe475bd0d729d290553cd461ff8

diff --git a/dev-python/boto3/boto3-1.18.60.ebuild 
b/dev-python/boto3/boto3-1.18.60.ebuild
new file mode 100644
index 00000000000..450c87d9f8b
--- /dev/null
+++ b/dev-python/boto3/boto3-1.18.60.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="The AWS SDK for Python"
+HOMEPAGE="https://github.com/boto/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/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+       KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~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.3.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       test? (
+               dev-python/mock[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_sphinx docs/source \
+       'dev-python/guzzle_sphinx_theme'
+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
+
+       distutils-r1_python_prepare_all
+}
+
+python_test() {
+       epytest tests/{functional,unit}
+}

Reply via email to