summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-02-18 09:20:32 +0100
committerMichał Górny <mgorny@gentoo.org>2022-02-18 10:18:58 +0100
commit68ba35d1dec80747ec4162b6dffee4b23bc95148 (patch)
tree9cb0e9f7174d1b5ce0e7d77375b4173345b7c68b /dev-python
parentdev-python/braintree: Bump to 4.14.0 (diff)
downloadgentoo-68ba35d1dec80747ec4162b6dffee4b23bc95148.tar.gz
gentoo-68ba35d1dec80747ec4162b6dffee4b23bc95148.tar.bz2
gentoo-68ba35d1dec80747ec4162b6dffee4b23bc95148.zip
dev-python/botocore: Bump to 1.24.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/botocore/Manifest1
-rw-r--r--dev-python/botocore/botocore-1.24.2.ebuild65
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index b1582c2f16a1..9ada4687ce22 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -5,3 +5,4 @@ DIST botocore-1.23.49.tar.gz 8758361 BLAKE2B 5e53366fdd705e81af6752665f3078e26d5
DIST botocore-1.23.54.tar.gz 8766494 BLAKE2B 27af2f4575fc133a253a4fe0671375f0389a0d526912e63b33a4cc5ee0cfa1898c27b52a53c9f4a496d6034f8d120e96616dd14e037f39dd67a410b8445391a4 SHA512 c986a8c346aea4bda5fc8bbcc02a7fe9ef83c2b278a81f4e6adc865add4e903e097b6f774a3f0716519ced9594ccc792656ffb8adc150be69d1fc2f94d83689a
DIST botocore-1.24.0.tar.gz 8767222 BLAKE2B 9cdcb7677544230f006783d5a666c39c0ec27cf4f854f5dd47865ed8a42ad416b764e81e2b4b539c3a54934cf254f33ced562cd933cd2bd37c36dda0d16afe9b SHA512 1a60073f825cbbe50a8a45c1630391ee0c40646e520e60aef67698f121d1cc31ca5d9ff034ba5c05560193bf24438b5541e9b06c75b9d13888685565d01ff5b9
DIST botocore-1.24.1.tar.gz 8768807 BLAKE2B 649633afa85cab9fb248ed9907e2ea3e57aae7325f4f53271669fbb7fa3f6932ce693878905bfe09e1dd1102a05e4be9dec58f9d3f53778a759c5afd85be6e32 SHA512 192113e6d072897d6eead85d31f44ee3051ab4610718cbb7b49bfc1e1b884fda9b9f793445275d6ecd678fea12b789fa137c41d1effcafd2ab50cbce81a57927
+DIST botocore-1.24.2.tar.gz 8770474 BLAKE2B ed0f5920ae29bc5d51ca5d304f3cc13feb3ca45667d397f77e982d283f1b5551eccdbf41c0e274f56c59cca3398e47c6790d97374f189d4a9411107b0fd7490c SHA512 93811544f756419d6a0a9f49dc836e8c580c7c8ab49f90a541f2f8a24203959976a974056a0953f4d137a19254059e25c356843fb5df91a6d752d23c004f0c34
diff --git a/dev-python/botocore/botocore-1.24.2.ebuild b/dev-python/botocore/botocore-1.24.2.ebuild
new file mode 100644
index 000000000000..79a1cd5da0e2
--- /dev/null
+++ b/dev-python/botocore/botocore-1.24.2.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="Low-level, data-driven core of boto 3"
+HOMEPAGE="https://github.com/boto/botocore"
+LICENSE="Apache-2.0"
+SLOT="0"
+
+if [[ "${PV}" == "9999" ]]; then
+ EGIT_REPO_URI="https://github.com/boto/botocore"
+ inherit git-r3
+else
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+fi
+
+RDEPEND="
+ dev-python/six[${PYTHON_USEDEP}]
+ dev-python/jmespath[${PYTHON_USEDEP}]
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+ >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/jsonschema[${PYTHON_USEDEP}]
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch"
+)
+
+distutils_enable_sphinx docs/source \
+ 'dev-python/guzzle_sphinx_theme'
+distutils_enable_tests pytest
+
+src_prepare() {
+ # unpin deps
+ sed -i -e "s:>=.*':':" setup.py || die
+
+ # unbundle deps
+ rm -r botocore/vendored || die
+ find -name '*.py' -exec sed -i \
+ -e 's:from botocore[.]vendored import:import:' \
+ -e 's:from botocore[.]vendored[.]:from :' \
+ {} + || die
+
+ distutils-r1_src_prepare
+}
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # rely on bundled six
+ tests/functional/test_six_imports.py::test_no_bare_six_imports
+ tests/functional/test_six_threading.py::test_six_thread_safety
+ )
+
+ epytest tests/{functional,unit}
+}