summaryrefslogtreecommitdiff
path: root/dev-python/botocore
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/botocore')
-rw-r--r--dev-python/botocore/Manifest1
-rw-r--r--dev-python/botocore/botocore-1.43.81.ebuild67
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index ee52a50f46b2..f7fdfb1a48fa 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -10,3 +10,4 @@ DIST botocore-1.43.72.gh.tar.gz 16966215 BLAKE2B ccb01e2001fd1584bc635a19daf2413
DIST botocore-1.43.78.gh.tar.gz 17008224 BLAKE2B 137656d64f62025ca47f03c48ba84aa7eccae9dbc752c81f909c3c3f12dd843bb40173075fc7e255492385d8ea8824da08e5d3155bb5ff1dbfd62c858c0a057f SHA512 bd65c7fe451ef0b3bef21e25e557aa37748ca01f71e567b31b852ac356d323f1cfa6dd0e920eff7c52e0db879a34cf99eed6c1b841dfa6065e139362702f9d13
DIST botocore-1.43.79.gh.tar.gz 17011238 BLAKE2B 989188caae9f23e17e8bb2715338d4ce3e1d9065e2e50b0a9906e7bd006aefe235bcaab041219251b02c6a446ad52a9be3e1a3cb79fbb9bc8dd5a4f94ea369f5 SHA512 c7345748aad9df0d8344b606eb7b2fe384809762fbfc3dba89af46f86a8f5f12ce092464bf3b91d338e4f4c5afedd26587efe8c628dc10ed9c9367fc8469544b
DIST botocore-1.43.80.gh.tar.gz 17027389 BLAKE2B 09089ab7e86f369d9160173188edbb22c82b03bfd8ee18241d7023385b8673932ed5fc9653a37bdf6969829f2246db38b26b865a1de10be228c6e2b7757f13b0 SHA512 15e09c03cedfcaae7cc5d593c32abe17bbf0aa9235c92184a1f85571c865bf9dc21c2e2e7e303827ac8db24b896e053985cc959b2308bbacc5680dad4da6ca46
+DIST botocore-1.43.81.gh.tar.gz 17028673 BLAKE2B d2aa2b4106f30ded0a4abf2e703bcfd5e6ec8efa611e7135c36c8fd1dd1ef2605ad1981dc6c0dfd19899b9db14959278157d56493a70b8209ff3c378d6a3c8cc SHA512 11d9e5a86140a8db3020c205f4d6f3159f8b77dcbe162366e2925a7cfde92b25e8e75f12a13566810c15dd321fbe0d86bb260645503bf6b984cffd853174d2d4
diff --git a/dev-python/botocore/botocore-1.43.81.ebuild b/dev-python/botocore/botocore-1.43.81.ebuild
new file mode 100644
index 000000000000..a3a161f78545
--- /dev/null
+++ b/dev-python/botocore/botocore-1.43.81.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_{13..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}
+}