commit:     90c1e9a9236b608a21698910ba79052136bdffce
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 11 08:22:44 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Nov 11 08:49:13 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90c1e9a9

dev-python/boto3: Bump to 1.16.15

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

 dev-python/boto3/Manifest             |  1 +
 dev-python/boto3/boto3-1.16.15.ebuild | 56 +++++++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 9f5ccaec60c..8f936b13237 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -6,4 +6,5 @@ DIST boto3-1.16.11.tar.gz 338598 BLAKE2B 
0cd8f8271e91a459cc4cb669b466ea82f135c37
 DIST boto3-1.16.12.tar.gz 338648 BLAKE2B 
ffb266966a51ee1ce91d1062bf5f3500c8176b809e856320ea3feb8994768b6b227db14f00ed749df7afb626e864a933446caa2c714653b8dc6b0b4cac0ccddb
 SHA512 
6f6e114d1be6d7773bdde574f12db1046e56592158960f1a0a67e935df8896afa21e82844b37f27c31af6b9705d6704a8b98b9e8b0aa1a683bce32357582430e
 DIST boto3-1.16.13.tar.gz 338735 BLAKE2B 
ce2bea512bc01b4a5fabdae7438f88118a61d550604c2aa38b573333dc7bdb1b13d205884084da7f3f0425b994410676920b00c474f81abdce84f2d7c53cf1e8
 SHA512 
ed7f58fe7529e6ec34f1a3d8d173fce532fe4ee7185657b1dc41186eb42a506d55f2803f69ea0b6ae216a6590f33ad15fff0c31975a6002566b54d7b187d5edc
 DIST boto3-1.16.14.tar.gz 338870 BLAKE2B 
71ee68c7d4dce99a6534dffa1f65717f6d68460a127a4917da5b45a6f84cc9a917b424f8e4c517ec046f14b2c9a2643d6ed05fc4fae07f7fcc744cab471aca24
 SHA512 
814007838379613bf03720ce2b8c4bbf8ade0f8f0a328da03d1f9c58df4db3aa36f4c2e4b67d222d72674a159e352499011b37349215c2c2526d9f43c2935ae6
+DIST boto3-1.16.15.tar.gz 338877 BLAKE2B 
817fab1f721419cf061b833f1e3e531a0480747fc7879ed048a62b481048f762bd78271832a85e782b91ffc6eebd7bb21550715c0c2cf7bfcea1f3d7ed8d3f8e
 SHA512 
7b5bcbacfa733a81a2dbbaff89e244a37dee280e10263871bfda1e844760584ac350b4fafa721bd2ef39696e80bf317011a1d39f9baa29197b4a224ef74bfa53
 DIST boto3-1.16.9.tar.gz 337905 BLAKE2B 
ed01e28fd7e62e5e5028307c93f92004bfbecffa77bc2ba1d6574b92ec2c515d910eb5107ac5ee03e0aca909f97f379aa65b5f839c8067634fa69266c58de33f
 SHA512 
7343b8432788ef981819f91fe2ba27c4ec3947d01ff55914f7c89607250ecf60db2da8d25c8a2c7001ef546a9abed4cb744c5937ca09497aa1a983049648bd5e

diff --git a/dev-python/boto3/boto3-1.16.15.ebuild 
b/dev-python/boto3/boto3-1.16.15.ebuild
new file mode 100644
index 00000000000..ccc99e1c241
--- /dev/null
+++ b/dev-python/boto3/boto3-1.16.15.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6..9} )
+DISTUTILS_USE_SETUPTOOLS=bdepend
+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 ~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 nose
+
+python_prepare_all() {
+       # don't lock versions to narrow ranges
+       sed -e '/botocore/ d' \
+               -e '/jmespath/ d' \
+               -e '/s3transfer/ d' \
+               -i setup.py || die
+
+       # prevent an infinite loop
+       rm tests/functional/docs/test_smoke.py || die
+
+       distutils-r1_python_prepare_all
+}
+
+python_test() {
+       nosetests -v tests/unit/ tests/functional/ || die "test failed under 
${EPYTHON}"
+}

Reply via email to