mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-04 13:47:35 -08:00
dev-python/botocore: Bump to 1.40.64
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
parent
5e676e9a5f
commit
2837666385
@ -8,3 +8,4 @@ DIST botocore-1.40.60.gh.tar.gz 15285623 BLAKE2B e543690a177697da826ced0fba584f9
|
||||
DIST botocore-1.40.61.gh.tar.gz 15209096 BLAKE2B a491a70142e2fb0de48c78df37dc73412c996f37ab3c203be0fc85306d8b8bdedd31c38952a72e39e1a270eac8237cc8abb3b4a1446e75e893aa6e45924a9b4f SHA512 a53c3c8b0392a2ceae5cc27c283d9ba3f4b81e56a654bd49885e6fe1803e16679cfc181d74e1a82b1ad69413288f4b2d422c8af7a2f47557ddec550651a91714
|
||||
DIST botocore-1.40.62.gh.tar.gz 15209593 BLAKE2B b9f76a0b0b46cd4c85ef850fe724848e9787c2c18878f2560453e41b2b8fdccf58d9a26a9ff188a62af6ac4e96bb7d8c98ddfbde31f722232a510335c9ed72e8 SHA512 8ce9983659573aebbd94b17b84dba5ed38d7a7929c0d7b9d1d88a8aef80e5e64db9a6c8ce95deb50dc7d9bafc44daf2f762059b047aacf9143bea67c4a7cdbbc
|
||||
DIST botocore-1.40.63.gh.tar.gz 15216536 BLAKE2B 5fca42555090a3b60926fe7fdff74ca0541153c680f1e1611ef8d8a746b5e92606073230b2bde5708656b8aa1b490724c0e376f0be0fdea88bbede073df9e222 SHA512 2590fe8ff816edc7e55e6f7181bc6b04a34ca34d2272127b1f676953a24caeaf456bcbf892700b8ae8d7f9acf294e3f39ae6b034c68ee075749578af24db4f8c
|
||||
DIST botocore-1.40.64.gh.tar.gz 15230274 BLAKE2B 6156b2d80f6aee5df0d746bf3a2fe1bda6cee3435612d3db12a8134b9fdfa7a6c250752dadb562d1c804052ea6c775f802067d611ba1fb597e9d90439e219b64 SHA512 a8c7793146d25ae5cabe12fa5a65e8195f35029dd2f0dd9a6d012b8abfe41e1871808e1dd3d550ac153ce323c15c398b35a535780c5e143bbe5645b5eeb8c620
|
||||
|
||||
67
dev-python/botocore/botocore-1.40.64.ebuild
Normal file
67
dev-python/botocore/botocore-1.40.64.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