mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 23:07:10 -08:00
dev-python/botocore: Bump to 1.35.95
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -3,3 +3,4 @@ DIST botocore-1.35.90.gh.tar.gz 14180996 BLAKE2B d3b39e375d33af6515649c9be4b783e
|
||||
DIST botocore-1.35.92.gh.tar.gz 14183742 BLAKE2B daace36b81ddb44f13e785979c37d1f22a997c88e32554595a0db910a93148fccbf74def98b64210ee8159bf41fec99f57750741f13e2b468268035413d9bce0 SHA512 fb916bbe9c572c02fec36748ec3c5c3d6f9b9e8c7afd09bd48221675a6738ca9cafd2a05862236275e3b156cb392953b9a23d958afa9ad88b2a2d89fa23c02b9
|
||||
DIST botocore-1.35.93.gh.tar.gz 14185677 BLAKE2B 83e3ab9cc71d0bca546f7c18a82df5b8c1914eaafd07ba6797bcf7321cdaca491f59f89f07cd89fedb30cb5991e925d757c402cd1897c19300e10fb89b17140a SHA512 8e4da86457fea49a747226d25c31c68eba02e015451dac56fdd8f90f46b826aba7c4789f47dbaefe4c34624050e9348b0bfdc1cbb131b105d4ad192bf89e994d
|
||||
DIST botocore-1.35.94.gh.tar.gz 14176332 BLAKE2B 8c14d8e7c5da067e72c54d513e6d7625b9cbbc40fe376f87a7039ec2c3f5b7b89a172e4c5277740655536ca7d6cad548e75b9b8337836a77e923ff38bb35e8d0 SHA512 e9aa0fa13950b420f23cae7e1a502a4e6fabbc31c2ddcff2a41b5d25caffaf269629d7fab3d71306059522db8de046c6f7db35bbf91b69b5ab49aae45f7a9825
|
||||
DIST botocore-1.35.95.gh.tar.gz 14177432 BLAKE2B a4fba0ed488675650047bab059c65c17dc6e00527c1e34f9ef51837ffa75a101f3c397c2ccffddb77cbe9bd5bd49f65cd1a3e3e3da01dd2d7f66e706f6b4b156 SHA512 30dd633c5c4df55b00cdd0328b309c4c5e52bd4fa7d98d5f114340fb7cb91142f6296cba721fd1ccbc6dc3be11db45abd5215812682c6ed83370c9433d8793ca
|
||||
|
||||
@@ -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_{10..13} )
|
||||
|
||||
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 ~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_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
|
||||
)
|
||||
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
epytest tests/{functional,unit}
|
||||
}
|
||||
Reference in New Issue
Block a user