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.36
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
parent
763ba0cc1a
commit
018feb9558
@ -8,3 +8,4 @@ DIST botocore-1.40.32.gh.tar.gz 15140179 BLAKE2B be42af94bbff38d7bfadcf5e08e3b05
|
||||
DIST botocore-1.40.33.gh.tar.gz 15140845 BLAKE2B af295d0bd44d2c777095a96ba8c1e6b735b7cb5e00a051fed654d0f9af411fba4b9cff05920e36e8b08a92b3cf091b82c956eff6457845d0f2bb54fa794ac1c0 SHA512 2b12dfd6e13a5f83e950bc5d4320fc66638c15c0a282f19e35cdcf8b71efd4253e54fe065199409307613f99f74deece1685452cc126b8c0e2d4a2e221e2904a
|
||||
DIST botocore-1.40.34.gh.tar.gz 15144932 BLAKE2B 5e4ebceccba1ba5b0c8f25582a68ea74b8dcfb11585db849bc0221a374e3464f05548c8086485842cc74f86c842122ffdcf8d6cd16350188f3fefa237bad565a SHA512 312f711cf2ced31aca034562667622bcfd1cf47d3a86b37791466edb18bf9e0dc5eb9f821459390296ea9673b2af7d4409659bad5b556a450c65fdf15a3ee79f
|
||||
DIST botocore-1.40.35.gh.tar.gz 15147385 BLAKE2B 061a5f62573851c50c4dedbc0ea4868c73f64127219818c88976785dbbd425062b776846fce0c72ee5fca92f179ef13df14697ae387cb4741f549d1b0e3df4e6 SHA512 b85dd96dd123f155054e85da3c5fa86ca0f76019df5c9883b64143f8c7be58275063c757143fe243642ea1309f6d7fe0f900dca46c1498a4d3b2752686b95b86
|
||||
DIST botocore-1.40.36.gh.tar.gz 15147138 BLAKE2B 857c7632ff97bd7d75e56e4ac0347a38373d1448169e5b7f2120722ac0ad3508510716a2a7abe521c8c44cfdbe92a0660017fe65d180352159a312584ec09c87 SHA512 815553250d5ffcc3dde6489a2c187e983702d607e4e7f0ace55a67385340458ad80e7321237a11475174594051cb41ca4d64519e8585911ee39015fb8d1f812b
|
||||
|
||||
67
dev-python/botocore/botocore-1.40.36.ebuild
Normal file
67
dev-python/botocore/botocore-1.40.36.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