Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/botocore/
Date: Sat, 28 May 2022 05:00:24
Message-Id: 1653714011.90aef924131e1a67fbf3f45d898e9fbf33432931.mgorny@gentoo
1 commit: 90aef924131e1a67fbf3f45d898e9fbf33432931
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 28 04:05:49 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat May 28 05:00:11 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90aef924
7
8 dev-python/botocore: Bump to 1.26.10
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/botocore/Manifest | 1 +
13 dev-python/botocore/botocore-1.26.10.ebuild | 70 +++++++++++++++++++++++++++++
14 2 files changed, 71 insertions(+)
15
16 diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
17 index 6b1d6dabaaad..09ef0463627f 100644
18 --- a/dev-python/botocore/Manifest
19 +++ b/dev-python/botocore/Manifest
20 @@ -1,6 +1,7 @@
21 DIST botocore-1.25.9.tar.gz 8962451 BLAKE2B 5930499f514d5e9b9f0fa0c87a2461071a0432bb3957779a4669448bd7b34e94a5339598703419f36c01e505c8487217a4f525ce63832bc97ad35ef584ef45f3 SHA512 533c5ff383e53aa2b00a83b182207e9dd2d40ea000c7a0f1e74e30989c6c15f54fd26eb67375ceeb90c1a6ab158bda7de75ac40fe6b14614209ebb7063b9e2a1
22 DIST botocore-1.26.0.tar.gz 8968864 BLAKE2B fc07441c4a759273a1abe6826048082b0e2ce38964de507a9091d5898d998ffb30e9bab835c9a6be2d3d01c15813230fda3a1d0457c5e7aa8573fc262cd9e4d4 SHA512 2bc8cd2c7db5549fa1f8f1364d42a4a6463b1fc8d0a80cd5026ec5f765b2a02108274eb33a6d5d00b3bb07a30351b458e1829b547c07134420a6aed343526990
23 DIST botocore-1.26.1.tar.gz 8972136 BLAKE2B cf5d18d87fe5e78f6bb623e82dea9ec712867301e7b1fdd46724eb3aa37b7395d91dc206bc9329df96bab9c8072c8b071eaaea767848794db349982c630ab0d2 SHA512 c18160d1eb6f9feb6b4db2441c360112c1d8f88d8d2a3624f89b6ee4815c200c68d70601fbea1c93682af506cc6809a7e34568f543a25adbfd7ca09c309236ff
24 +DIST botocore-1.26.10.tar.gz 9008316 BLAKE2B a05078ec5732015cbd8ea4da2d2d82e28f4241b7c3164f3410ae396a19f79c116f7a9059a3361e99eacc952f860a516b187375dbf64ee5e4e5648e8c3b0f95a5 SHA512 b12e9002dc8e0912a9681938f343b51d628f0b2798693dc81636fe7ede01d006d5bc8a901f92edf10a88d97c3c6311aaf97206a6f55070e645747536fe39b144
25 DIST botocore-1.26.2.tar.gz 8990271 BLAKE2B 95ddae48b54ba0455959a95eb4dc992bf1a28b5b0004c8004298bea30eb729cc20d0bf7b189a0e62a12939365fd106ccfc06a00092b3229077b665bdcaebd86f SHA512 df478a29511a9436bcab16dca448d4d196988402a326fd8be8f0dd4fbfab0b97ef16b31f241c44e9f9973bbeafc99d79f317838e0e6a83f25299218fd5fce1ac
26 DIST botocore-1.26.3.tar.gz 8992054 BLAKE2B 74937d1a12f4c7509e0835ad273850a6de6df2f67d594cc30ea4bac7ef0b920e8d606aa39e4f47ec3a08fd0e47867cf7832db9218d9eebf4f2a08194ece63f4a SHA512 aae80723446a9f3ac4beb1fdd3690f62c2eb87cf41c2d5106d5ad1679507c7ac82da8b375a5c67a773057f7c1692e85d723952edb4ba62fe378788324b758b55
27 DIST botocore-1.26.4.tar.gz 8993009 BLAKE2B 4d968ed094a8581efa08ce7b51ea8967937e41192e1d7ef71a8d26220250c1534f3c9f4753913ce2763c3bb90305a31823507a7ff9f1c318b4c7b0fff06a59dc SHA512 80f2205e86e36e7c5ae7e29626fc5ff9b6e92741d752b68e37d835255d0a58663169232a7a57b57eb09dc84c6050b2d96fb1d17f571f894fe7a2f31135cc2a4f
28
29 diff --git a/dev-python/botocore/botocore-1.26.10.ebuild b/dev-python/botocore/botocore-1.26.10.ebuild
30 new file mode 100644
31 index 000000000000..2fb86c59b25e
32 --- /dev/null
33 +++ b/dev-python/botocore/botocore-1.26.10.ebuild
34 @@ -0,0 +1,70 @@
35 +# Copyright 1999-2022 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=8
39 +
40 +DISTUTILS_USE_PEP517=setuptools
41 +PYTHON_COMPAT=( python3_{8..11} )
42 +
43 +inherit distutils-r1 multiprocessing
44 +
45 +DESCRIPTION="Low-level, data-driven core of boto 3"
46 +HOMEPAGE="
47 + https://github.com/boto/botocore/
48 + https://pypi.org/project/botocore/
49 +"
50 +LICENSE="Apache-2.0"
51 +SLOT="0"
52 +
53 +if [[ "${PV}" == "9999" ]]; then
54 + EGIT_REPO_URI="https://github.com/boto/botocore"
55 + inherit git-r3
56 +else
57 + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
58 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
59 +fi
60 +
61 +RDEPEND="
62 + dev-python/six[${PYTHON_USEDEP}]
63 + <dev-python/jmespath-2[${PYTHON_USEDEP}]
64 + dev-python/python-dateutil[${PYTHON_USEDEP}]
65 + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
66 +"
67 +BDEPEND="
68 + test? (
69 + dev-python/jsonschema[${PYTHON_USEDEP}]
70 + dev-python/pytest-xdist[${PYTHON_USEDEP}]
71 + )
72 +"
73 +
74 +PATCHES=(
75 + "${FILESDIR}/botocore-1.26.0-py311.patch"
76 +)
77 +
78 +distutils_enable_sphinx docs/source \
79 + 'dev-python/guzzle_sphinx_theme'
80 +distutils_enable_tests pytest
81 +
82 +src_prepare() {
83 + # unpin deps
84 + sed -i -e "s:>=.*':':" setup.py || die
85 +
86 + # unbundle deps
87 + rm -r botocore/vendored || die
88 + find -name '*.py' -exec sed -i \
89 + -e 's:from botocore[.]vendored import:import:' \
90 + -e 's:from botocore[.]vendored[.]:from :' \
91 + {} + || die
92 +
93 + distutils-r1_src_prepare
94 +}
95 +
96 +python_test() {
97 + local EPYTEST_DESELECT=(
98 + # rely on bundled six
99 + tests/functional/test_six_imports.py::test_no_bare_six_imports
100 + tests/functional/test_six_threading.py::test_six_thread_safety
101 + )
102 +
103 + epytest tests/{functional,unit} -n "$(makeopts_jobs)"
104 +}