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/elasticsearch-py/
Date: Fri, 16 Aug 2019 13:50:34
Message-Id: 1565962807.4b2247e3fb82a2c8d70f00159a4298bd7ca672e4.mgorny@gentoo
1 commit: 4b2247e3fb82a2c8d70f00159a4298bd7ca672e4
2 Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
3 AuthorDate: Fri Aug 16 12:20:39 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 16 13:40:07 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b2247e3
7
8 dev-python/elasticsearch-py: drop old
9
10 Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
11 Closes: https://github.com/gentoo/gentoo/pull/12724
12 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
13
14 dev-python/elasticsearch-py/Manifest | 14 ---
15 .../elasticsearch-py/elasticsearch-py-5.5.2.ebuild | 102 ---------------------
16 .../elasticsearch-py/elasticsearch-py-5.5.3.ebuild | 102 ---------------------
17 .../elasticsearch-py/elasticsearch-py-5.5.5.ebuild | 102 ---------------------
18 .../elasticsearch-py/elasticsearch-py-6.0.0.ebuild | 102 ---------------------
19 .../elasticsearch-py/elasticsearch-py-6.1.1.ebuild | 102 ---------------------
20 .../elasticsearch-py/elasticsearch-py-6.2.0.ebuild | 102 ---------------------
21 .../elasticsearch-py/elasticsearch-py-6.3.0.ebuild | 102 ---------------------
22 8 files changed, 728 deletions(-)
23
24 diff --git a/dev-python/elasticsearch-py/Manifest b/dev-python/elasticsearch-py/Manifest
25 index 0bded97dc8c..b260c9817c4 100644
26 --- a/dev-python/elasticsearch-py/Manifest
27 +++ b/dev-python/elasticsearch-py/Manifest
28 @@ -1,16 +1,2 @@
29 -DIST elasticsearch-5.6.11.tar.gz 33864199 BLAKE2B 08884e6367007835ec1d248912d4127ade4d5fff85927df86ee7de4ebf5ee9bc9639940c89b71739cf17fd389d0c47a23cc48ccd1777b94830f1614663fd7487 SHA512 cc0ec89889e23d7aa3e03a2bb76bf6bb40b3084a8a13da99851c4770533048283d36b4c13322b4689480914e5e57c4c998d4abba44d8caa44ffdb21edb207a9c
30 -DIST elasticsearch-5.6.7.tar.gz 33789994 BLAKE2B 4e5f4e55cb3875adee7528e26187659b5bac7b2def9d22d438f888fb33ce116654b54859d8430b203c14939bd3821240f8ed209ce120388256e9389ab9acd11c SHA512 2c9fbe8d3ccdced6242b5d876cb9a25a3ef1b94f9de0720aa438458b0235082220621afffe7976664bf08b13b4aee157c28a5d519b5594e6d9d7855c24e93056
31 -DIST elasticsearch-5.6.9.tar.gz 33794793 BLAKE2B a056443b1f71b3af773b5195147927017456e1c9a6517c549cfe7e4ec70f0ff4ec9363c9ef6376b7b942e82f811cd5927d44eb9f9eb8022a56e54a85b4ba7c46 SHA512 4e61a4c5f79d0439a414f1e9361f855cdb2f79322cf592bad43132605922fb8ded6368b01e05ef6bcbee49911943c2a3b6be5fd6d0900abddfe03c736cca96d6
32 -DIST elasticsearch-6.0.1.tar.gz 28026460 BLAKE2B a70cd36affaccccf1ea552167e585a35cc748de1137cf4b23387798ae31b851104ccc19f8be83ecc645bcebfba344b5e55a397a9cbb0b380c4a118f1f0ffecf2 SHA512 b86a04acd194e7e96e3a32de6ab4983d6569ffb1714f2af9e2b49623004987e13e57c5db055153a188f5d2d7eea63d649fa87769f7625f3fc4923e0cd5b8f3ee
33 -DIST elasticsearch-6.1.3.tar.gz 28454781 BLAKE2B 80c42a64fb533a5b2f0a2c6ea154b129e327acc0d2addc6f1dd5fd949573459ec87118e12b98791642fdfa8e92927d749dd60119adcb398fca56e6e00b0811e2 SHA512 af10cc571ab55f52ab73a86373fa8359214a7866fbb6d2910669e6be897bae30c41c007c3be5803a7f07736041f32cf36425c182a18fab39499321ed9eb4b349
34 -DIST elasticsearch-6.2.3.tar.gz 29050159 BLAKE2B 32a722e3861abf024a4b82ffe97877896cf3ffc76aac34fd942eeb9ca490ac41f3bf530b6313104fdf2c4900ea377d57837c465c6de6f983afac99802586b1c7 SHA512 8103c2b817cd5e14057c28372f379bb9c2b7833698818882c649d349904163d0c69d147836d03428619535652902532f7e5abc1e23214ad735c54b1d914acabf
35 -DIST elasticsearch-oss-6.3.0.tar.gz 29418173 BLAKE2B fbe5e08de6628f221d38ebda0c8dc2a63eba0f916e289ef6f587b64817f78fd8f9b8bfaa4db6c05223cd4ff2e4c2213a63b68ef886c56ba2b963238e42e78090 SHA512 679c7b86590b7d006476ddaef2c3eb285d444d30f44877a7b34a0d6bb8ea043477944e9c0d6c4d1d85557aa6b3b724bc8b1025d95af26cf0f19a73b5f701a2aa
36 DIST elasticsearch-oss-6.4.0.tar.gz 33727061 BLAKE2B dd0ff95bb124103ca340b480c5192c9919ef226d4c3ef1b61accd0df2ee9b60a8215693b3db0fa327a4d6791de66746654144a9172210687e8a2efa9f6f4dde3 SHA512 0197dcf24bdb81cbcfa492d899363528816143962abd1925a5092e8177c25e8ca490afe5868b41057b3cded296f59f38ed11ba0156a820b6c877c69a5888846c
37 -DIST elasticsearch-py-5.5.2.tar.gz 83415 BLAKE2B 6adf9d5e05c2d097590bc78df9c9a7a948194a4106d718464c04e705380984b51d8f7e04fe9d0eaa6518d6d8767aa064c99512cf827a31e993178ee3c28a8815 SHA512 c5c9583179e87b13c7edf14baeb5a360369f37a953049c3c7e101c379cf895c8fe743d5edaaee6aa0fa4ee6cdab9364c0177097ad780ed3d85ede754088520a3
38 -DIST elasticsearch-py-5.5.3.tar.gz 83461 BLAKE2B 8281c841f55d2bf9749e9914ef38f0d06a32cb0367e06ccfe853f628b549a736e5a7ea0d457eadc541058f352bffb2431c077af0b1eb47bb10f4c9d37182d36e SHA512 cbf4a993d5c2245c72a87d2edfa8eae50b5fc474c42ae6d3dd8503941b86ae030925de486047305fa18ee273dbed8e0a2bd66ddf8ec8724ba8d04c1489dd3393
39 -DIST elasticsearch-py-5.5.5.tar.gz 83691 BLAKE2B cf4475130d0055419018415a83110c693aa6821331bfddbef5225766aa094faae2886ceae1c55aaec15b4cdf295f914cd67d56d9e79996d4a4fac6515b2e1d3c SHA512 686fa7c5b29233687f0c3d531cb9754a8c9dfa43902bb4cfdeb276166aefdca2a31bc2ee302cdace6ccfabd76aa7e08c77ac745e3c4696b5ec368f0f6c0c7efc
40 -DIST elasticsearch-py-6.0.0.tar.gz 83197 BLAKE2B 5ca16c9b881fe6f8c4944e8eec69be0532fe472564b12dbaa40225b29b8a2b88974e35ed2ab733722023da3ed877a2934bb545387ffdcf307d519950a8971880 SHA512 1d6c27654f9470837e9cb9866cb6f5305d63cac9dc6bddc06309e378a5e7b7fe3d21cae5ffd115685fe8ddcfd8cbbe1457d74799dde0fc7427f90fc870f1c444
41 -DIST elasticsearch-py-6.1.1.tar.gz 83575 BLAKE2B fc7cd690208a401b83fd1b86957dc49b2bd686248f2d78901551c26e67e06f4c7f6175346fd0374ff509477f571a8074ac30aa0e2cca1c73b11b6cdce67bfe33 SHA512 f593865de8879ac42cbbd35dd6bcc1da9513124556dcd3f1d8240e9d2818682136bfac09387c50797f4daada33699a7f5c1591172a7d89c3bd865595a5706c18
42 -DIST elasticsearch-py-6.2.0.tar.gz 89784 BLAKE2B 150668b378d50ea2d62f75a71127b524d44e5d69bc96905f70b38162598a11ab77aa34814788e4177f668a1109191bdbb4c28698da608a35c70a45026ad9c22b SHA512 f7205db8b8608ce52657a114a38f59b95ed0ea5acb0a5f18197be6baebde80fd88210a5f88fb5d2770f82f1dc7212d038d801f96c7d18cfe1e77c16ee0fa5208
43 -DIST elasticsearch-py-6.3.0.tar.gz 90835 BLAKE2B 3c1fba5b70474b6119678fd2d9234b625fca120d7fbd1ab048ff455daf30f4784e468fe0e62b4866ef13d344144e9d7b53bbbc0ad9725e7c5132b79275785242 SHA512 ee60840b7e9706141a650821f705f1bb92fe3c4c282ecad71b3912ad25025519f456b45af85109a900094a53c47c374e450d771c1ef3a3690400272c6f8a47bc
44 DIST elasticsearch-py-6.3.1.tar.gz 90047 BLAKE2B 765d0a34bd22067e07f4e862eb72f2b67bd0db3516abdf76cdc0d4f24de3db6941b4dbc6afb6315667d640514415cf08ff6de127c84ab36ef9bf062d4e687d55 SHA512 b975a6b446b760bf62289e855768a26b9e104aba9cd399cf275f59f2755efa00bd55c99a746751dad2f7a18f581a1b124c1bb9b91f5c3dc9fb00138c9d198aea
45
46 diff --git a/dev-python/elasticsearch-py/elasticsearch-py-5.5.2.ebuild b/dev-python/elasticsearch-py/elasticsearch-py-5.5.2.ebuild
47 deleted file mode 100644
48 index ee4f3c193d1..00000000000
49 --- a/dev-python/elasticsearch-py/elasticsearch-py-5.5.2.ebuild
50 +++ /dev/null
51 @@ -1,102 +0,0 @@
52 -# Copyright 1999-2019 Gentoo Authors
53 -# Distributed under the terms of the GNU General Public License v2
54 -
55 -EAPI=6
56 -
57 -PYTHON_COMPAT=( python2_7 python3_{5,6} pypy )
58 -ES_VERSION="5.6.7"
59 -
60 -inherit distutils-r1
61 -
62 -MY_PN=${PN/-py/}
63 -DESCRIPTION="official Python low-level client for Elasticsearch"
64 -HOMEPAGE="https://github.com/elastic/elasticsearch-py"
65 -SRC_URI="https://github.com/elasticsearch/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
66 - test? ( https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz )"
67 -
68 -LICENSE="Apache-2.0"
69 -SLOT="0"
70 -KEYWORDS="amd64 x86"
71 -IUSE="examples doc test"
72 -
73 -# tests fail in chroot
74 -# https://github.com/elastic/elasticsearch/issues/12018
75 -RESTRICT="test"
76 -
77 -RDEPEND=">=dev-python/urllib3-1.21.1[${PYTHON_USEDEP}]
78 - <dev-python/urllib3-1.23[${PYTHON_USEDEP}]"
79 -
80 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
81 - >=dev-python/sphinx-1.3.1-r1[${PYTHON_USEDEP}]
82 - test? ( ${RDEPEND}
83 - >=dev-python/requests-2.0.0[${PYTHON_USEDEP}]
84 - <dev-python/requests-3.0.0[${PYTHON_USEDEP}]
85 - dev-python/nose[${PYTHON_USEDEP}]
86 - dev-python/coverage[${PYTHON_USEDEP}]
87 - dev-python/mock[${PYTHON_USEDEP}]
88 - dev-python/pretty-yaml[${PYTHON_USEDEP}]
89 - dev-python/nosexcover[${PYTHON_USEDEP}]
90 - virtual/jre:1.8 )"
91 -
92 -python_prepare_all() {
93 - # 643684
94 - sed -i -e /urllib3/d setup.py || die
95 -
96 - distutils-r1_python_prepare_all
97 -}
98 -
99 -python_compile_all() {
100 - emake -C docs -j1 man $(usex doc html "")
101 -}
102 -
103 -# FEATURES="test -usersandbox" emerge dev-python/elasticsearch-py
104 -python_test() {
105 - ES="${WORKDIR}/elasticsearch-${ES_VERSION}"
106 - ES_PORT="25124"
107 - ES_INSTANCE="gentoo-es-py-test"
108 - ES_LOG="${ES}/logs/${ES_INSTANCE}.log"
109 - PID="${ES}/elasticsearch.pid"
110 -
111 - # run Elasticsearch instance on custom port
112 - sed -i "s/#http.port: 9200/http.port: ${ES_PORT}/g; \
113 - s/#cluster.name: my-application/cluster.name: ${ES_INSTANCE}/g" \
114 - "${ES}/config/elasticsearch.yml" || die
115 -
116 - # start local instance of elasticsearch
117 - "${ES}"/bin/elasticsearch -d -p "${PID}" -Epath.repo=/ || die
118 -
119 - local i
120 - local es_started=0
121 - for i in {1..20}; do
122 - grep -q "started" ${ES_LOG} 2> /dev/null
123 - if [[ $? -eq 0 ]]; then
124 - einfo "Elasticsearch started"
125 - es_started=1
126 - eend 0
127 - break
128 - elif grep -q 'BindException\[Address already in use\]' "${ES_LOG}" 2>/dev/null; then
129 - eend 1
130 - eerror "Elasticsearch already running"
131 - die "Cannot start Elasticsearch for tests"
132 - else
133 - einfo "Waiting for Elasticsearch"
134 - eend 1
135 - sleep 2
136 - continue
137 - fi
138 - done
139 -
140 - [[ $es_started -eq 0 ]] && die "Elasticsearch failed to start"
141 -
142 - export TEST_ES_SERVER="localhost:${ES_PORT}"
143 - esetup.py test || die
144 -
145 - pkill -F ${PID}
146 -}
147 -
148 -python_install_all() {
149 - use doc && HTML_DOCS=( docs/_build/html/. )
150 - use examples && dodoc -r example
151 - doman docs/_build/man/*
152 - distutils-r1_python_install_all
153 -}
154
155 diff --git a/dev-python/elasticsearch-py/elasticsearch-py-5.5.3.ebuild b/dev-python/elasticsearch-py/elasticsearch-py-5.5.3.ebuild
156 deleted file mode 100644
157 index b3208f47c46..00000000000
158 --- a/dev-python/elasticsearch-py/elasticsearch-py-5.5.3.ebuild
159 +++ /dev/null
160 @@ -1,102 +0,0 @@
161 -# Copyright 1999-2019 Gentoo Authors
162 -# Distributed under the terms of the GNU General Public License v2
163 -
164 -EAPI=6
165 -
166 -PYTHON_COMPAT=( python2_7 python3_{5,6} pypy )
167 -ES_VERSION="5.6.9"
168 -
169 -inherit distutils-r1
170 -
171 -MY_PN=${PN/-py/}
172 -DESCRIPTION="official Python low-level client for Elasticsearch"
173 -HOMEPAGE="https://github.com/elastic/elasticsearch-py"
174 -SRC_URI="https://github.com/elasticsearch/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
175 - test? ( https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz )"
176 -
177 -LICENSE="Apache-2.0"
178 -SLOT="0"
179 -KEYWORDS="~amd64 ~x86"
180 -IUSE="examples doc test"
181 -
182 -# tests fail in chroot
183 -# https://github.com/elastic/elasticsearch/issues/12018
184 -RESTRICT="test"
185 -
186 -RDEPEND=">=dev-python/urllib3-1.21.1[${PYTHON_USEDEP}]
187 - <dev-python/urllib3-1.23[${PYTHON_USEDEP}]"
188 -
189 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
190 - >=dev-python/sphinx-1.3.1-r1[${PYTHON_USEDEP}]
191 - test? ( ${RDEPEND}
192 - >=dev-python/requests-2.0.0[${PYTHON_USEDEP}]
193 - <dev-python/requests-3.0.0[${PYTHON_USEDEP}]
194 - dev-python/nose[${PYTHON_USEDEP}]
195 - dev-python/coverage[${PYTHON_USEDEP}]
196 - dev-python/mock[${PYTHON_USEDEP}]
197 - dev-python/pretty-yaml[${PYTHON_USEDEP}]
198 - dev-python/nosexcover[${PYTHON_USEDEP}]
199 - virtual/jre:1.8 )"
200 -
201 -python_prepare_all() {
202 - # 643684
203 - sed -i -e /urllib3/d setup.py || die
204 -
205 - distutils-r1_python_prepare_all
206 -}
207 -
208 -python_compile_all() {
209 - emake -C docs -j1 man $(usex doc html "")
210 -}
211 -
212 -# FEATURES="test -usersandbox" emerge dev-python/elasticsearch-py
213 -python_test() {
214 - ES="${WORKDIR}/elasticsearch-${ES_VERSION}"
215 - ES_PORT="25124"
216 - ES_INSTANCE="gentoo-es-py-test"
217 - ES_LOG="${ES}/logs/${ES_INSTANCE}.log"
218 - PID="${ES}/elasticsearch.pid"
219 -
220 - # run Elasticsearch instance on custom port
221 - sed -i "s/#http.port: 9200/http.port: ${ES_PORT}/g; \
222 - s/#cluster.name: my-application/cluster.name: ${ES_INSTANCE}/g" \
223 - "${ES}/config/elasticsearch.yml" || die
224 -
225 - # start local instance of elasticsearch
226 - "${ES}"/bin/elasticsearch -d -p "${PID}" -Epath.repo=/ || die
227 -
228 - local i
229 - local es_started=0
230 - for i in {1..20}; do
231 - grep -q "started" ${ES_LOG} 2> /dev/null
232 - if [[ $? -eq 0 ]]; then
233 - einfo "Elasticsearch started"
234 - es_started=1
235 - eend 0
236 - break
237 - elif grep -q 'BindException\[Address already in use\]' "${ES_LOG}" 2>/dev/null; then
238 - eend 1
239 - eerror "Elasticsearch already running"
240 - die "Cannot start Elasticsearch for tests"
241 - else
242 - einfo "Waiting for Elasticsearch"
243 - eend 1
244 - sleep 2
245 - continue
246 - fi
247 - done
248 -
249 - [[ $es_started -eq 0 ]] && die "Elasticsearch failed to start"
250 -
251 - export TEST_ES_SERVER="localhost:${ES_PORT}"
252 - esetup.py test || die
253 -
254 - pkill -F ${PID}
255 -}
256 -
257 -python_install_all() {
258 - use doc && HTML_DOCS=( docs/_build/html/. )
259 - use examples && dodoc -r example
260 - doman docs/_build/man/*
261 - distutils-r1_python_install_all
262 -}
263
264 diff --git a/dev-python/elasticsearch-py/elasticsearch-py-5.5.5.ebuild b/dev-python/elasticsearch-py/elasticsearch-py-5.5.5.ebuild
265 deleted file mode 100644
266 index 300b20c1f1b..00000000000
267 --- a/dev-python/elasticsearch-py/elasticsearch-py-5.5.5.ebuild
268 +++ /dev/null
269 @@ -1,102 +0,0 @@
270 -# Copyright 1999-2019 Gentoo Authors
271 -# Distributed under the terms of the GNU General Public License v2
272 -
273 -EAPI=7
274 -
275 -PYTHON_COMPAT=( python2_7 python3_{5,6} pypy )
276 -ES_VERSION="5.6.11"
277 -
278 -inherit distutils-r1
279 -
280 -MY_PN=${PN/-py/}
281 -DESCRIPTION="official Python low-level client for Elasticsearch"
282 -HOMEPAGE="https://github.com/elastic/elasticsearch-py"
283 -SRC_URI="https://github.com/elasticsearch/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
284 - test? ( https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz )"
285 -
286 -LICENSE="Apache-2.0"
287 -SLOT="0"
288 -KEYWORDS="~amd64 ~x86"
289 -IUSE="examples doc test"
290 -
291 -# tests fail in chroot
292 -# https://github.com/elastic/elasticsearch/issues/12018
293 -RESTRICT="test"
294 -
295 -RDEPEND=">=dev-python/urllib3-1.21.1[${PYTHON_USEDEP}]
296 - <dev-python/urllib3-1.23[${PYTHON_USEDEP}]"
297 -
298 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
299 - >=dev-python/sphinx-1.3.1-r1[${PYTHON_USEDEP}]
300 - test? ( ${RDEPEND}
301 - >=dev-python/requests-2.0.0[${PYTHON_USEDEP}]
302 - <dev-python/requests-3.0.0[${PYTHON_USEDEP}]
303 - dev-python/nose[${PYTHON_USEDEP}]
304 - dev-python/coverage[${PYTHON_USEDEP}]
305 - dev-python/mock[${PYTHON_USEDEP}]
306 - dev-python/pretty-yaml[${PYTHON_USEDEP}]
307 - dev-python/nosexcover[${PYTHON_USEDEP}]
308 - virtual/jre:1.8 )"
309 -
310 -python_prepare_all() {
311 - # 643684
312 - sed -i -e /urllib3/d setup.py || die
313 -
314 - distutils-r1_python_prepare_all
315 -}
316 -
317 -python_compile_all() {
318 - emake -C docs -j1 man $(usex doc html "")
319 -}
320 -
321 -# FEATURES="test -usersandbox" emerge dev-python/elasticsearch-py
322 -python_test() {
323 - ES="${WORKDIR}/elasticsearch-${ES_VERSION}"
324 - ES_PORT="25124"
325 - ES_INSTANCE="gentoo-es-py-test"
326 - ES_LOG="${ES}/logs/${ES_INSTANCE}.log"
327 - PID="${ES}/elasticsearch.pid"
328 -
329 - # run Elasticsearch instance on custom port
330 - sed -i "s/#http.port: 9200/http.port: ${ES_PORT}/g; \
331 - s/#cluster.name: my-application/cluster.name: ${ES_INSTANCE}/g" \
332 - "${ES}/config/elasticsearch.yml" || die
333 -
334 - # start local instance of elasticsearch
335 - "${ES}"/bin/elasticsearch -d -p "${PID}" -Epath.repo=/ || die
336 -
337 - local i
338 - local es_started=0
339 - for i in {1..20}; do
340 - grep -q "started" ${ES_LOG} 2> /dev/null
341 - if [[ $? -eq 0 ]]; then
342 - einfo "Elasticsearch started"
343 - es_started=1
344 - eend 0
345 - break
346 - elif grep -q 'BindException\[Address already in use\]' "${ES_LOG}" 2>/dev/null; then
347 - eend 1
348 - eerror "Elasticsearch already running"
349 - die "Cannot start Elasticsearch for tests"
350 - else
351 - einfo "Waiting for Elasticsearch"
352 - eend 1
353 - sleep 2
354 - continue
355 - fi
356 - done
357 -
358 - [[ $es_started -eq 0 ]] && die "Elasticsearch failed to start"
359 -
360 - export TEST_ES_SERVER="localhost:${ES_PORT}"
361 - esetup.py test || die
362 -
363 - pkill -F ${PID}
364 -}
365 -
366 -python_install_all() {
367 - use doc && HTML_DOCS=( docs/_build/html/. )
368 - use examples && dodoc -r example
369 - doman docs/_build/man/*
370 - distutils-r1_python_install_all
371 -}
372
373 diff --git a/dev-python/elasticsearch-py/elasticsearch-py-6.0.0.ebuild b/dev-python/elasticsearch-py/elasticsearch-py-6.0.0.ebuild
374 deleted file mode 100644
375 index 7536f2f9cfd..00000000000
376 --- a/dev-python/elasticsearch-py/elasticsearch-py-6.0.0.ebuild
377 +++ /dev/null
378 @@ -1,102 +0,0 @@
379 -# Copyright 1999-2019 Gentoo Authors
380 -# Distributed under the terms of the GNU General Public License v2
381 -
382 -EAPI=6
383 -
384 -PYTHON_COMPAT=( python2_7 python3_{5,6} pypy )
385 -ES_VERSION="6.0.1"
386 -
387 -inherit distutils-r1
388 -
389 -MY_PN=${PN/-py/}
390 -DESCRIPTION="official Python low-level client for Elasticsearch"
391 -HOMEPAGE="https://github.com/elastic/elasticsearch-py"
392 -SRC_URI="https://github.com/elasticsearch/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
393 - test? ( https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz )"
394 -
395 -LICENSE="Apache-2.0"
396 -SLOT="0"
397 -KEYWORDS="~amd64 ~x86"
398 -IUSE="examples doc test"
399 -
400 -# tests fail in chroot
401 -# https://github.com/elastic/elasticsearch/issues/12018
402 -RESTRICT="test"
403 -
404 -RDEPEND=">=dev-python/urllib3-1.21.1[${PYTHON_USEDEP}]
405 - <dev-python/urllib3-1.23[${PYTHON_USEDEP}]"
406 -
407 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
408 - >=dev-python/sphinx-1.3.1-r1[${PYTHON_USEDEP}]
409 - test? ( ${RDEPEND}
410 - >=dev-python/requests-2.0.0[${PYTHON_USEDEP}]
411 - <dev-python/requests-3.0.0[${PYTHON_USEDEP}]
412 - dev-python/nose[${PYTHON_USEDEP}]
413 - dev-python/coverage[${PYTHON_USEDEP}]
414 - dev-python/mock[${PYTHON_USEDEP}]
415 - dev-python/pretty-yaml[${PYTHON_USEDEP}]
416 - dev-python/nosexcover[${PYTHON_USEDEP}]
417 - virtual/jre:1.8 )"
418 -
419 -python_prepare_all() {
420 - # 643684
421 - sed -i -e /urllib3/d setup.py || die
422 -
423 - distutils-r1_python_prepare_all
424 -}
425 -
426 -python_compile_all() {
427 - emake -C docs -j1 man $(usex doc html "")
428 -}
429 -
430 -# FEATURES="test -usersandbox" emerge dev-python/elasticsearch-py
431 -python_test() {
432 - ES="${WORKDIR}/elasticsearch-${ES_VERSION}"
433 - ES_PORT="25124"
434 - ES_INSTANCE="gentoo-es-py-test"
435 - ES_LOG="${ES}/logs/${ES_INSTANCE}.log"
436 - PID="${ES}/elasticsearch.pid"
437 -
438 - # run Elasticsearch instance on custom port
439 - sed -i "s/#http.port: 9200/http.port: ${ES_PORT}/g; \
440 - s/#cluster.name: my-application/cluster.name: ${ES_INSTANCE}/g" \
441 - "${ES}/config/elasticsearch.yml" || die
442 -
443 - # start local instance of elasticsearch
444 - "${ES}"/bin/elasticsearch -d -p "${PID}" -Epath.repo=/ || die
445 -
446 - local i
447 - local es_started=0
448 - for i in {1..20}; do
449 - grep -q "started" ${ES_LOG} 2> /dev/null
450 - if [[ $? -eq 0 ]]; then
451 - einfo "Elasticsearch started"
452 - es_started=1
453 - eend 0
454 - break
455 - elif grep -q 'BindException\[Address already in use\]' "${ES_LOG}" 2>/dev/null; then
456 - eend 1
457 - eerror "Elasticsearch already running"
458 - die "Cannot start Elasticsearch for tests"
459 - else
460 - einfo "Waiting for Elasticsearch"
461 - eend 1
462 - sleep 2
463 - continue
464 - fi
465 - done
466 -
467 - [[ $es_started -eq 0 ]] && die "Elasticsearch failed to start"
468 -
469 - export TEST_ES_SERVER="localhost:${ES_PORT}"
470 - esetup.py test || die
471 -
472 - pkill -F ${PID}
473 -}
474 -
475 -python_install_all() {
476 - use doc && HTML_DOCS=( docs/_build/html/. )
477 - use examples && dodoc -r example
478 - doman docs/_build/man/*
479 - distutils-r1_python_install_all
480 -}
481
482 diff --git a/dev-python/elasticsearch-py/elasticsearch-py-6.1.1.ebuild b/dev-python/elasticsearch-py/elasticsearch-py-6.1.1.ebuild
483 deleted file mode 100644
484 index b97c874489d..00000000000
485 --- a/dev-python/elasticsearch-py/elasticsearch-py-6.1.1.ebuild
486 +++ /dev/null
487 @@ -1,102 +0,0 @@
488 -# Copyright 1999-2019 Gentoo Authors
489 -# Distributed under the terms of the GNU General Public License v2
490 -
491 -EAPI=6
492 -
493 -PYTHON_COMPAT=( python2_7 python3_{5,6} pypy )
494 -ES_VERSION="6.1.3"
495 -
496 -inherit distutils-r1
497 -
498 -MY_PN=${PN/-py/}
499 -DESCRIPTION="official Python low-level client for Elasticsearch"
500 -HOMEPAGE="https://github.com/elastic/elasticsearch-py"
501 -SRC_URI="https://github.com/elasticsearch/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
502 - test? ( https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz )"
503 -
504 -LICENSE="Apache-2.0"
505 -SLOT="0"
506 -KEYWORDS="~amd64 ~x86"
507 -IUSE="examples doc test"
508 -
509 -# tests fail in chroot
510 -# https://github.com/elastic/elasticsearch/issues/12018
511 -RESTRICT="test"
512 -
513 -RDEPEND=">=dev-python/urllib3-1.21.1[${PYTHON_USEDEP}]
514 - <dev-python/urllib3-1.23[${PYTHON_USEDEP}]"
515 -
516 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
517 - >=dev-python/sphinx-1.3.1-r1[${PYTHON_USEDEP}]
518 - test? ( ${RDEPEND}
519 - >=dev-python/requests-2.0.0[${PYTHON_USEDEP}]
520 - <dev-python/requests-3.0.0[${PYTHON_USEDEP}]
521 - dev-python/nose[${PYTHON_USEDEP}]
522 - dev-python/coverage[${PYTHON_USEDEP}]
523 - dev-python/mock[${PYTHON_USEDEP}]
524 - dev-python/pretty-yaml[${PYTHON_USEDEP}]
525 - dev-python/nosexcover[${PYTHON_USEDEP}]
526 - virtual/jre:1.8 )"
527 -
528 -python_prepare_all() {
529 - # 643684
530 - sed -i -e /urllib3/d setup.py || die
531 -
532 - distutils-r1_python_prepare_all
533 -}
534 -
535 -python_compile_all() {
536 - emake -C docs -j1 man $(usex doc html "")
537 -}
538 -
539 -# FEATURES="test -usersandbox" emerge dev-python/elasticsearch-py
540 -python_test() {
541 - ES="${WORKDIR}/elasticsearch-${ES_VERSION}"
542 - ES_PORT="25124"
543 - ES_INSTANCE="gentoo-es-py-test"
544 - ES_LOG="${ES}/logs/${ES_INSTANCE}.log"
545 - PID="${ES}/elasticsearch.pid"
546 -
547 - # run Elasticsearch instance on custom port
548 - sed -i "s/#http.port: 9200/http.port: ${ES_PORT}/g; \
549 - s/#cluster.name: my-application/cluster.name: ${ES_INSTANCE}/g" \
550 - "${ES}/config/elasticsearch.yml" || die
551 -
552 - # start local instance of elasticsearch
553 - "${ES}"/bin/elasticsearch -d -p "${PID}" -Epath.repo=/ || die
554 -
555 - local i
556 - local es_started=0
557 - for i in {1..20}; do
558 - grep -q "started" ${ES_LOG} 2> /dev/null
559 - if [[ $? -eq 0 ]]; then
560 - einfo "Elasticsearch started"
561 - es_started=1
562 - eend 0
563 - break
564 - elif grep -q 'BindException\[Address already in use\]' "${ES_LOG}" 2>/dev/null; then
565 - eend 1
566 - eerror "Elasticsearch already running"
567 - die "Cannot start Elasticsearch for tests"
568 - else
569 - einfo "Waiting for Elasticsearch"
570 - eend 1
571 - sleep 2
572 - continue
573 - fi
574 - done
575 -
576 - [[ $es_started -eq 0 ]] && die "Elasticsearch failed to start"
577 -
578 - export TEST_ES_SERVER="localhost:${ES_PORT}"
579 - esetup.py test || die
580 -
581 - pkill -F ${PID}
582 -}
583 -
584 -python_install_all() {
585 - use doc && HTML_DOCS=( docs/_build/html/. )
586 - use examples && dodoc -r example
587 - doman docs/_build/man/*
588 - distutils-r1_python_install_all
589 -}
590
591 diff --git a/dev-python/elasticsearch-py/elasticsearch-py-6.2.0.ebuild b/dev-python/elasticsearch-py/elasticsearch-py-6.2.0.ebuild
592 deleted file mode 100644
593 index 9f5cc806e6a..00000000000
594 --- a/dev-python/elasticsearch-py/elasticsearch-py-6.2.0.ebuild
595 +++ /dev/null
596 @@ -1,102 +0,0 @@
597 -# Copyright 1999-2019 Gentoo Authors
598 -# Distributed under the terms of the GNU General Public License v2
599 -
600 -EAPI=6
601 -
602 -PYTHON_COMPAT=( python2_7 python3_{5,6} pypy )
603 -ES_VERSION="6.2.3"
604 -
605 -inherit distutils-r1
606 -
607 -MY_PN=${PN/-py/}
608 -DESCRIPTION="official Python low-level client for Elasticsearch"
609 -HOMEPAGE="https://github.com/elastic/elasticsearch-py"
610 -SRC_URI="https://github.com/elasticsearch/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
611 - test? ( https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz )"
612 -
613 -LICENSE="Apache-2.0"
614 -SLOT="0"
615 -KEYWORDS="~amd64 ~x86"
616 -IUSE="examples doc test"
617 -
618 -# tests fail in chroot
619 -# https://github.com/elastic/elasticsearch/issues/12018
620 -RESTRICT="test"
621 -
622 -RDEPEND=">=dev-python/urllib3-1.21.1[${PYTHON_USEDEP}]
623 - <dev-python/urllib3-1.23[${PYTHON_USEDEP}]"
624 -
625 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
626 - >=dev-python/sphinx-1.3.1-r1[${PYTHON_USEDEP}]
627 - test? ( ${RDEPEND}
628 - >=dev-python/requests-2.0.0[${PYTHON_USEDEP}]
629 - <dev-python/requests-3.0.0[${PYTHON_USEDEP}]
630 - dev-python/nose[${PYTHON_USEDEP}]
631 - dev-python/coverage[${PYTHON_USEDEP}]
632 - dev-python/mock[${PYTHON_USEDEP}]
633 - dev-python/pretty-yaml[${PYTHON_USEDEP}]
634 - dev-python/nosexcover[${PYTHON_USEDEP}]
635 - virtual/jre:1.8 )"
636 -
637 -python_prepare_all() {
638 - # 643684
639 - sed -i -e /urllib3/d setup.py || die
640 -
641 - distutils-r1_python_prepare_all
642 -}
643 -
644 -python_compile_all() {
645 - emake -C docs -j1 man $(usex doc html "")
646 -}
647 -
648 -# FEATURES="test -usersandbox" emerge dev-python/elasticsearch-py
649 -python_test() {
650 - ES="${WORKDIR}/elasticsearch-${ES_VERSION}"
651 - ES_PORT="25124"
652 - ES_INSTANCE="gentoo-es-py-test"
653 - ES_LOG="${ES}/logs/${ES_INSTANCE}.log"
654 - PID="${ES}/elasticsearch.pid"
655 -
656 - # run Elasticsearch instance on custom port
657 - sed -i "s/#http.port: 9200/http.port: ${ES_PORT}/g; \
658 - s/#cluster.name: my-application/cluster.name: ${ES_INSTANCE}/g" \
659 - "${ES}/config/elasticsearch.yml" || die
660 -
661 - # start local instance of elasticsearch
662 - "${ES}"/bin/elasticsearch -d -p "${PID}" -Epath.repo=/ || die
663 -
664 - local i
665 - local es_started=0
666 - for i in {1..20}; do
667 - grep -q "started" ${ES_LOG} 2> /dev/null
668 - if [[ $? -eq 0 ]]; then
669 - einfo "Elasticsearch started"
670 - es_started=1
671 - eend 0
672 - break
673 - elif grep -q 'BindException\[Address already in use\]' "${ES_LOG}" 2>/dev/null; then
674 - eend 1
675 - eerror "Elasticsearch already running"
676 - die "Cannot start Elasticsearch for tests"
677 - else
678 - einfo "Waiting for Elasticsearch"
679 - eend 1
680 - sleep 2
681 - continue
682 - fi
683 - done
684 -
685 - [[ $es_started -eq 0 ]] && die "Elasticsearch failed to start"
686 -
687 - export TEST_ES_SERVER="localhost:${ES_PORT}"
688 - esetup.py test || die
689 -
690 - pkill -F ${PID}
691 -}
692 -
693 -python_install_all() {
694 - use doc && HTML_DOCS=( docs/_build/html/. )
695 - use examples && dodoc -r example
696 - doman docs/_build/man/*
697 - distutils-r1_python_install_all
698 -}
699
700 diff --git a/dev-python/elasticsearch-py/elasticsearch-py-6.3.0.ebuild b/dev-python/elasticsearch-py/elasticsearch-py-6.3.0.ebuild
701 deleted file mode 100644
702 index aec27df0aa6..00000000000
703 --- a/dev-python/elasticsearch-py/elasticsearch-py-6.3.0.ebuild
704 +++ /dev/null
705 @@ -1,102 +0,0 @@
706 -# Copyright 1999-2019 Gentoo Authors
707 -# Distributed under the terms of the GNU General Public License v2
708 -
709 -EAPI=6
710 -
711 -PYTHON_COMPAT=( python2_7 python3_{5,6} pypy )
712 -ES_VERSION="6.3.0"
713 -
714 -inherit distutils-r1
715 -
716 -MY_PN=${PN/-py/}
717 -DESCRIPTION="official Python low-level client for Elasticsearch"
718 -HOMEPAGE="https://github.com/elastic/elasticsearch-py"
719 -SRC_URI="https://github.com/elasticsearch/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
720 - test? ( https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-${ES_VERSION}.tar.gz )"
721 -
722 -LICENSE="Apache-2.0"
723 -SLOT="0"
724 -KEYWORDS="~amd64 ~x86"
725 -IUSE="examples doc test"
726 -
727 -# tests fail in chroot
728 -# https://github.com/elastic/elasticsearch/issues/12018
729 -RESTRICT="test"
730 -
731 -RDEPEND=">=dev-python/urllib3-1.21.1[${PYTHON_USEDEP}]
732 - <dev-python/urllib3-1.23[${PYTHON_USEDEP}]"
733 -
734 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
735 - >=dev-python/sphinx-1.3.1-r1[${PYTHON_USEDEP}]
736 - test? ( ${RDEPEND}
737 - >=dev-python/requests-2.0.0[${PYTHON_USEDEP}]
738 - <dev-python/requests-3.0.0[${PYTHON_USEDEP}]
739 - dev-python/nose[${PYTHON_USEDEP}]
740 - dev-python/coverage[${PYTHON_USEDEP}]
741 - dev-python/mock[${PYTHON_USEDEP}]
742 - dev-python/pretty-yaml[${PYTHON_USEDEP}]
743 - dev-python/nosexcover[${PYTHON_USEDEP}]
744 - virtual/jre:1.8 )"
745 -
746 -python_prepare_all() {
747 - # 643684
748 - sed -i -e /urllib3/d setup.py || die
749 -
750 - distutils-r1_python_prepare_all
751 -}
752 -
753 -python_compile_all() {
754 - emake -C docs -j1 man $(usex doc html "")
755 -}
756 -
757 -# FEATURES="test -usersandbox" emerge dev-python/elasticsearch-py
758 -python_test() {
759 - ES="${WORKDIR}/elasticsearch-${ES_VERSION}"
760 - ES_PORT="25124"
761 - ES_INSTANCE="gentoo-es-py-test"
762 - ES_LOG="${ES}/logs/${ES_INSTANCE}.log"
763 - PID="${ES}/elasticsearch.pid"
764 -
765 - # run Elasticsearch instance on custom port
766 - sed -i "s/#http.port: 9200/http.port: ${ES_PORT}/g; \
767 - s/#cluster.name: my-application/cluster.name: ${ES_INSTANCE}/g" \
768 - "${ES}/config/elasticsearch.yml" || die
769 -
770 - # start local instance of elasticsearch
771 - "${ES}"/bin/elasticsearch -d -p "${PID}" -Epath.repo=/ || die
772 -
773 - local i
774 - local es_started=0
775 - for i in {1..20}; do
776 - grep -q "started" ${ES_LOG} 2> /dev/null
777 - if [[ $? -eq 0 ]]; then
778 - einfo "Elasticsearch started"
779 - es_started=1
780 - eend 0
781 - break
782 - elif grep -q 'BindException\[Address already in use\]' "${ES_LOG}" 2>/dev/null; then
783 - eend 1
784 - eerror "Elasticsearch already running"
785 - die "Cannot start Elasticsearch for tests"
786 - else
787 - einfo "Waiting for Elasticsearch"
788 - eend 1
789 - sleep 2
790 - continue
791 - fi
792 - done
793 -
794 - [[ $es_started -eq 0 ]] && die "Elasticsearch failed to start"
795 -
796 - export TEST_ES_SERVER="localhost:${ES_PORT}"
797 - esetup.py test || die
798 -
799 - pkill -F ${PID}
800 -}
801 -
802 -python_install_all() {
803 - use doc && HTML_DOCS=( docs/_build/html/. )
804 - use examples && dodoc -r example
805 - doman docs/_build/man/*
806 - distutils-r1_python_install_all
807 -}