diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-11-19 04:19:08 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-11-19 04:19:08 +0100 |
| commit | 95a5a72d69bee6fc8df1f200322304e7ec5ac428 (patch) | |
| tree | 11d08af692d5840937c2782d0287a8ff80a30784 /dev-python/botocore | |
| parent | eadf423edfee2f7e141123e8eaec23b534ddcf33 (diff) | |
| download | gentoo-95a5a72d69bee6fc8df1f200322304e7ec5ac428.tar.gz gentoo-95a5a72d69bee6fc8df1f200322304e7ec5ac428.tar.bz2 gentoo-95a5a72d69bee6fc8df1f200322304e7ec5ac428.zip | |
dev-python/botocore: Bump to 1.40.76
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.76.ebuild | 67 |
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index eb664f9372d6..62909b5656fc 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -5,3 +5,4 @@ DIST botocore-1.40.64.gh.tar.gz 15230274 BLAKE2B 6156b2d80f6aee5df0d746bf3a2fe1b DIST botocore-1.40.69.gh.tar.gz 15265787 BLAKE2B c567c9d2cd25d98e7055b829ca337654f3c2f239296e32735d8064dc698a4fee41464a0ca22453f93feea7a9d6eb58183406780c56bab345521420c7177681a9 SHA512 2c76026a2b5114fbc4d8be54cf67ade64f3a563f8b50e83bdfc1f238f220a94acb1ca1aa607ce4934a8e2b58ebfa2c4b07892b693ad80d539188352a3ffa1f75 DIST botocore-1.40.74.gh.tar.gz 15284643 BLAKE2B 585f072a5ec39c12e3f74a272b0c5ed7d07d1f69b704058d9154da2c12753008b57c5c1c05e7cc982aa4cf28060aa20c62f7ecb6874534b109e409f3b2fcf05c SHA512 c17d51212481e5e3c4af912679894fb73ae4084d983cc086e99ffa7b3522723ce7bf82e6745cc55cc1db9d2ae1657d0e1a74cbd3b06653e7fc1987125667b18d DIST botocore-1.40.75.gh.tar.gz 15307607 BLAKE2B 0529d1f62bb6ac6b730eceb4ed53961636399818b3b832df28c2f3c8b3fe8bcd8f0609ce84cb95c9c45dc2385458b8756b9a8801da9b081410d67ef916dd8f9b SHA512 1f06fc8767f95502c36d8e68116059f42c7a4b9cb7c4ef6329f1fef3b19fd33d85519ac571138b0ad64af8c99c69b57d9c7f07c443922e7853b5c625ecb2d973 +DIST botocore-1.40.76.gh.tar.gz 15329738 BLAKE2B b52289d014878fe6f6ba8053ce84c77fd569819bc5f0b482a3aa1e9f543739e019ef35d530487e0bae33f80e45e302741ab4437e3f1841618fca59caf3d95b03 SHA512 4ce5c91ce346f5317ac0287913926743785388f31f746e05dc6751b3ee8e087382a4f140a46a4df83327e3c18f3f5c88d6e834abe24c35fcc810ba4ee23ec933 diff --git a/dev-python/botocore/botocore-1.40.76.ebuild b/dev-python/botocore/botocore-1.40.76.ebuild new file mode 100644 index 000000000000..a931fcaefec4 --- /dev/null +++ b/dev-python/botocore/botocore-1.40.76.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} +} |
