mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
dev-python/botocore: Bump to 1.42.78
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -11,3 +11,4 @@ DIST botocore-1.42.74.gh.tar.gz 15917815 BLAKE2B bf424ef9cadd4fc3a7658bdaf92d753
|
||||
DIST botocore-1.42.75.gh.tar.gz 15920292 BLAKE2B 5b859d2135a28182d63c4d995cc2b3e2486522e3a9e5aee8680aef76faf9dce101d657bab232009e63332ef31beb32d141cf18ed0fd19c318b8135834318f84f SHA512 c2c3d0fcc64ce6268fcc06c9b2f1fd7f250826d2d6679f684817982c6158dd82b4366719c5559562353ce1d4e64bef93c99efc07459022163f945d054f99268a
|
||||
DIST botocore-1.42.76.gh.tar.gz 15925037 BLAKE2B e529b7c2e044a23829a149a401335050ac2f57e4c0dafb46369e160fa3260cc9433e69093accdc61c1697764ce8c1ebb738ed3181eeaf5501fb877af133a41e7 SHA512 ca2ab9c9131f8089859b6f0c7d9f02385305890a0df582d53d57c6251f2afc28357f1df994ddf02bccd25122ba517c4bdd17c6057816924dd48efb59042abcd2
|
||||
DIST botocore-1.42.77.gh.tar.gz 15928031 BLAKE2B 2fec13bce6cf4b61b670654a568498d4a6b30347d1019641f27201de1c1b2cce96f15134ba566e3df67852019d4df85a08f96000ab7c0a6074617f461f587d49 SHA512 5d444305d86e746c33d3482d14e12a29ee54c02c5717a2a9e0ac987823a0f3242907faeaf2ecfa37661a83cfb217490f1c1af55b0297db1d65debf13d56dfb10
|
||||
DIST botocore-1.42.78.gh.tar.gz 15931724 BLAKE2B d0732ac14bb37ce0fd326b2edcdf06665306c7c06c3004f78aa5405ea8c2335eb1267e31c9cfe803ca6e551617c14177ea3319bcb2e1eafe4acd35e7f5e5b610 SHA512 18ad9458ee5ede54ab43eebc2d235371c84fc5fe8cb21a067a54612a4cfd14fedca54ae45f40516ec5a91aa4049837f94fa3fced2ea0f4deb8089f78a13f59a2
|
||||
|
||||
67
dev-python/botocore/botocore-1.42.78.ebuild
Normal file
67
dev-python/botocore/botocore-1.42.78.ebuild
Normal file
@@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2026 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"
|
||||
|
||||
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}
|
||||
}
|
||||
Reference in New Issue
Block a user