summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-12-21 07:55:35 +0100
committerMichał Górny <mgorny@gentoo.org>2024-12-21 09:11:00 +0100
commita58e5b33206cc1c2590cf34a1fbdb4986c694d20 (patch)
treef36800c8447fe5fa315ba0037dc63e8a659191c9 /dev-python
parentceccc6c5c824f3bbe5c01e372a45f60051804727 (diff)
downloadgentoo-a58e5b33206cc1c2590cf34a1fbdb4986c694d20.tar.gz
gentoo-a58e5b33206cc1c2590cf34a1fbdb4986c694d20.tar.bz2
gentoo-a58e5b33206cc1c2590cf34a1fbdb4986c694d20.zip
dev-python/botocore: Bump to 1.35.86
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/botocore/Manifest1
-rw-r--r--dev-python/botocore/botocore-1.35.86.ebuild67
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index bb86398a0bfa..082f392ebed9 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -5,3 +5,4 @@ DIST botocore-1.35.82.gh.tar.gz 14144970 BLAKE2B c1bd266383fb37b1a6059e7ebf08216
DIST botocore-1.35.83.gh.tar.gz 14160834 BLAKE2B fc652d7da37d5d2e97b4ba60d03b58d8d1c6a17cf5c93729ce962bacdf5addb0bc183f5be74cba9f1eb2ad45667430363be3bc5dfdfc78b656eb1930892ed683 SHA512 c769d585051bbab793fd8bbd3036a988c41e7fd03624fe7650de0e781f7faefe418cbaf8b93a138ff8560f51c88106510bbc8f458de3450549d53b508589923a
DIST botocore-1.35.84.gh.tar.gz 14167194 BLAKE2B f5b224cd2d55d639eb85f9b56effeb63b8427c1d1a970d8deabb1cd959ec28eeacba31563070c6da33d0eb8badf92928924281a57139107d0dd7e56619d9aa08 SHA512 dc8154336914e95465a758af038d42f8b15384d13210560074f995bba41c0f72c128e65ffbda752c5a6246687b54b8fa2ba119ad14c36ae91cc4f268e5319e62
DIST botocore-1.35.85.gh.tar.gz 14170796 BLAKE2B 1524af88088c2223989375aca221539a30e4d78766459d1a5b76540655874fbb90ff02922631c666ec9d3f905b88aa986b77c3b34023bf1c61d00436caf8b104 SHA512 537825a16640069af087f7fed0d145d4f1760186a1e85ff37c0839f377b7267bee23b5aac1c423433175e571a3ef861cc5bce10b485800f71aab0f8f1d23b067
+DIST botocore-1.35.86.gh.tar.gz 14177900 BLAKE2B 7b80010dca6496eceedf8598f195ac80d4416c0f2032f931586a1db2ec100185e8c9591d6d42f549fb9a579b295178aee293c4b317717b4e9264d9adc54fb2c5 SHA512 28185963f5a3a937bddcd47a3afc13fab16b32ec092bfa7b6c007ff77cfe5e0ead1b253f708ff9077638185173034d484abee0d49f97475a88dfb00fad0c31c2
diff --git a/dev-python/botocore/botocore-1.35.86.ebuild b/dev-python/botocore/botocore-1.35.86.ebuild
new file mode 100644
index 000000000000..0f88c5cbe9f3
--- /dev/null
+++ b/dev-python/botocore/botocore-1.35.86.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2024 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}
+}