mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-python/botocore: Bump to 1.37.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -3,3 +3,4 @@ DIST botocore-1.36.21.gh.tar.gz 14227102 BLAKE2B 66948337c21be8024c64ad5daf35dd5
|
||||
DIST botocore-1.36.26.gh.tar.gz 14281837 BLAKE2B 925ebbca3e415ea7e3388c52e53a6d0a9a1aec001bd579293bfbbba5d756503371a137399d679926d5894f8f4e0fe498a37570dc4c19af99dfa67b4e3d374c3c SHA512 2f2d960a6519efae499acdb704d66a1f329927b30a53900ed035909847ca9a6c1a3b57291e0a0aa153b4bc49a959935b1840ad0d81244f8c2577fd4ba910fcf6
|
||||
DIST botocore-1.37.0.gh.tar.gz 14283514 BLAKE2B cfa58211455acdafa79782e08f8d6c4902b84b0008d4e2e6cfef248c84805f746f1f605ccf1b5e6920fa0b4f5007bbd02ce2d2654edad52b966344daacd7f7e6 SHA512 ca7c8a46cb0e38d94061ce56654c38b57245292ebf5b0b7aaebb844adb52b91bbf40a69c34c8275c10d757f9dd324dd3afee328e8fc212be7f0128a73b98aa2a
|
||||
DIST botocore-1.37.1.gh.tar.gz 14286445 BLAKE2B 4537bc4d613e7ea2c1692078867bc43801617e0ab20e8f8b090d952f9e9ec4c39b4aba4605048ad35972ca9b724506cdfaac84633739f7f89ac187313d4e8117 SHA512 ca03f5963f0ee39693f469988b812ada7761aaf61d7325461877489ee4220b9a40f648fb2905ceaff9c3c84a27f43013d4fbba250cc3633110e2cafe1ff49143
|
||||
DIST botocore-1.37.2.gh.tar.gz 14275068 BLAKE2B 6f15493cf53860049ceb5a7d9c2a06e80d78e17f2667005e424ec9f39eab4d74679d25f6b31466b94421c1d5197b47d06884fa7ccbd131848cf90bab9f148da1 SHA512 cd50844cc7458fe07ca3f1a21e36a28b2ee70e300c938db8aa9adb02f66975ff4030f96dea28e818737d549d73082c4e2801f3f995e5336fc71eff6b0d7f3e70
|
||||
|
||||
67
dev-python/botocore/botocore-1.37.2.ebuild
Normal file
67
dev-python/botocore/botocore-1.37.2.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_{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 ~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_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