mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 11:37:20 -08:00
dev-python/botocore: Bump to 1.37.32
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -4,3 +4,4 @@ DIST botocore-1.37.28.gh.tar.gz 14529730 BLAKE2B aa04a445d45d24ff7dad8553ce19676
|
||||
DIST botocore-1.37.29.gh.tar.gz 14534398 BLAKE2B 22916213e7dcba5c6e17105a6abf2752586d17fc1496c1d09b92584cd2d4c5a341c251253bdbdf0699b8cc7d4a2d190d1855698847adf0352f003a1a667bac25 SHA512 3346fa9013d4b361a9fff66aed238d71ba65ebd63555c50fd443aa07eda7c599e1816c8900320a97799ed3aaedd1fd246a5499627ceb9933204f45b878fece6c
|
||||
DIST botocore-1.37.30.gh.tar.gz 14539545 BLAKE2B 73b3c393d5da95b89d798695ba1fb656017c9d3754371d2d6debbcac8e33795d27bad0fd18258b0381148cd2fd45cabadc59a17745bf1908f23342bbfae3b60f SHA512 8f6d8b963e06b94fd373ab54a84c4083c9a55637d88cb75d2844e094dc1a6ca7a954b215f71515841a6a2776526f1807c2a50983f6417b08057bc2ca843ac390
|
||||
DIST botocore-1.37.31.gh.tar.gz 14540600 BLAKE2B 872049187a44ff5d7099902c10cf68a83983421798eecee50b02d8b5bd646a04f22ed2b41ec84374499c9d97ed6a2a4fd4e39b5de77e0c8e56fa94c31c2c94aa SHA512 0fffb63321c4ff58533c121e18a6a3cb4cf1587ce0a6fb8ddacc02d52e50de91f278e928dfaad8801b7f081761e0c7ae311a6acab386bdea6de917ddae13cced
|
||||
DIST botocore-1.37.32.gh.tar.gz 14545157 BLAKE2B 19f5ce89320d0c9d63dffbb40b510309be89e183b49ab6aa5f35b264bb64c6940f527dee7696c334265042c79b5c2d79250f8941db7293c4d464262a8baa8626 SHA512 f90c90a9985e8a36c5c75a072517da4ec762edd08091c19db8fe3821f294e7f8eb09d28359606c0b8a946f36be415bca6e4085c2296ce0d1280407b9fe757ad1
|
||||
|
||||
@@ -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}
|
||||
}
|
||||
Reference in New Issue
Block a user