summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-10-20 05:40:42 +0200
committerMichał Górny <mgorny@gentoo.org>2023-10-20 06:19:16 +0200
commitfbed2dba8d6d952d2d1d47e3ffdfe364e5cb950b (patch)
tree1594c95bb88932e57e7c1d7ec8a1a9e902139270 /dev-python/botocore
parentsys-kernel/gentoo-kernel-bin: Bump to 5.15.136 (diff)
downloadgentoo-fbed2dba8d6d952d2d1d47e3ffdfe364e5cb950b.tar.gz
gentoo-fbed2dba8d6d952d2d1d47e3ffdfe364e5cb950b.tar.bz2
gentoo-fbed2dba8d6d952d2d1d47e3ffdfe364e5cb950b.zip
dev-python/botocore: Bump to 1.31.67
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/botocore')
-rw-r--r--dev-python/botocore/Manifest1
-rw-r--r--dev-python/botocore/botocore-1.31.67.ebuild68
2 files changed, 69 insertions, 0 deletions
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 8f6ff230fe81..82736ee2f528 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -6,3 +6,4 @@ DIST botocore-1.31.63.gh.tar.gz 11975759 BLAKE2B 3e757c6303f3390d3d563187c471400
DIST botocore-1.31.64.gh.tar.gz 11983429 BLAKE2B 636f0c394a3af8bf174f992444e3e352893f3e8cf11e9732a6e73af3f155b638e9ee3060617bbf184b5872768257ad81aa95379b48452a1fe8a6bc100f601074 SHA512 375b406eb16f93d0ca9631fe9943959d24b62ac579b70f0782f6b386933fb3de25343c05bda7667c441c050ccd10c9c5a254bfd8a620610adb7669ed326a0203
DIST botocore-1.31.65.gh.tar.gz 11988384 BLAKE2B 38c563e13e4205af8f41622eb0715ae11ac2214979d367894afc75a872e2d2d38be57f8b8a10efcd847bc8751b09e5d4394f21aa8bf4358d8ec55888adcb68d9 SHA512 1919efbf6d807a23d33050c7d306cc63bf85f088b84b6ea18a58b40eb0acec4e2bb6acd3150bd7b2939bed594cfc3fa681c094b35b8ca049ef2299c60502c3d0
DIST botocore-1.31.66.gh.tar.gz 11990356 BLAKE2B d7cd9963a5911bd14efe10fc44bd723c353f1f1dba92ee201f7bd93c304d6ead63cdcfd2811636b3b5a40b1b4b803391f409093077c273e251de24727d60ee19 SHA512 133ddb2350c350808b553c9d778f2d9f7a5ac3837b94b9475bccdba1f1c90365d4e85f92630d75f2afca865b56ad320eb995ebed23b4a5207f4aa2230eb9636b
+DIST botocore-1.31.67.gh.tar.gz 11987709 BLAKE2B e979d458be428a844978980d4da616df031df579a2cccee848a0b9f54aef8f3589b94cbff27f012aa0da7b847b7cb5bf944366e6d9a5daa975e3c7d1833a0c69 SHA512 1a5cbab845399e738f2c66862aff4b488e25f47bbf97b93d81b9c3586b6f295dd84a9564a07d538672bbfed9df3ab1f9cbc1ed7fcd24c08d6fcd9262e6b88c8e
diff --git a/dev-python/botocore/botocore-1.31.67.ebuild b/dev-python/botocore/botocore-1.31.67.ebuild
new file mode 100644
index 000000000000..7cacb5c3f634
--- /dev/null
+++ b/dev-python/botocore/botocore-1.31.67.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 multiprocessing
+
+DESCRIPTION="Low-level, data-driven core of boto 3"
+HOMEPAGE="
+ https://github.com/boto/botocore/
+ https://pypi.org/project/botocore/
+"
+LICENSE="Apache-2.0"
+SLOT="0"
+
+if [[ "${PV}" == "9999" ]]; then
+ EGIT_REPO_URI="https://github.com/boto/botocore"
+ inherit git-r3
+else
+ SRC_URI="
+ https://github.com/boto/botocore/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+ "
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+fi
+
+RDEPEND="
+ dev-python/six[${PYTHON_USEDEP}]
+ <dev-python/jmespath-2[${PYTHON_USEDEP}]
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+ >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/jsonschema[${PYTHON_USEDEP}]
+ dev-python/pytest-xdist[${PYTHON_USEDEP}]
+ )
+"
+
+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 EPYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest tests/{functional,unit} -p xdist -n "$(makeopts_jobs)"
+}