mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/botocore: Bump to 1.42.96
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -16,3 +16,4 @@ DIST botocore-1.42.92.gh.tar.gz 16157923 BLAKE2B 635caf24f55c3c291f5d8dcb6c4954b
|
||||
DIST botocore-1.42.93.gh.tar.gz 16167198 BLAKE2B 3e9cde424583c5c613b973cf2f3551e4b919400685bafb20676e09731ea1f33822d18a3a86af7b5146508ca77776ac3410a7ce0d1ce22c229fb9b3b1dee9ed89 SHA512 8276b64b5c25ff6b311f267862e3a79581c46e3b307d121c12388218ace595d694757aca0e50c47087897eca2485f39d0d0374f8a6ee8276102f5a8329f6db5e
|
||||
DIST botocore-1.42.94.gh.tar.gz 16186741 BLAKE2B 70638508206b097d98a7c09d5de7aed9db0adcdb1b1682fa9ea10949d202641b18efaea1c1d018231f244a15f04bede13b4a9e48d18af89cd97a363d1ce555e1 SHA512 b91302f22f6aa541ce26659f0afd9d7b3fb01d7d6bde43ef91aa6341dc7535516fda87c0855194dc4439c855a7ebf98df8effac2649a55f107020a4f881b1dfc
|
||||
DIST botocore-1.42.95.gh.tar.gz 16187519 BLAKE2B 52ba6fea31a36f0064a0a099c9d208658a120ab8597ce4e3d9cb1bbebce71a9f6a3683e50e5819674fe6211a606d6700283f6801fe77e54d22f5ba08e42a1b54 SHA512 4199045983c267595df46c810bf75d64809c03c36de622166ee910076177a979dd28e3ea7c0a4956a9c21dc310a0ef12223efb32e27e33d5906f92964beb65e2
|
||||
DIST botocore-1.42.96.gh.tar.gz 16190988 BLAKE2B c63dbf335904dd9fd56d2881428fab2500ef36104fee2f979fb8394860eb30743022db17ffaabfe14bb896bed2b03728e32f0d0f8e7e6f1979abefb171f87a7c SHA512 d3f55cb1c05cb587b89f83eb3ca58fc002d67187e958deb25d8bd571bac89802e63231da4e6b9261616003e6cb3972291697141ad4208cec76ce39769aa81fc4
|
||||
|
||||
67
dev-python/botocore/botocore-1.42.96.ebuild
Normal file
67
dev-python/botocore/botocore-1.42.96.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_{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