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.9
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -12,3 +12,4 @@ DIST botocore-1.42.5.gh.tar.gz 15709628 BLAKE2B 841886105cd9a47a473a8c75f54cbc53
|
||||
DIST botocore-1.42.6.gh.tar.gz 15711310 BLAKE2B ba3bdec59750cee81fc8fe83e692358f6f49d020bf3f2bc150ec7d5a531be02a8a088660c575d046016e3669528dd2f7d5ce27263a6814c46ca08c06fc8e4b9d SHA512 5d6ac44534fa107cda6bb69f64b1647b81ecd94de2314dbb53769a410939905e86899ccaf7b50be68948430044310c725ff16aa9df6f7e37bdde2314391a6370
|
||||
DIST botocore-1.42.7.gh.tar.gz 15712225 BLAKE2B f659dd137a5f1189c7b0ad686e22dcc193a9ab860315de992e4de8e6435fe2cb238404c9ebdc1b07b711220f18147eb0f7346d3739c9c010f367c9b67c5a093f SHA512 23da2f076caac1a52e5bad69f26c90963a0cd35d30913e27b14d6ed08dc236af098b733dec14a9de6e9995b2d333202418295d1c9b064246a0d8a33fb3dba497
|
||||
DIST botocore-1.42.8.gh.tar.gz 15720690 BLAKE2B f35454ee7f965652c56caf2fd89123b5e6bdf4a8c5e6fd94a57da545c7436ed438ed3f23cb6edb2fb9ed859f0f4c07d78f02f44f5190e518cc93624098fc6647 SHA512 6e70f932e990dc7fd4ec358e092ebf77bb1ee38d4a32122b1826abfa867efca01b50c03317448ca3c520c09c1b0b2ab65ec38cd424512513662130279788386a
|
||||
DIST botocore-1.42.9.gh.tar.gz 15723096 BLAKE2B 2cb1489fa48546abe3306935367744f918d053e02af58d6b85ed84a50bbfc659ec20763055e9783d492f6f248af81e571b8452487bf8ca3267e15d12ce8773bb SHA512 54cc19ca34474e8bfd7eda403452af24b6f73e611442ba4b7ed5f4f223ae279bdf95a3bc4945d16eba6ccca53d2dbefee6d2157ecb6b4ef23a1e960d5469dcc9
|
||||
|
||||
67
dev-python/botocore/botocore-1.42.9.ebuild
Normal file
67
dev-python/botocore/botocore-1.42.9.ebuild
Normal file
@@ -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_{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 ~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_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