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.90
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -10,3 +10,4 @@ DIST botocore-1.42.86.gh.tar.gz 16096034 BLAKE2B 8e3fa6ca0d609d658cf0e7be713d31a
|
||||
DIST botocore-1.42.87.gh.tar.gz 16110857 BLAKE2B d3f328970ab32dfcb4a139e15de275e468afb8441de33a16cb52ee605b316ce6ccf2c6b59c728766ee5e83d9327e3bb8ea5cbb05507783b423e61ea7a3a215e3 SHA512 bb549cd3de753cf05c6a60114743054c09a0f39e528f409702915a12f3bb687b338bd55e43be75fe6effa805c85af7a405680a4e385e9844a01bb89309446eac
|
||||
DIST botocore-1.42.88.gh.tar.gz 16115557 BLAKE2B cb2470ce6d16bb0e91d6976b84899eea502f7fe41dc0da6727f8d55150dfd6f3aff67a7b8282c6b09e1aa8f8df419d5bd4285788603e72406a9f6d7cb86da165 SHA512 c9ccab70325b68e69fd38c728b5d525a2420c1e9a32d1acb6892fcb61f607a68e1cf8021b15e754e74a869b0fc337cfe584cd75b4f60a480328e5050c47fac3d
|
||||
DIST botocore-1.42.89.gh.tar.gz 16126567 BLAKE2B 7f3586175496d9d767346ed9037cb8416f76bc080d921f248d27b4e391242ad6fd0ffd3337fcddf413f2dd272e8d6a9c7951e0c120a27686f1f921d782b4dbf2 SHA512 1e2fa4687a8e01a025c30fe01e6ae4e63c9ef00241fdedd329230f8fa8189e205a0566d75fd0d35ef28b53bcd0a0023aa74d3150f527cec8db41ee0a44329e6d
|
||||
DIST botocore-1.42.90.gh.tar.gz 16133286 BLAKE2B be3d2f1bb0c29c3d43fbd17d4c893923edd0f4287013d4e7f4bee36bc575c0fe4e5a12a8e976f0b1f898cdc8831539b1d34f615147eb40b4ff58addb9cacca9f SHA512 a6e7650163935b6e78a0cbfb27ce4ca7911b95012b46a478ec1b32233c28da59a8a4f7b8df221269b4e57722055d7d05cd600ec176117c5c270a6dcc716ca839
|
||||
|
||||
67
dev-python/botocore/botocore-1.42.90.ebuild
Normal file
67
dev-python/botocore/botocore-1.42.90.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