diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-04-25 05:58:20 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-04-25 05:58:20 +0200 |
| commit | fea4a2c4e7d9a2c3ae54e322057f22eaf0ed78a6 (patch) | |
| tree | 90fe61dd5021c0ec9dcf47d3fdf0af4183109f13 /dev-python/botocore | |
| parent | 408005f365322f49d300535272234cf305121c1a (diff) | |
| download | gentoo-fea4a2c4e7d9a2c3ae54e322057f22eaf0ed78a6.tar.gz gentoo-fea4a2c4e7d9a2c3ae54e322057f22eaf0ed78a6.tar.bz2 gentoo-fea4a2c4e7d9a2c3ae54e322057f22eaf0ed78a6.zip | |
dev-python/botocore: Bump to 1.38.2
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.2.ebuild | 67 |
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 271080029844..3fa18b6e841b 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -4,3 +4,4 @@ DIST botocore-1.37.37.gh.tar.gz 14563135 BLAKE2B 290689f13333ab7ebdbac0bccf65680 DIST botocore-1.37.38.gh.tar.gz 14568062 BLAKE2B ca684d02e52ecb0f12597b9e1ab8de4a4979cd177c40d4d71af3bcdaf7d5a27187521624cb178553054acd1eefed7ff10abedb29b86fa0f0025978349ef9a21f SHA512 ed1cedf46a47853a889d6daa63113e0900732fd40af4f44d1787a0d12238aed4c2262de0e1380d2eab2e4a667720d985d48b57e558a3f5305edd3172fe686808 DIST botocore-1.38.0.gh.tar.gz 14576953 BLAKE2B 7a843baf6d1fdc1f9c79fa4eb387c255e97f2bdd0716a3acd21948045ce71206b426bf97d8b9a20339c78db806dde8795b5b3e9dab1c069c8c0866db02308380 SHA512 a3dbd68615454868126da1d57fe3e4a1e602ebc44646a7fd7853471d738a1e6bbdb29881bbe551731cfa693f6a418dfd6140bd1297c20c8a7e59238ecb711da1 DIST botocore-1.38.1.gh.tar.gz 14577554 BLAKE2B b41b110ad2ced738d953da3cc8d8754e4a846e2297723b18d6eca8b91012d77d16765ea7e4b57c20cb5024bc12c75311508e4f598cacb94240ef2a5cbbf12970 SHA512 23482b851d9fd17c8989fb5e800a95c38a4bd49adb0450255965b41a65d0c333b5d5d06655d83e8695590e5852933cc94297463df87261c316062f228ade7164 +DIST botocore-1.38.2.gh.tar.gz 14578560 BLAKE2B 35ebcf4d6f314c5005a1f94bd6d492b3a8c12643815e4eb2b969a3b3c2bfe6f95a765b4a2f98ccbd8165bf979a2adb2a05ff78ef82d31342134ea141d2fd816a SHA512 ebd43e8ad32da33788770d8c22c82a1bc4c2f4381b8b8d12f6ab5b857565079a89964b6a6c533b26308b6aa468e5bc1ce95741ead37a3647da926458c3503b01 diff --git a/dev-python/botocore/botocore-1.38.2.ebuild b/dev-python/botocore/botocore-1.38.2.ebuild new file mode 100644 index 000000000000..9e1580d45581 --- /dev/null +++ b/dev-python/botocore/botocore-1.38.2.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} +} |
