diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-02-28 04:00:29 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-02-28 05:02:48 +0100 |
commit | 66d637db8d292cf920ac13241430c7e1ab6a8b8c (patch) | |
tree | 2dc37526f65165de7353333a98acd1b9c479e18a /dev-python/botocore | |
parent | dev-python/Faker: Bump to 23.3.0 (diff) | |
download | gentoo-66d637db8d292cf920ac13241430c7e1ab6a8b8c.tar.gz gentoo-66d637db8d292cf920ac13241430c7e1ab6a8b8c.tar.bz2 gentoo-66d637db8d292cf920ac13241430c7e1ab6a8b8c.zip |
dev-python/botocore: Bump to 1.34.51
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.34.51.ebuild | 67 |
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 59a24c59c514..8c3a0f9a68c2 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -2,3 +2,4 @@ DIST botocore-1.34.39.gh.tar.gz 12697404 BLAKE2B d8670c591c06cf5b02562adb234225d DIST botocore-1.34.44.gh.tar.gz 12716767 BLAKE2B 335d59ae57ae5a5a1bdb44c3e196dff18cb24dd4a4d3beb59e7b8e887d5cc56f0716b2e4fead0c9a4c96978d661308fb0f1e045300e7af69c94ed799bb25a2ef SHA512 12893173c0123711f496448e661bb8e463fcc29ac95c500fe427e2dcf9810659b92de1d38ec3192e1e20a92ca01a5315733f34d0ffe61f2c9b69763e427ee96f DIST botocore-1.34.49.gh.tar.gz 12729109 BLAKE2B 8029fd3530f8c29e7375eaf369944ada9977a1e445eec3151f2babcd6a6480e8c9a8109f31687b588c50691dca62e635beafbcca71f3a6961d23937fa7e613d0 SHA512 8722a965658c55b35880c65b0b4b8d466691752de4b7654657fe583e4dec36f09910f8298f29099cd035e3acf0622734597e4269d2a4e71eecfc3a7fcf6825bc DIST botocore-1.34.50.gh.tar.gz 12731553 BLAKE2B 9f014ae935ba3cf0cfb52c68ae674f08394012919dae15220c7faaf79e77478dca9f810d552da11b0374f2e5d9bb4026a241c6755aa54a5b4ba4b5b9f26adc65 SHA512 53115fa3b7473dd46f2c31d203e048c00404b171a3a658cc06cb63db61f9be77a44c62a026980e71e108e6bb98a7c74288501b877dfcf7293fdc31c54e1c2613 +DIST botocore-1.34.51.gh.tar.gz 12732148 BLAKE2B 57df6b5825cc07b1179ca67b935c5bea270810377e1f62d9094dd318301140e3cde68551e9501331c825b46e17d267fa0aa30e92251d03039e72f53005f8ddb4 SHA512 8c09e99363f27ec840d392e3cfd2bf7cce42d79ad5e66d3eb77a5ddc5fd3d00070a3faaf602130d9fab0e86aee475cb8a33154de19e9c1458011cd0d6aeecebe diff --git a/dev-python/botocore/botocore-1.34.51.ebuild b/dev-python/botocore/botocore-1.34.51.ebuild new file mode 100644 index 000000000000..ba6cd2a5d2a2 --- /dev/null +++ b/dev-python/botocore/botocore-1.34.51.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +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 ~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} +} |