diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-08-01 03:39:44 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-08-01 03:39:44 +0200 |
| commit | bff082a5fa1084fa8020d60ce460d411d071d481 (patch) | |
| tree | 6b2ccb7ff2e3e9e30140e73a6e46e33f17eca247 /dev-python | |
| parent | be0b2fc396c91543a5f49b005e9d41ccf878c39a (diff) | |
| download | gentoo-bff082a5fa1084fa8020d60ce460d411d071d481.tar.gz gentoo-bff082a5fa1084fa8020d60ce460d411d071d481.tar.bz2 gentoo-bff082a5fa1084fa8020d60ce460d411d071d481.zip | |
dev-python/botocore: Bump to 1.40.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/botocore/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/botocore/botocore-1.40.0.ebuild | 67 |
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 5138f022bdc1..eceef5b33d4d 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -4,3 +4,4 @@ DIST botocore-1.39.16.gh.tar.gz 15015260 BLAKE2B 69e1e2a0a6a0929f05666e7826ee4bc DIST botocore-1.39.17.gh.tar.gz 15022218 BLAKE2B adb0ddec7261dfadbd67a245952db7a5c17c2d4a9072af34402a7109fd0bbb6a4753d8343d8c1196e8e6a6671adf4122a3803a652f807cbfcc3830d8ed37a80d SHA512 c4e152abdd2dbb82517e00c3eee3d11dbf616beec81413287e8d44b76f32b5e79d85950245eb80c62ed51b9172a0114d9b5b63483ca626023df058d45c8a7de1 DIST botocore-1.39.4.gh.tar.gz 14901512 BLAKE2B 08fc52957828be9ccee26f61c4c006679c4f47754d4ecdf15eecfbb991808035215d1aac24f5ddf76a64673b23132b555fcb24adf57aacda8679abd7b0a16040 SHA512 3a68c96000a4e393abb68a9ca843ad62b74decd12ba551fa642efd21095fb3de50f0eeb8ee71f8934e9efa47486a138ee7bad6f3f4408fd5eff0a0fbf5053e6e DIST botocore-1.39.9.gh.tar.gz 14983953 BLAKE2B 929c2456d8efc4256326c255888ebca82edd837df2dc0beeb37119af5f397b74c8e1d1349c66adc79361fe0cbdcb74d268b04ca563fa0047b27cd8f70f755290 SHA512 421421a9ac2845e18ccc6904b443d2d53883c5f85df1b34245541546ef5369cd29fc7af8751507e7513d06c818ff195bc59d6ea4e773b8975d4de874ba79116d +DIST botocore-1.40.0.gh.tar.gz 15036018 BLAKE2B deea1137fcc4e890280970efe0eed46ee11128981265786c8b3526fd83af6e6e34d49218cab19707026703a66269dbd844912aa814fa627eee75c45dff907979 SHA512 1a2003414e8c63e1b8895efd866df7ef6e5ff5fcdd37f80c2818940b8745fc8dbff8b319fa9e97136d97891cd6952c4a8e6dd1a038864d0ba5f77c2204d1b398 diff --git a/dev-python/botocore/botocore-1.40.0.ebuild b/dev-python/botocore/botocore-1.40.0.ebuild new file mode 100644 index 000000000000..a931fcaefec4 --- /dev/null +++ b/dev-python/botocore/botocore-1.40.0.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} +} |
