summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/botocore/Manifest1
-rw-r--r--dev-python/botocore/botocore-1.40.16.ebuild67
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index c3c38fde61f1..6cf960e8b0c3 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -6,6 +6,7 @@ DIST botocore-1.40.12.gh.tar.gz 15136147 BLAKE2B bcf52602e06b58a6576f93b6877bd5c
DIST botocore-1.40.13.gh.tar.gz 15137401 BLAKE2B 3fb4a7f7a5b39ceb090599616838eecdb5dfae0a87553c2e2f30ae78d037c8043434e5755c915bc2991b403455a6dfdd3d576a9e72ef4de588a4b560d9157b97 SHA512 1ae9b73fc4f522d6c099c2483ec871156297a1f974e24c56299037690a28ee2b5a5b9f28c4fa5b6ca150febcd37630aec3ee1e5744aa7f7c5d53afa660a49753
DIST botocore-1.40.14.gh.tar.gz 15144900 BLAKE2B 37e990a8f10e4c40499b10511e076da2dd8b376a89aa610c8926180b27630f95fb20b8440b44cdddbf1ca0d7e512e55170d74bf60c6770ccf6ee77e8bbe716f9 SHA512 e00c1c19268cc7b6e87991867af8fdbe440bddb9dd72218305ceaff8d48d88d4c605851c0123a680aca0b507ebe2e6d0421f4a483757adcba71168e0893831c9
DIST botocore-1.40.15.gh.tar.gz 15149835 BLAKE2B 62479259560540bd3ad9c6e0ab99fc87d4b397bc0c61d4351058835e1542e3d2faeb00e0b4903d896cad1579d2f5ff169806f2650675fabf61518e5a9115c835 SHA512 27a3bb65b4272d4797e6eb1a974686f2904fd8e3f2a4831e01161f8e3c873f9fb3df45b16ca7142a7ea51bda67082ab1b7158c25dbf6a8bb920afcffee69ef65
+DIST botocore-1.40.16.gh.tar.gz 15153147 BLAKE2B 7c1c32d1255023d767e513812f2b24546c43e131f3dca28fee2438de3530230f7130d4f36493ef3365b16a0d41d19941bac5a4b39b835ea40ad88d42493d4f5d SHA512 3249395759e7cc4d022bab0068837b48df1c332384972d6a649150b6ad81cfcc6ab01cc7ac46d0db725ff9d56cadd9331b34121267ee9427d1392056fea2f6f5
DIST botocore-1.40.6.gh.tar.gz 15096678 BLAKE2B fb76ace4058c814bb8ef17bb216f5f7355eec401e4108d8a6569e07f97b14becb9e99652364dacb7e46e62f3ffaea2e5e1cd241ae832fe0a359ed58bbcfe3500 SHA512 faa311f29da484083f49a9ae7beda844b8878750c7474916ff7200b4a5fdc01e26295923c7a0f0bc4e4b1c22e5381f69546b8685fdeb2112f1c61810d3c9b58d
DIST botocore-1.40.7.gh.tar.gz 15098734 BLAKE2B d1ac4800e3cdce6a47f4c9da23b30768df3acad0113bf9da87ae2523d74840a79ee29775c072615e2080f7e98b268060801fe9cec653f5b1251c3b6d592422f6 SHA512 e1e81e4d0d0224614680244e4f7986f47a3042039b50ad61ceb4c589a14d11eaacfa1aa501a5791174a202813bd1db256802a73fb8d66c2b517d75ddfa67760b
DIST botocore-1.40.8.gh.tar.gz 15100807 BLAKE2B 0ecd33358b2d6edd6646b092fbc50d90ce4a5accf5427f9296a6bf66f610018659a75abf7f80375e40a561ca7b09139736b1cab0920810f97e65d6060adb20e7 SHA512 18db4b3c2f546700eccebc92e13b0e0ad57c98a0e2f1a5aeab0ea5f710d952d0206e8e4a9ce8f91da756c4f9589f6c5be80341dd6d5ed052ce9ae205a8dec2dd
diff --git a/dev-python/botocore/botocore-1.40.16.ebuild b/dev-python/botocore/botocore-1.40.16.ebuild
new file mode 100644
index 000000000000..a931fcaefec4
--- /dev/null
+++ b/dev-python/botocore/botocore-1.40.16.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_{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 ~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_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}
+}