diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-03-06 03:38:54 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-03-06 03:38:54 +0100 |
| commit | 2109264caa27918b39293d0305b3d7fbcd0ba238 (patch) | |
| tree | 305f2dab1f582319916d23a1a876143d39f4a86e | |
| parent | b5799c7b3ab559f847a7d9b76b3b257e6730eea0 (diff) | |
| download | gentoo-2109264caa27918b39293d0305b3d7fbcd0ba238.tar.gz gentoo-2109264caa27918b39293d0305b3d7fbcd0ba238.tar.bz2 gentoo-2109264caa27918b39293d0305b3d7fbcd0ba238.zip | |
dev-python/botocore: Bump to 1.37.7
Signed-off-by: Michał Górny <mgorny@gentoo.org>
| -rw-r--r-- | dev-python/botocore/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/botocore/botocore-1.37.7.ebuild | 67 |
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 1afcc3b66078..f829fadfb025 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -3,3 +3,4 @@ DIST botocore-1.36.26.gh.tar.gz 14281837 BLAKE2B 925ebbca3e415ea7e3388c52e53a6d0 DIST botocore-1.37.4.gh.tar.gz 14291786 BLAKE2B ab55a62f2291e623e61a0ec6712241815279ae6d8f25e678adbf6cf167265d216f44b0eae78f2b66a454253dc4ef977b90c38f1aa329c855b38fa844eaa478b7 SHA512 07921ca8d51ff2afd8a4dafa77b40b5c24afa0351d71dbf68cef716573ba1f695a331634734fb6d9822eee55c91829128dbf215920e3da92ea2b40b727d0a0f6 DIST botocore-1.37.5.gh.tar.gz 14298752 BLAKE2B 99aade487be0277f66f0df5c4631e36c3972c4b14e7579bebd643044d9d2fb5264764053d5f0cd63b1d72d97c801e2ec185a07b8cea4551eed4978830ba791d6 SHA512 b7fbc9861aefe159ac0023d17fd72d9b2483b219244689a68c8f821debd8ba9420d85b296ef7a0a3ed881f286497722e78e78a43084efd5ddd48650d0d8433f0 DIST botocore-1.37.6.gh.tar.gz 14320730 BLAKE2B 04d3c9efe73b815740550da2e3a447b52abd43e73e97b6186aaeb0433da75141fab145f2a10b59902ff50da7040297af93f4217329e4a4bb424681d7c55e5e2f SHA512 7435609ef6de25d470d2f7dca1f8e06adad10ad534eebe0c780982a715dec038e7b7ed1cdac4ff0d9beac46e22d304ffd7a3ae4bbf13f74299de1215f9458bf7 +DIST botocore-1.37.7.gh.tar.gz 14341717 BLAKE2B c22abfbbedbbe1861d3eea6c341312390a731347e3be4df2116144e1a2d7a7e527dad360feeedcf59375e93f8055eff5d1eb1a87ace1961c34f5acc030dd317c SHA512 9773d6e47d38d5a4eea7a5e790ed5f9c6af48c973d5987508bb48da2646a3f51733041678133b1f506810b492142cf2d261101f3ec5a16c095ccce661eb2fba7 diff --git a/dev-python/botocore/botocore-1.37.7.ebuild b/dev-python/botocore/botocore-1.37.7.ebuild new file mode 100644 index 000000000000..9e1580d45581 --- /dev/null +++ b/dev-python/botocore/botocore-1.37.7.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} +} |
