diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-10-23 06:25:29 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-10-23 07:55:22 +0200 |
| commit | f3681896f5ab111a44a94860fc0924f22772414b (patch) | |
| tree | 70c4db8ab3a943ed52a8303f06ab9850d5967403 /dev-python/botocore | |
| parent | e192496753967af6ba10fa1d42f2b0f0a969a04d (diff) | |
| download | gentoo-f3681896f5ab111a44a94860fc0924f22772414b.tar.gz gentoo-f3681896f5ab111a44a94860fc0924f22772414b.tar.bz2 gentoo-f3681896f5ab111a44a94860fc0924f22772414b.zip | |
dev-python/botocore: Bump to 1.40.57
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.40.57.ebuild | 67 |
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 0dd18332163c..0a2046eb13f3 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -12,3 +12,4 @@ DIST botocore-1.40.53.gh.tar.gz 15251620 BLAKE2B ff4e660e6b2ab94e1ddc2f7a8c9a888 DIST botocore-1.40.54.gh.tar.gz 15251739 BLAKE2B ca4f84e88e76bf2ea9b88833b856b4d6f19b3b973e12bb4b6ffbec2004e6586cf607f410983762d2fefdae9f7d6460abba6362dfcf46887da0acdf249260fc26 SHA512 14b995a497dc77aa8f95a51a77862d6b0a8298f1ff526bc87c4c919a1073c834efd66040ac91279eb3932b81767e09bc360cc11b80951ab3fc2d96b89382fdc2 DIST botocore-1.40.55.gh.tar.gz 15255349 BLAKE2B 22516d43d5737d92bbead967a13b4ce72fc6d35d928f9ac6d9906505412813b1649a5b5e73d14f90d7650682568ca3545e4b4b70b9908570725f4c3e2a4adaee SHA512 175dafe4d80c9283cfd4e81d74e59ad694356438b1a32c765baa78686b2afeb3f7e6083e76cdf488efcec0fbfb26967a408cb9a9cb48d0a0feb37977254a14a6 DIST botocore-1.40.56.gh.tar.gz 15258987 BLAKE2B a7c859f57d02f303a241e8cde8527fa91b839deeb6696ad59128766a3c1d80a7aadfc4c48c6ffe408a0fcb10062b981987e7cc965f22802e1596479426e7a830 SHA512 40ea7244eaf3c81dc45b2d0999d080b0804382b8b102886e66493d618c84210dffa3d19bc7e2eb246a3523bfc22fefdaf28065d96a34c4d8fcff7354e1c632c1 +DIST botocore-1.40.57.gh.tar.gz 15277091 BLAKE2B ce447b41606568d1ded7b2c10aad40f0e334bb65e72809a3e7055e5dae1779ee854ef895bdcce4386602c0118bef60349985d5d098b228cfd9bcb7c6ab325d05 SHA512 3b19bd21c2f94aec079d04a48e5e8150b246fcce1f6e90fa2e51f899e34a0cf1f40e3074b6327b039f46597f6fa6cc5096c0f7cd61d8e0e222c4a3ea23d8ae1d diff --git a/dev-python/botocore/botocore-1.40.57.ebuild b/dev-python/botocore/botocore-1.40.57.ebuild new file mode 100644 index 000000000000..a931fcaefec4 --- /dev/null +++ b/dev-python/botocore/botocore-1.40.57.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} +} |
