summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2025-03-13 22:01:47 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2025-03-13 22:03:38 +0200
commit8ed3ddd2853cb2eb01819458e7420fa16d781b0c (patch)
tree13e9db565ab55cbb10d35b29c863cbe6c19862bf /dev-python
parente83577c562d8d082d5e76266a8bc816976df8f9a (diff)
downloadgentoo-8ed3ddd2853cb2eb01819458e7420fa16d781b0c.tar.gz
gentoo-8ed3ddd2853cb2eb01819458e7420fa16d781b0c.tar.bz2
gentoo-8ed3ddd2853cb2eb01819458e7420fa16d781b0c.zip
dev-python/botocore: add 1.37.12
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/botocore/Manifest1
-rw-r--r--dev-python/botocore/botocore-1.37.12.ebuild67
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 7551304c6f39..7009ba915dcf 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -1,5 +1,6 @@
DIST botocore-1.36.26.gh.tar.gz 14281837 BLAKE2B 925ebbca3e415ea7e3388c52e53a6d0a9a1aec001bd579293bfbbba5d756503371a137399d679926d5894f8f4e0fe498a37570dc4c19af99dfa67b4e3d374c3c SHA512 2f2d960a6519efae499acdb704d66a1f329927b30a53900ed035909847ca9a6c1a3b57291e0a0aa153b4bc49a959935b1840ad0d81244f8c2577fd4ba910fcf6
DIST botocore-1.37.10.gh.tar.gz 14351248 BLAKE2B eccd8c6e7b994dcfee49ea322bfee7503e5fb89eded7dc78757a1d2e6627afdf7ac3c73e16d9ef6f9e3ccfe2f9a4f8f917eab80ff6d010fb6db277bac6b4dc99 SHA512 7c3fa7f4f13fd6c7e04b42d0dcf7232a5f73255dead103713cf8b5883b5827f7881eeaa3260156971d0a1120bbb1352fd83d33ab8349a1b45646cf265e116e76
DIST botocore-1.37.11.gh.tar.gz 14353281 BLAKE2B 0f104e3daeb96accfff390cdd7ffe689a26e249bcddbac3b3934be7147d4ea067905510da0a90f9a7c18231de5aea7db15e2d246f272c53f26c1219c39325a5c SHA512 7737b976fab5622ec976b72ddbe4318632a365683a804077ba9ddf2ed5585734c680bee0b90a73f464e1cc78130c66e59ccda283c349685bbe9d31f18b20596d
+DIST botocore-1.37.12.gh.tar.gz 14364012 BLAKE2B 935624a6b655e99534a9bd46eaafb025173bfd95bb3dc3205f295415ea8fcc310c255756808020f76e9bb41d34997a43b1f1e8918add8293fba0167e284b0766 SHA512 724ca9ac21c66c1ea0dfcdfe097b19534e2523b2bf0b54ee92d9426e0748727f0c3d77e00201fb28d2b40c9d371b8e026fb3233ddd0ca3dd55db28f12c56ae88
DIST botocore-1.37.4.gh.tar.gz 14291786 BLAKE2B ab55a62f2291e623e61a0ec6712241815279ae6d8f25e678adbf6cf167265d216f44b0eae78f2b66a454253dc4ef977b90c38f1aa329c855b38fa844eaa478b7 SHA512 07921ca8d51ff2afd8a4dafa77b40b5c24afa0351d71dbf68cef716573ba1f695a331634734fb6d9822eee55c91829128dbf215920e3da92ea2b40b727d0a0f6
DIST botocore-1.37.9.gh.tar.gz 14346488 BLAKE2B 29ac550ad462ab7c83bad7989588ec62fb57959586a8ec91be9756d90712ad86e3dfd813a347e619b7cac3fd7afb56affcd81926e15d91b8d0ceae2cd4436a8d SHA512 e191c9485e95188049c02020fcb32c4429de6cfd78f237a2026200b7240890d5759f5cdd96166cd2aec035dac82d32db155fe00d9ec6be482c655cfdb44265f9
diff --git a/dev-python/botocore/botocore-1.37.12.ebuild b/dev-python/botocore/botocore-1.37.12.ebuild
new file mode 100644
index 000000000000..9e1580d45581
--- /dev/null
+++ b/dev-python/botocore/botocore-1.37.12.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}
+}