commit: dfe6c29a85ce53cb21c8664579306374478b78c0
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 15 04:24:58 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jan 15 04:24:58 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfe6c29a
dev-python/botocore: Bump to 1.35.99
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/botocore/Manifest | 1 +
dev-python/botocore/botocore-1.35.99.ebuild | 67 +++++++++++++++++++++++++++++
2 files changed, 68 insertions(+)
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 910c41aeb99d..559d251230b1 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -2,3 +2,4 @@ DIST botocore-1.35.90.gh.tar.gz 14180996 BLAKE2B
d3b39e375d33af6515649c9be4b783e
DIST botocore-1.35.92.gh.tar.gz 14183742 BLAKE2B
daace36b81ddb44f13e785979c37d1f22a997c88e32554595a0db910a93148fccbf74def98b64210ee8159bf41fec99f57750741f13e2b468268035413d9bce0
SHA512
fb916bbe9c572c02fec36748ec3c5c3d6f9b9e8c7afd09bd48221675a6738ca9cafd2a05862236275e3b156cb392953b9a23d958afa9ad88b2a2d89fa23c02b9
DIST botocore-1.35.97.gh.tar.gz 14178448 BLAKE2B
dd5f48480abe1495925215a77ca29a4b5a79e79256ac1267c7c86cc1f5db4b14bf32fd5ea6e634f84f77fd28670adb33938f770c11c09ed979654af4f237c1a3
SHA512
28f7d7fc0d7535dca7e22acef0906188fe18da3a96877a88fffc2ae3fcf02433aa18220c32936c4713a8cfe47b15ec63387e836a6cb61574810943fd789a903e
DIST botocore-1.35.98.gh.tar.gz 14182207 BLAKE2B
427a5d1fa48cea7f2862fcfc8e994c537558e793f74db28936e19a2264960f58780af538ccdd74ad9e8aa5ec26ad95208a383b27503ce5c0ec85feb75f604e8e
SHA512
d273490e9f47ae316e8322a014dc36287d7a7dc9c2e7f7239bb00ca0b2b765e2f9a65d4a86a401143e86540d6e928e17c1a1ad4070839c25629b206204127bbe
+DIST botocore-1.35.99.gh.tar.gz 14183345 BLAKE2B
bc75753f1a18aa402ec4885daea1edc8c019a4d7558dd35a7848e01fef531cf20fd81de2a88cb4aff59972f11d8ef70e7df70c3ea68587f1855d06e9e236c5e0
SHA512
d0304fa26305fd8d451333892904bc0e5d87308222ba50cfe0b867f3bf0b0d4e2daf8c7f93d921374132384b9a3b89d4110f048c1a509070228fc5ef6c278989
diff --git a/dev-python/botocore/botocore-1.35.99.ebuild
b/dev-python/botocore/botocore-1.35.99.ebuild
new file mode 100644
index 000000000000..9e1580d45581
--- /dev/null
+++ b/dev-python/botocore/botocore-1.35.99.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}
+}