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/boto3/
Date: Sat, 30 Jul 2022 13:39:46
Message-Id: 1659188231.8509afaa45e87783ab0366f904d44d77ca2bb966.mgorny@gentoo
1 commit: 8509afaa45e87783ab0366f904d44d77ca2bb966
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 30 13:37:11 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 30 13:37:11 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8509afaa
7
8 dev-python/boto3: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/boto3/Manifest | 2 --
13 dev-python/boto3/boto3-1.24.37.ebuild | 68 -----------------------------------
14 dev-python/boto3/boto3-1.24.40.ebuild | 68 -----------------------------------
15 3 files changed, 138 deletions(-)
16
17 diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
18 index 6b912adb909c..255086029a68 100644
19 --- a/dev-python/boto3/Manifest
20 +++ b/dev-python/boto3/Manifest
21 @@ -1,6 +1,4 @@
22 DIST boto3-1.24.26.gh.tar.gz 515531 BLAKE2B 34f99c4dd224731e07c2f0b175d6d172661ce454a7af16be6856053af1bfac69b7f56ada5b154fb625fe2ba1fb22fbe34b5150c550890e46a923b48f2466b06b SHA512 a3980ec79abd5e2656d7d02b36dff6b8c2acb67033eff134d96dccbb9d8bbc2d711698b87d08d537256fad7e3b3cd7af008018ef567b12d63ef0fc871a8f3b3e
23 DIST boto3-1.24.31.gh.tar.gz 519387 BLAKE2B 8581d1018f0e1f0802779851edb52fdb6860c44bf46e6315eddd3b603cb65a0763707686286aa06447e90df6c8e6cae3de0e6bae8a9836ad90e5a3f4335797bf SHA512 370773f2365f4dcc7b73d0828bc84f0de5c15b189d23b799738c2358b1b0119e5e457f26529b7a6c90d637c2142121a2874d088671715c8deb4b793afbf7fd38
24 DIST boto3-1.24.36.gh.tar.gz 522156 BLAKE2B b76cb50f01ff85c960a0984f950e72f02ac6e85131fd344142b886a3c745cb8b9073f865527911b88c462912413fce6df4066752ab5eec8ad1561d349ad22437 SHA512 fe00e78cc522248c449f83f869bb7d76793db9aa436259e74d0aa25984a02876191a7df41b1ad7658b06e418f248ad616743698c87a5c9696f77a196a53c561e
25 -DIST boto3-1.24.37.gh.tar.gz 522233 BLAKE2B ab361fd7443ff499c18a8e86c9a80da14e6a1d960fbac26d2e12d8806684daf169010225ce7a402626a814cb29fcc281ea61d293eb5eb197f48dccdb8a7a14ef SHA512 b75ea002f3a3e3b8c498797278adbf5f7d4b220baf7b8fa3be8c972bf2981933d962878b7d96a7c01c9a28be267effea34b48692716e7eabfa077ede380c816e
26 -DIST boto3-1.24.40.gh.tar.gz 524303 BLAKE2B 750d366914ebbfaab262a88d96afb1df6f16c108e1e07537e0ae2234df95500c7dabaeae27afc5c5cbb8b0370b3a088b97c16a8c48e3d2f5741744841f29fa1b SHA512 240b78619783a30919dc62c6240b07d51c8a4e4ee0fcb6c4daba19c6d5830d8623923de6cb984e7310bf5e745b0d20a2471578a2f8650089aca96e9575d3542a
27 DIST boto3-1.24.41.gh.tar.gz 523844 BLAKE2B 0cff30d6aba5e8eddb8f545737e22a146ef9a3c33df2ad5b4f6d0ef8fd67cb46183eb7fa21e8a961d2597df8d965478bcb0038f5dda117611bcfe15f0de26eac SHA512 ad3a6035352c54f7ba0197357a5a4e001c8fe7548121a9a3931acb69f9c098feb8da1d1699ac98d3ff00626f39082753434f1c992351a82cf269ce2c6a4eab06
28
29 diff --git a/dev-python/boto3/boto3-1.24.37.ebuild b/dev-python/boto3/boto3-1.24.37.ebuild
30 deleted file mode 100644
31 index 6edcc751d54b..000000000000
32 --- a/dev-python/boto3/boto3-1.24.37.ebuild
33 +++ /dev/null
34 @@ -1,68 +0,0 @@
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="The AWS SDK for Python"
46 -HOMEPAGE="
47 - https://github.com/boto/boto3/
48 - https://pypi.org/project/boto3/
49 -"
50 -LICENSE="Apache-2.0"
51 -SLOT="0"
52 -
53 -if [[ "${PV}" == "9999" ]]; then
54 - EGIT_REPO_URI="https://github.com/boto/boto3"
55 - inherit git-r3
56 - BOTOCORE_PV=${PV}
57 -else
58 - SRC_URI="
59 - https://github.com/boto/boto3/archive/${PV}.tar.gz
60 - -> ${P}.gh.tar.gz
61 - "
62 - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
63 -
64 - # botocore is x.(y+3).z
65 - BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)"
66 -fi
67 -
68 -RDEPEND="
69 - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
70 - >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
71 - >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
72 -"
73 -BDEPEND="
74 - test? (
75 - dev-python/mock[${PYTHON_USEDEP}]
76 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
77 - )
78 -"
79 -
80 -distutils_enable_sphinx docs/source \
81 - 'dev-python/guzzle_sphinx_theme'
82 -distutils_enable_tests pytest
83 -
84 -python_prepare_all() {
85 - # don't lock versions to narrow ranges
86 - sed -e '/botocore/ d' \
87 - -e '/jmespath/ d' \
88 - -e '/s3transfer/ d' \
89 - -i setup.py || die
90 -
91 - # do not rely on bundled deps in botocore (sic!)
92 - find -name '*.py' -exec sed -i \
93 - -e 's:from botocore[.]vendored import:import:' \
94 - -e 's:from botocore[.]vendored[.]:from :' \
95 - {} + || die
96 -
97 - distutils-r1_python_prepare_all
98 -}
99 -
100 -python_test() {
101 - epytest tests/{functional,unit} -n "$(makeopts_jobs)"
102 -}
103
104 diff --git a/dev-python/boto3/boto3-1.24.40.ebuild b/dev-python/boto3/boto3-1.24.40.ebuild
105 deleted file mode 100644
106 index 6edcc751d54b..000000000000
107 --- a/dev-python/boto3/boto3-1.24.40.ebuild
108 +++ /dev/null
109 @@ -1,68 +0,0 @@
110 -# Copyright 1999-2022 Gentoo Authors
111 -# Distributed under the terms of the GNU General Public License v2
112 -
113 -EAPI=8
114 -
115 -DISTUTILS_USE_PEP517=setuptools
116 -PYTHON_COMPAT=( python3_{8..11} )
117 -
118 -inherit distutils-r1 multiprocessing
119 -
120 -DESCRIPTION="The AWS SDK for Python"
121 -HOMEPAGE="
122 - https://github.com/boto/boto3/
123 - https://pypi.org/project/boto3/
124 -"
125 -LICENSE="Apache-2.0"
126 -SLOT="0"
127 -
128 -if [[ "${PV}" == "9999" ]]; then
129 - EGIT_REPO_URI="https://github.com/boto/boto3"
130 - inherit git-r3
131 - BOTOCORE_PV=${PV}
132 -else
133 - SRC_URI="
134 - https://github.com/boto/boto3/archive/${PV}.tar.gz
135 - -> ${P}.gh.tar.gz
136 - "
137 - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
138 -
139 - # botocore is x.(y+3).z
140 - BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)"
141 -fi
142 -
143 -RDEPEND="
144 - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
145 - >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
146 - >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
147 -"
148 -BDEPEND="
149 - test? (
150 - dev-python/mock[${PYTHON_USEDEP}]
151 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
152 - )
153 -"
154 -
155 -distutils_enable_sphinx docs/source \
156 - 'dev-python/guzzle_sphinx_theme'
157 -distutils_enable_tests pytest
158 -
159 -python_prepare_all() {
160 - # don't lock versions to narrow ranges
161 - sed -e '/botocore/ d' \
162 - -e '/jmespath/ d' \
163 - -e '/s3transfer/ d' \
164 - -i setup.py || die
165 -
166 - # do not rely on bundled deps in botocore (sic!)
167 - find -name '*.py' -exec sed -i \
168 - -e 's:from botocore[.]vendored import:import:' \
169 - -e 's:from botocore[.]vendored[.]:from :' \
170 - {} + || die
171 -
172 - distutils-r1_python_prepare_all
173 -}
174 -
175 -python_test() {
176 - epytest tests/{functional,unit} -n "$(makeopts_jobs)"
177 -}