mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/botocore: Bump to 1.43.70
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -8,3 +8,4 @@ DIST botocore-1.43.62.gh.tar.gz 16820420 BLAKE2B f25361a48491104b819ab09b799e7e1
|
||||
DIST botocore-1.43.67.gh.tar.gz 16899850 BLAKE2B 43e61cd178f6bb6d3d8337b1220a13e529c23625d20afb14746b7e4594081dfc756b7eb0b9a01c051d29eda33ab260efe4eab92d71a9fe520453bd9f3184ff30 SHA512 ae3568397cb9845a9002dfe40dd6d9b205f2a204edabdb78814b77aed2c7b79758009745ae181b0b3982e90ee3ad329fa85f32438ead4ea6936aa6c9082b5e49
|
||||
DIST botocore-1.43.68.gh.tar.gz 16905676 BLAKE2B 1e8d2377106e2bafd2703c70a567a352d147fe80d37d60d5009126fc688b2569b0e130df752ef6cc3b3f75a66f43a1c080297cb46c72a0a83ce19804f6bf3ed6 SHA512 9e5733a6534f2229179eb451ee4d1bd629010b7db79e0926470b1835daf23a75a70d3d6287670984b1abdbb6826a87bf3c733a87692cdd534d06702620cd5a06
|
||||
DIST botocore-1.43.69.gh.tar.gz 16922876 BLAKE2B 648422a8e04d8a91b59a8248f8b84297511891eaa63a2aeffbccc929b642a04823f820eb5b80499e3edb62756fe66e8e28cdedfd23472bf938928d8db97fa82c SHA512 ad16fe1c40b1dfab2a5b6e1a0d5e9dad622b5b296772afcfdfcad4c62e677350a9433ea7a8cb6a861df58dd6c12c841d1e2a3691edfc9a991477a398471f71cf
|
||||
DIST botocore-1.43.70.gh.tar.gz 16949701 BLAKE2B 67d0ecd46c0330402e848466a1ddccd77e269f58fe1ee8c8fa6cbc8f79863c872b6c1a7dc413082b1721af2087ae5016bd3d4f89cc927f6620a60805450ce683 SHA512 7470392a27ff1b9c530a33146c1dcbc6326086e195cfc9ec1ccb20907c55dcb4f617fbf52a58ee35c84213ada07485bf1bdc23032bf893d356403763ae332831
|
||||
|
||||
67
dev-python/botocore/botocore-1.43.70.ebuild
Normal file
67
dev-python/botocore/botocore-1.43.70.ebuild
Normal file
@@ -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_{12..15} )
|
||||
|
||||
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