summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2026-02-18 03:35:10 +0100
committerMichał Górny <mgorny@gentoo.org>2026-02-18 03:35:10 +0100
commit4a37ba4264074f41bd8295a398e96d514a485f5f (patch)
tree9d5068a8ece41f77a44e7520980040fb3de7a1f6 /dev-python
parent95d64e2a729b21953c6293d5b5208b87eb25829f (diff)
downloadgentoo-4a37ba4264074f41bd8295a398e96d514a485f5f.tar.gz
gentoo-4a37ba4264074f41bd8295a398e96d514a485f5f.tar.bz2
gentoo-4a37ba4264074f41bd8295a398e96d514a485f5f.zip
dev-python/botocore: Bump to 1.42.51
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.42.51.ebuild67
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index bc0c9169f6bf..d729ab7c7942 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -7,3 +7,4 @@ DIST botocore-1.42.39.gh.tar.gz 15795159 BLAKE2B 3485a55d4fabb1b7431035d9d22e5e1
DIST botocore-1.42.44.gh.tar.gz 15820139 BLAKE2B a7047f799dc39ee8f49c7128e91e0f11f20c38b946ec5555a75e6fd3f8691fe396d312b9ff3023fc031415cc0846fe94f5d9a5357e31f9d0670cf7e534474609 SHA512 519b7e28d5b46e7e6ac3b375f1926670d361695b34f07d8eddcf48fee8af2b3674040fa5a3b1a27961f77c435a3c4c78deb1802933f08d993dfe4cb782ea4b2c
DIST botocore-1.42.49.gh.tar.gz 15843630 BLAKE2B 823ba230ac7ba7fb3ecef8c716ff0fab0669920cbb3633105e1587c788abd5e99cddfd7ad7c896342feafd226c10eea6fcc2a888a12bacf8fd120ffc5ca51e21 SHA512 c8d73ed693936f97d0b61a9c84c00c3671891afe3173cac3a9610831c02c82c2583c285f746efbc884cb910f5f935a1a369991524b20ef79e7dc467d72497575
DIST botocore-1.42.50.gh.tar.gz 15844813 BLAKE2B 17738a393aee02ecf689acbb95daa9e1a8350913e8d8e24d00e0cd8a25f83bd688363558594f6cc22627a2d79c28b52dd2a99be64d2dc9023721e71c0de1881b SHA512 ebdd01be0d7653c2d31b77007998bfa09f1e67df1054e1bba4b121446fe1aa25a8646de8002621b870cbcd35614c80ce56ad89025f0b017c8d90ff3e66754a16
+DIST botocore-1.42.51.gh.tar.gz 15803682 BLAKE2B 9b986c8171c3e4d8770d9996b995c2a440bd18f2e66c4bead3dbeee2f83b234576aebd3ce0d26e15a2a383cb1951111c06ebb1e614d29b6e1a818deb3199fa90 SHA512 13779007ca629d687fdc631dcd3e3f72f91f53496010f94d489c84132180cb71ff1209b933ac6de5a26adaa63670d12cb0229b8d3be35bd673cd9f0d0417ed09
diff --git a/dev-python/botocore/botocore-1.42.51.ebuild b/dev-python/botocore/botocore-1.42.51.ebuild
new file mode 100644
index 000000000000..d43f8b5c5f23
--- /dev/null
+++ b/dev-python/botocore/botocore-1.42.51.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..14} )
+
+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"
+
+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_PLUGINS=()
+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
+ )
+
+ epytest tests/{functional,unit}
+}