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.52
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -7,3 +7,4 @@ DIST botocore-1.43.48.gh.tar.gz 16688909 BLAKE2B 18765fa54b970c5792bed052d910faa
|
||||
DIST botocore-1.43.49.gh.tar.gz 16696979 BLAKE2B 2a3257c70719fa6f8b6e55f55a0adedb2f3af261a7faae2a7469eacdaba62f3361984be172e611d445f2dfc13ad392142532a879775fb670ee46d187891acb59 SHA512 bf9e9d1141fa83f7153fd9bec3a05d4d7f295a9947080c19358c29b86868687dc4cd1371e34149a9af13236c9043efe1fea356dc3266bb1cc34603e5e41165e4
|
||||
DIST botocore-1.43.50.gh.tar.gz 16700459 BLAKE2B bb521f40fce6272e1bba2330e07c4524bb811b9c4abc2b1d5c30f179061a9d97f1821c05963e5f12457765229a0de1b1c6441deab811078c23f0786a2cde42d3 SHA512 605a52e05bba219faa6a54ab3aa20e511ebddaf572c98d8be1ff899dfd9cc15c72bb9e6a23c6d634b5f6c994ff6e3215133f43b215be4664c968c8e005944748
|
||||
DIST botocore-1.43.51.gh.tar.gz 16704426 BLAKE2B 0c293805968a448b093654c57df15d83f400ecfabc965c7449194fd8fa62f6d547da5baa705eb52d4fa26e00943db81af7908a366d210bb6dbd56bccbc79a868 SHA512 709fee1bed2e3e25ad6da78d42974683c5d03507beadff4e4ea4f554f8fdbaf9ef665ef6d99defd170eba003a6750379a299a64187a31d23cc0dc5a18c904349
|
||||
DIST botocore-1.43.52.gh.tar.gz 16708936 BLAKE2B 044e3646265d68818480bd5fd1403c25d9a7d999bc48c47c604c0a0f8d2fc97d55a1161815a810a629e9b70436973927fbb654afabd628a18aa54c86f54fb1a5 SHA512 3b06728a591664fb3f1497a62ecadc45ac027fe873fa7dbe80f5760c16bd24dde35c656e1ac20b5282275dfd57758f77208cf5f27599cc3f1c1d6efce1ca95ce
|
||||
|
||||
67
dev-python/botocore/botocore-1.43.52.ebuild
Normal file
67
dev-python/botocore/botocore-1.43.52.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