diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-06-13 05:26:27 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-06-13 05:26:27 +0200 |
| commit | 07df097f1dc28a2fdb9eaf965331b43040fbe57a (patch) | |
| tree | a835b7afd9567046c40c69885e8ef8c8d9be2a5f /dev-python/botocore | |
| parent | a49be27180377a1d9d4171464c77a9c0ac1e1257 (diff) | |
| download | gentoo-07df097f1dc28a2fdb9eaf965331b43040fbe57a.tar.gz gentoo-07df097f1dc28a2fdb9eaf965331b43040fbe57a.tar.bz2 gentoo-07df097f1dc28a2fdb9eaf965331b43040fbe57a.zip | |
dev-python/botocore: Bump to 1.38.36
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/botocore')
| -rw-r--r-- | dev-python/botocore/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/botocore/botocore-1.38.36.ebuild | 67 |
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index da3b7a05820e..8bd88ede5fc1 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -4,3 +4,4 @@ DIST botocore-1.38.32.gh.tar.gz 14700669 BLAKE2B c88446a3fc16de58f0d52fa3ff6f345 DIST botocore-1.38.33.gh.tar.gz 14707771 BLAKE2B bf2d34e054e99205689e446edac267c30b046c67d89b9fefb345b9b1417d4dc54a04fe971a46271717aec6c9f4235238ee4f2d93b2d08a28d5150e85a1aae91a SHA512 03a5a3fa307044ac5c878237dc88d71b66e598cba01e23bf1b4ab32e2f0f20521dc9e25f83bdea097aa9de37f249aded9dffe602cfa9c083e48413786e2e0e8b DIST botocore-1.38.34.gh.tar.gz 14707724 BLAKE2B e0355ae2b3386fa0d3c180ab1c0c02c26dbf9b2f5b4b0c3cafba8f8e8b7cdc624d5cb07c857f79a9b68983dd7a673e785f432cdd27f249349d6d0f20186c5239 SHA512 a47f9060c54421cf705334c87232c762f99fb793802947ae878a39891656ad196dbb1dca1b469af433610be0188da5a869d1de7a5ff4353bdacb7d0802caf8ed DIST botocore-1.38.35.gh.tar.gz 14715036 BLAKE2B b7917ca4cb742e7dcd872df5c38a74ff454458b91f03fa90f73fdb69e6bb51b1223e13ffe33c9c491055d33cf614e5eaafe6ed06228052e613d348f42515fc1d SHA512 babbb4ee63417bf61503f198990514773590c19eadf5fd03890ab6e86d66a41a4b88024eef60fa7afc00e1c81135e0448c4b8a81c9d49ece04049dbdc093aaae +DIST botocore-1.38.36.gh.tar.gz 14720436 BLAKE2B fe5b58bba65c55b4ace04b5fa88de6fcc8c47e4c5de4ff1ef9c6c24554d40ce5f8b93bddbc837621231c5324a12db1682f554d290a345e898e3646ccf0e48ae1 SHA512 e941f02b1117e8f2690f9d4355a3dc0138e88db007b76325fe55cd4b41c0fcbc2f9b306bb1c5c49ef02c56926eab82d6469c6761c164d16678963091ab9d925a diff --git a/dev-python/botocore/botocore-1.38.36.ebuild b/dev-python/botocore/botocore-1.38.36.ebuild new file mode 100644 index 000000000000..be6df9120cc8 --- /dev/null +++ b/dev-python/botocore/botocore-1.38.36.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_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} +} |
