mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
dev-python/botocore: Bump to 1.40.50
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
parent
07cf594ba8
commit
01f4ff16d5
@ -9,3 +9,4 @@ DIST botocore-1.40.46.gh.tar.gz 15205441 BLAKE2B c6d5a7d5061445ff811e7c45159fda3
|
||||
DIST botocore-1.40.47.gh.tar.gz 15207044 BLAKE2B 11539f60967588c526d6f6933dcd750711018ef69675b4d573f6a66c992c774fe8a923e5d7734678e2800dd3c47a65dc2ddd664a351340dfb5c3e3aa1544cb14 SHA512 331048ed4fe81070fa678815812841297df231ef05560f7b591fbb0e0458db051b7f49a85893aa989eb96a6099da8eb9583be77535cccf2f15aecdcf271f85f4
|
||||
DIST botocore-1.40.48.gh.tar.gz 15208302 BLAKE2B 209bd572ed31aadf16cd2392170c6f7007866a8ab6d603a940c557af49241bd28e8f30f3e0e0f2887b31d61402c53048fb05789ee90b50d2a2fe83082225e19f SHA512 a252a85c5cf276cb04cc569f56bb7880b1732282ea523b12f4c8c662efe21e5b7fbcdb52adcd867decaa9a4a5b066aa455b81e48eb287284a8b7bfbb0d7eef71
|
||||
DIST botocore-1.40.49.gh.tar.gz 15219779 BLAKE2B 4fd27f859ff1f78f46478cf4b4d718b03ac2b2212decc1d1edea842309e45811475eddf407a38838fcccd77ae779bc0a704bdac018b1a21f06c4aeabe097bb15 SHA512 6b8eeee08a71381cf0a8dc77910ac4e01ab13c2d27fc2cbb57501874a40c9527a2bbad20c76c49c3896a2349c4db975d0e3ce23495d63c119790a36b6b180495
|
||||
DIST botocore-1.40.50.gh.tar.gz 15222465 BLAKE2B 626b040c06531d96c1e0276e4bf6a70747b2c8184d9178b24333b1b7e91e833175114d31e7ee1b48b83597b22b2869132b50f3834a4bdaa082a111a7a9f41a10 SHA512 91ac7467c8b1cc58d2b29a0bb34d7374a7c8987eb73caccc3b3becb782995d64a874d099ea74a5e0c046d0aae2497211a0a84d3a8e7f42efc1252fa6ab517872
|
||||
|
||||
67
dev-python/botocore/botocore-1.40.50.ebuild
Normal file
67
dev-python/botocore/botocore-1.40.50.ebuild
Normal file
@ -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}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user