mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
dev-python/botocore: Bump to 1.42.73
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -10,3 +10,4 @@ DIST botocore-1.42.69.gh.tar.gz 15894446 BLAKE2B 69005c3a90ce33107c02ba92bc91038
|
||||
DIST botocore-1.42.70.gh.tar.gz 15897224 BLAKE2B 3a7cae19c8ae3cea06c3fe8f6f4e6c54b1b35d3cdc859b05934ba3fc1f0ace3812589339aa2e7242e70b70a6930ea7b9b97adeeded5665ef60b445c4178c2172 SHA512 aa3ab112df4ee544f6b7d38b7f6258cd24b619e284b741eaa5ae570c60a88e3ba4f7cb9539508ab5be1d5d9776a0bc9335642a4c3b1cce47e490aeb98d7aaa1f
|
||||
DIST botocore-1.42.71.gh.tar.gz 15897070 BLAKE2B 94be086280eb83ec69633555af0be42b2fda31232a78c2bd70232b747f5129c46cfdd14ab6a61a0ea672ffacabe65e1e7fd5044cb9bc094cde56a423f1bd0021 SHA512 0970042f0f404d32aa342313af80d640a3ff43a00b68eb132cdc6aec2471adc63d5f6205cf1a6d3da80fa146b22cdf1f949c644f3e7210ea6f4a5286b204c9e6
|
||||
DIST botocore-1.42.72.gh.tar.gz 15905747 BLAKE2B decf93f2462b15697e559d24bc947958024fffedb861479479edf5636e3963ae2d0949068a69b68371f88d792c3bfab7a6f700ef4861a67fabaf28db55028669 SHA512 66df403e65d0cd8b99262bc2248c91772225831d488c756bed70693323efa7e010b6558b25428d21fe33c62e771ddc4664e8f178ec969153f66e61f4b6b2a283
|
||||
DIST botocore-1.42.73.gh.tar.gz 15909831 BLAKE2B a7032e431644adda779bcdc5241af66ac3b72ddcc235f5f446d621012935f660a50e918780a6cce7a8d9841711dbcd03160353400daa382c5760c93144e156bb SHA512 01193ed6bb21eaae6839994ef101f5f3d88c94b65a1c31fcf197f77efc3ce494f4911976270bd4b7879ebdab233598909df3562ddc5b9f892a62afe3b03942b2
|
||||
|
||||
@@ -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