summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-10-04 06:25:30 +0200
committerMichał Górny <mgorny@gentoo.org>2023-10-04 06:25:30 +0200
commit691af16afd3af5fa69d53a7d72ec2a3e2e1d85b0 (patch)
tree574849a9a623a23308a5a674e56d23247a670482 /dev-python/botocore
parentdev-libs/cJSON: Drop old versions (diff)
downloadgentoo-691af16afd3af5fa69d53a7d72ec2a3e2e1d85b0.tar.gz
gentoo-691af16afd3af5fa69d53a7d72ec2a3e2e1d85b0.tar.bz2
gentoo-691af16afd3af5fa69d53a7d72ec2a3e2e1d85b0.zip
dev-python/botocore: Bump to 1.31.59
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.59.ebuild68
2 files changed, 69 insertions, 0 deletions
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 083d0e15cf3f..2c41c345bf81 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -5,3 +5,4 @@ DIST botocore-1.31.55.gh.tar.gz 11883762 BLAKE2B eac01a2c463754306f2846ed9144531
DIST botocore-1.31.56.gh.tar.gz 11885802 BLAKE2B 4fd386fcc987672df88ffec5265c1fd9f18a75b3557643ad27dae67dddc485a3f787722942bca0daf277eb4d03dfe7164ede63b4f85e44182db2e248b507f9a7 SHA512 d1a1757e4c4d68122ab963bddc57304609e0b4c225f8e81c38a4a3b116312884757f36f07cf7f324d059037ff81d5b6ab2e225893c18e9ed5ce2203bc0c47aa0
DIST botocore-1.31.57.gh.tar.gz 11899280 BLAKE2B 047cba5850b024dd4070346eb2c635696f9684a38ea458357c934295e86d33b65e3b9f8e98e5fa96d2f0ba18c68bfc970c1fe7ad13bbfc0e83ede4ae4b6dbb88 SHA512 512bfd31a3534213977f6d05cf8603222e9517cc0d95cdf0fa3c9f9565f0f08cb7e646830a5d5093df7ca5b84c82db2887648e7b7cf47411486c664c730963d9
DIST botocore-1.31.58.gh.tar.gz 11900019 BLAKE2B 8b78876c5ca816b1aa71fb32dc261fe1a8df9af4d6ded7ebe7a5472ae4673e38bc5486dcb01c718f663ddebf897ea57da591e16060816063d25f1c4afe9cecad SHA512 0401181971ccb96431667ef5280cb60157691af0e26628f0f257f131c792f02379f710bfb00af4be29183b87873bf9072f7cab45e8b5035894b8914c3824f3fe
+DIST botocore-1.31.59.gh.tar.gz 11910861 BLAKE2B 8010fb8d3cacf5fd21a9377496939868dbd9a4c0a791bcaa87559f4c4c152f7364685f3cd7d3fd4ff8dce0ee7c7b1a69b2901ae13de78a608af4c63457b53789 SHA512 9c6758f887753a46ffa849c2aa32564d48909de9a6ffb78881739443087be67fa82955c32df98367331318ec061fe7b7e4d8d3a1538ac29b420145c1c5de0b7b
diff --git a/dev-python/botocore/botocore-1.31.59.ebuild b/dev-python/botocore/botocore-1.31.59.ebuild
new file mode 100644
index 000000000000..7cacb5c3f634
--- /dev/null
+++ b/dev-python/botocore/botocore-1.31.59.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)"
+}