mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 14:07:27 -08:00
dev-python/botocore: Bump to 1.41.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
parent
c61424cb00
commit
4affef0960
@ -7,3 +7,4 @@ DIST botocore-1.40.74.gh.tar.gz 15284643 BLAKE2B 585f072a5ec39c12e3f74a272b0c5ed
|
||||
DIST botocore-1.40.75.gh.tar.gz 15307607 BLAKE2B 0529d1f62bb6ac6b730eceb4ed53961636399818b3b832df28c2f3c8b3fe8bcd8f0609ce84cb95c9c45dc2385458b8756b9a8801da9b081410d67ef916dd8f9b SHA512 1f06fc8767f95502c36d8e68116059f42c7a4b9cb7c4ef6329f1fef3b19fd33d85519ac571138b0ad64af8c99c69b57d9c7f07c443922e7853b5c625ecb2d973
|
||||
DIST botocore-1.40.76.gh.tar.gz 15329738 BLAKE2B b52289d014878fe6f6ba8053ce84c77fd569819bc5f0b482a3aa1e9f543739e019ef35d530487e0bae33f80e45e302741ab4437e3f1841618fca59caf3d95b03 SHA512 4ce5c91ce346f5317ac0287913926743785388f31f746e05dc6751b3ee8e087382a4f140a46a4df83327e3c18f3f5c88d6e834abe24c35fcc810ba4ee23ec933
|
||||
DIST botocore-1.41.0.gh.tar.gz 15418409 BLAKE2B 8f6e3de98b80ac158b9989d086ffd64cdc06a4c819864758ca9aa4ac5a97876dbd6fc3cef398602b02f0cbc1453ffd0cdd23f664e10fdb877cf318031f5908f9 SHA512 29da9fa5c4d2fc5c014010b6b186a1aff7c343de97ae905ae084c14046dea3135840ec579085f65072b57bb4a604127d660f97c67bbf89748982bdd856eab48f
|
||||
DIST botocore-1.41.1.gh.tar.gz 15457246 BLAKE2B 4729105ed3279d506664a5fc2eb89a4d01470ed6cb8dd685232c6d1bfb78b77a3bda7dff83f18d4750697789b5f094839ff95607efb23c52be33549db6f9b520 SHA512 f0c4ba8bd9db6e180d8a8248fd9090f82207e67194c0b7fd62cc1a28d3ba82ef61a5be98220a7138ebc8212a3ee5b72618f55b46f1a4ed2282d33576b1f12192
|
||||
|
||||
67
dev-python/botocore/botocore-1.41.1.ebuild
Normal file
67
dev-python/botocore/botocore-1.41.1.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