mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 10:57:07 -08:00
dev-python/botocore: Bump to 1.42.70
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -7,3 +7,4 @@ DIST botocore-1.42.59.gh.tar.gz 15839997 BLAKE2B 6adafebe89e98b9a609d93cba72dcde
|
||||
DIST botocore-1.42.63.gh.tar.gz 15861570 BLAKE2B 92bc6efde4e08c3c5f4ce1d910e2e2daeaa7e7e8403518c54e9cde3de5f5ce62a2836dc78c448da93098f900f97f8ebf5940a6df62be9cfee79c2747b3b07b5d SHA512 3e713bd24a6d752f8af7486bd235099f0313a6b6511123e8f111253742c60e6ac75a1bd0b525c898e0998e501536536dddeae04621425181a042771f0205ac2a
|
||||
DIST botocore-1.42.68.gh.tar.gz 15892102 BLAKE2B aabd9e28196516919779fbfedfd1b05bb515096dc810a0449dfa3c8668d975ed88eadbdd06dac1054b2b4ba403a960f10753531fed68e50031c13f00e03e0a7f SHA512 263ae479e54e63a7b15fa1611c8551de9e08df3c0d10dacf4a306c08a064dcb68a24185d767ce061781cf83b6ccc7e9d1743258d2fddb74421299a4d4f96a999
|
||||
DIST botocore-1.42.69.gh.tar.gz 15894446 BLAKE2B 69005c3a90ce33107c02ba92bc910383f7644ce42762e9d251b324c8e22aeb1ace9123f0442eac502083f7ffaa67a16e852a865fefc84c70cead0a57fcbe452e SHA512 cc876ae45488e712d638b705ce05e763521083f78ab3c2dc5d9f764fe5d6bb7357cd5692da4ce0c2f68bc6390a0d0ea581d8304de5c93d5b0505efdeab2e5d98
|
||||
DIST botocore-1.42.70.gh.tar.gz 15897224 BLAKE2B 3a7cae19c8ae3cea06c3fe8f6f4e6c54b1b35d3cdc859b05934ba3fc1f0ace3812589339aa2e7242e70b70a6930ea7b9b97adeeded5665ef60b445c4178c2172 SHA512 aa3ab112df4ee544f6b7d38b7f6258cd24b619e284b741eaa5ae570c60a88e3ba4f7cb9539508ab5be1d5d9776a0bc9335642a4c3b1cce47e490aeb98d7aaa1f
|
||||
|
||||
@@ -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