mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
dev-python/botocore: Bump to 1.42.49
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -13,3 +13,4 @@ DIST botocore-1.42.45.gh.tar.gz 15825494 BLAKE2B d376a9f800b28b784dba58d32713108
|
||||
DIST botocore-1.42.46.gh.tar.gz 15831397 BLAKE2B 148e1bc0dcf632a76c5d2fb80ae31d197ec9006565660a42fe535ef43c618b411d1caa3835dedc57e9abc9eaf2535c20617f5c7ca0703310a1cb18a9d9a981f9 SHA512 bc7fa8a77589638dfe903eed1c54e315439a3e9014c046d3ecbd06197abadceed3be68d3cce268aa8a9b45a060ec492a95b4fba5c403d0803d2b7cf5aafef3ec
|
||||
DIST botocore-1.42.47.gh.tar.gz 15836852 BLAKE2B c925221b714e9e2bd60bd08ae83287e2238d1215c99e5401d42b6f08d550ade1e7e28ad4a35966b282aa55448439246617ccd9b3699bc08f01552760053cbd5c SHA512 7aa634b9c77f7c54445c3b7e358431660488f80350b77facbc325be7c606119f2fa10f5f166356f3a3f9500b4e5859e7876f882160e0aa5e5bad64fdb8213ae6
|
||||
DIST botocore-1.42.48.gh.tar.gz 15835963 BLAKE2B 8a8cd1d1c97659512793e533c69a8f0e8bb67972e60a448dfbccf138dd3331a38e07d39beef922324d805cd70a2fa4bb0d66d3d69c1320725eae63a10afa288e SHA512 e16a4832a4d5032febaddedfde38807ec059c2c5a5b3a4c05b3bcc2b215a25d410e2beb4e4ad151734133832c779ff7086cc6bdbe3c280e02694ed84d0d2a5ef
|
||||
DIST botocore-1.42.49.gh.tar.gz 15843630 BLAKE2B 823ba230ac7ba7fb3ecef8c716ff0fab0669920cbb3633105e1587c788abd5e99cddfd7ad7c896342feafd226c10eea6fcc2a888a12bacf8fd120ffc5ca51e21 SHA512 c8d73ed693936f97d0b61a9c84c00c3671891afe3173cac3a9610831c02c82c2583c285f746efbc884cb910f5f935a1a369991524b20ef79e7dc467d72497575
|
||||
|
||||
@@ -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