summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-02-28 04:29:37 +0100
committerMichał Górny <mgorny@gentoo.org>2025-02-28 05:42:18 +0100
commit4d2f0f37dbce9632a604818f24fae6db468cd1d6 (patch)
tree8f8942a7cad16f4cd613ebe43fdc8adbeab20f22 /dev-python
parentecb9ad10983f417ab112f4b6eed70220699856ba (diff)
downloadgentoo-4d2f0f37dbce9632a604818f24fae6db468cd1d6.tar.gz
gentoo-4d2f0f37dbce9632a604818f24fae6db468cd1d6.tar.bz2
gentoo-4d2f0f37dbce9632a604818f24fae6db468cd1d6.zip
dev-python/botocore: Bump to 1.37.3
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.37.3.ebuild67
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index e77dc68c2fbf..927e58681df1 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -4,3 +4,4 @@ DIST botocore-1.36.26.gh.tar.gz 14281837 BLAKE2B 925ebbca3e415ea7e3388c52e53a6d0
DIST botocore-1.37.0.gh.tar.gz 14283514 BLAKE2B cfa58211455acdafa79782e08f8d6c4902b84b0008d4e2e6cfef248c84805f746f1f605ccf1b5e6920fa0b4f5007bbd02ce2d2654edad52b966344daacd7f7e6 SHA512 ca7c8a46cb0e38d94061ce56654c38b57245292ebf5b0b7aaebb844adb52b91bbf40a69c34c8275c10d757f9dd324dd3afee328e8fc212be7f0128a73b98aa2a
DIST botocore-1.37.1.gh.tar.gz 14286445 BLAKE2B 4537bc4d613e7ea2c1692078867bc43801617e0ab20e8f8b090d952f9e9ec4c39b4aba4605048ad35972ca9b724506cdfaac84633739f7f89ac187313d4e8117 SHA512 ca03f5963f0ee39693f469988b812ada7761aaf61d7325461877489ee4220b9a40f648fb2905ceaff9c3c84a27f43013d4fbba250cc3633110e2cafe1ff49143
DIST botocore-1.37.2.gh.tar.gz 14275068 BLAKE2B 6f15493cf53860049ceb5a7d9c2a06e80d78e17f2667005e424ec9f39eab4d74679d25f6b31466b94421c1d5197b47d06884fa7ccbd131848cf90bab9f148da1 SHA512 cd50844cc7458fe07ca3f1a21e36a28b2ee70e300c938db8aa9adb02f66975ff4030f96dea28e818737d549d73082c4e2801f3f995e5336fc71eff6b0d7f3e70
+DIST botocore-1.37.3.gh.tar.gz 14283830 BLAKE2B 33c17ba44131ff3c4c89c092f2de2d718567f273ad2d856b29b220a768d6d9236ba30080a089d01a96b996cc97c312bd2c2b5d180918239ac3a352ff529ea04c SHA512 1db9af9f9405782dc42171833c5a3371a60c2a8a807d2f2183e89b7bef4d2f9d0b2efa62c8e8c921a24c02ae63f2f4503154674397b037c78bf3f79995d2acb5
diff --git a/dev-python/botocore/botocore-1.37.3.ebuild b/dev-python/botocore/botocore-1.37.3.ebuild
new file mode 100644
index 000000000000..9e1580d45581
--- /dev/null
+++ b/dev-python/botocore/botocore-1.37.3.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2025 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="Low-level, data-driven core of boto 3"
+HOMEPAGE="
+ https://github.com/boto/botocore/
+ https://pypi.org/project/botocore/
+"
+SRC_URI="
+ https://github.com/boto/botocore/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="
+ <dev-python/jmespath-2[${PYTHON_USEDEP}]
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+ >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
+"
+# unbundled packages
+RDEPEND+="
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/jsonschema[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_XDIST=1
+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
+ )
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest tests/{functional,unit}
+}