diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-06-28 06:26:27 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-06-28 07:08:04 +0200 |
| commit | 76779ea6d11e88d25809c570bcd7ae7e85c0b334 (patch) | |
| tree | 246c689b9368736fa723b467ad3b1105df6553ee /dev-python/botocore | |
| parent | 2a61f9432fcf1601522ccc01a08da2928f10d7fb (diff) | |
| download | gentoo-76779ea6d11e88d25809c570bcd7ae7e85c0b334.tar.gz gentoo-76779ea6d11e88d25809c570bcd7ae7e85c0b334.tar.bz2 gentoo-76779ea6d11e88d25809c570bcd7ae7e85c0b334.zip | |
dev-python/botocore: Bump to 1.38.46
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.46.ebuild | 67 |
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index a09e3131e3fd..b1611997b31e 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -10,3 +10,4 @@ DIST botocore-1.38.42.gh.tar.gz 14799205 BLAKE2B 9def6b5bda7f2c16610e6b2b3925cb4 DIST botocore-1.38.43.gh.tar.gz 14803790 BLAKE2B 7aa15b99588100652e084898316cb8e1e11d43ce83a1dcca7ec86303ac4af7db981dd90c63326c69d7ba80884a51a2ed7a5b05f58ed0a7d873550911cd8b7090 SHA512 02666e9997a8a95b286a71cdb9474e18c7c1e96fd519289f0652f5361c519fd4f25b2d92005f13446f91cb2b7f274d0430d75c9678db5da41353a5c3d740013f DIST botocore-1.38.44.gh.tar.gz 14808705 BLAKE2B 0388b0255cff78f625eb34ea30dd90194211056d662bdc16ef19bf26f0683953839996ddebe94b9108e55594c5a951431ee85817a8ed1573deb034ee8f28dbac SHA512 f332db1ff072122d2f79d73d9af7e04b596347bc83788f3f7f339324eeca9e0b7a10c1bf003b4f631628dae7fd5d282054acab7b7f723ee6b0dad03487983d85 DIST botocore-1.38.45.gh.tar.gz 14829427 BLAKE2B dae46d63ab52c01ad48d5ba81787902cf72ccb21a2dc634de6430f3111c2441a6254b7c809fdb80ccf876e38ad8c075edc43ae30c68a02b040125c35de3c02b1 SHA512 71f01e7c213b8fe61321ca0a567b5ef1408051f295b6e6e1a99652c32d8c18301d772b71e5125461ed830cdc044f55d64b4221684c23dbc0bd2df8ae346764ae +DIST botocore-1.38.46.gh.tar.gz 14834968 BLAKE2B 282c6ddef03b7c4a8f88fbc4816afd65fdac8c050ed2233974dfaa985ed001feaedbdf22fc770f56c1f0aa3fbd1d10e6115289e3c11efe672e3e6ac521eaedc7 SHA512 5fb4d2001084c63caa7c8619b55815d882b6f8b0738197d82919a33634205226dc20e06356b51b0022abfbde32a1585307a9b6058a0363d3a48a612206105c93 diff --git a/dev-python/botocore/botocore-1.38.46.ebuild b/dev-python/botocore/botocore-1.38.46.ebuild new file mode 100644 index 000000000000..a931fcaefec4 --- /dev/null +++ b/dev-python/botocore/botocore-1.38.46.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} +} |
