mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-python/botocore: Bump to 1.42.79
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -8,3 +8,4 @@ DIST botocore-1.42.63.gh.tar.gz 15861570 BLAKE2B 92bc6efde4e08c3c5f4ce1d910e2e2d
|
||||
DIST botocore-1.42.68.gh.tar.gz 15892102 BLAKE2B aabd9e28196516919779fbfedfd1b05bb515096dc810a0449dfa3c8668d975ed88eadbdd06dac1054b2b4ba403a960f10753531fed68e50031c13f00e03e0a7f SHA512 263ae479e54e63a7b15fa1611c8551de9e08df3c0d10dacf4a306c08a064dcb68a24185d767ce061781cf83b6ccc7e9d1743258d2fddb74421299a4d4f96a999
|
||||
DIST botocore-1.42.73.gh.tar.gz 15909831 BLAKE2B a7032e431644adda779bcdc5241af66ac3b72ddcc235f5f446d621012935f660a50e918780a6cce7a8d9841711dbcd03160353400daa382c5760c93144e156bb SHA512 01193ed6bb21eaae6839994ef101f5f3d88c94b65a1c31fcf197f77efc3ce494f4911976270bd4b7879ebdab233598909df3562ddc5b9f892a62afe3b03942b2
|
||||
DIST botocore-1.42.78.gh.tar.gz 15931724 BLAKE2B d0732ac14bb37ce0fd326b2edcdf06665306c7c06c3004f78aa5405ea8c2335eb1267e31c9cfe803ca6e551617c14177ea3319bcb2e1eafe4acd35e7f5e5b610 SHA512 18ad9458ee5ede54ab43eebc2d235371c84fc5fe8cb21a067a54612a4cfd14fedca54ae45f40516ec5a91aa4049837f94fa3fced2ea0f4deb8089f78a13f59a2
|
||||
DIST botocore-1.42.79.gh.tar.gz 15971759 BLAKE2B 8955138791758156fcb2466a9349fe6484acf1154ef94cdfa1a219d2f45074ea412d361cea1679be36105e258b7a9bc30c3a9ae2d8120670cf95b82c9e053cb9 SHA512 8c06fdb9eacdcb41206004ed9c4c5eafb4e7bc7f0863e3a20917c5e57b0564ed5d997bef4ca6c1aa549a1b251260b77d6ab835a31750176944024bd9ba731718
|
||||
|
||||
67
dev-python/botocore/botocore-1.42.79.ebuild
Normal file
67
dev-python/botocore/botocore-1.42.79.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