Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/elasticsearch-py/
Date: Tue, 23 Aug 2016 19:00:18
Message-Id: 1471978794.cf52399254b5a18ab1560e2328d04c796ca4aff1.soap@gentoo
1 commit: cf52399254b5a18ab1560e2328d04c796ca4aff1
2 Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
3 AuthorDate: Thu Aug 18 05:42:39 2016 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 23 18:59:54 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf523992
7
8 dev-python/elasticsearch-py: drop old
9
10 Package-Manager: portage-2.3.0
11 Closes: https://github.com/gentoo/gentoo/pull/2102
12
13 Signed-off-by: David Seifert <soap <AT> gentoo.org>
14
15 dev-python/elasticsearch-py/Manifest | 9 --
16 .../elasticsearch-py/elasticsearch-py-1.5.0.ebuild | 54 ------------
17 .../elasticsearch-py/elasticsearch-py-1.6.0.ebuild | 57 -------------
18 .../elasticsearch-py/elasticsearch-py-1.8.0.ebuild | 98 ----------------------
19 .../elasticsearch-py/elasticsearch-py-1.9.0.ebuild | 98 ----------------------
20 .../elasticsearch-py/elasticsearch-py-2.1.0.ebuild | 95 ---------------------
21 .../elasticsearch-py/elasticsearch-py-2.2.0.ebuild | 86 -------------------
22 7 files changed, 497 deletions(-)
23
24 diff --git a/dev-python/elasticsearch-py/Manifest b/dev-python/elasticsearch-py/Manifest
25 index 6a9a09c..0319148 100644
26 --- a/dev-python/elasticsearch-py/Manifest
27 +++ b/dev-python/elasticsearch-py/Manifest
28 @@ -1,12 +1,3 @@
29 -DIST elasticsearch-1.7.3.tar.gz 28510917 SHA256 af517611493374cfb2daa8897ae17e63e2efea4d0377d316baa351c1776a2bca SHA512 0cb6b2ebd77c3d1467f6a22f845bfbf9f4a7c9c9ddedae17aeb6bd2d2bc576171fc80e3a4963e7b890af574e9fd0b0faa152e7f2671a74254826e14fe2554c9f WHIRLPOOL c86de3076389a9b95cf4d424673edb3c3b1dae0b4470b18b15a5f2e9bde6669a61b8ffd5cc3f7fc3b52f99441915a84b0396a5673ebbc12fec0d83eb41a03c74
30 -DIST elasticsearch-2.0.0.tar.gz 28576708 SHA256 b25f13f615337c2072964fd9fc5c7250f8a2a983b22198daf93548285d5d16df SHA512 23473b658d68c07b65f66e04cdac07c0b88ac3a2a9ca1d5e700b5b17ebc1b23b77a5b0fa32959d30d8e0267ec186be42de0c11ce86864fe55d0e353c27d0003a WHIRLPOOL 22a7a274961999d5105ed9ba817d225deb8e46330e5774be8caecb34e6997c2a8debf348a5f6d58ac9d959a6b96957723a63944750155f37592278b8e6e590c6
31 -DIST elasticsearch-2.1.1.tar.gz 29007342 SHA256 ebd69c0483f20ba7e51caa9606d4e3ce5fe2667e1216c799f0cdbb815c317ce6 SHA512 eff12cd7342dc0036dc88f03ced9c7cc90d284222efeca86adfd9e4cf254cb8f96105c58673b239cfc9eb9764a2a669d2cd171ca73eb43b1ec1470a13c5e1776 WHIRLPOOL 2b0e069d162ee07eddc90d879d4ce5dd2cef9e4a804a9aaeb3d99e5d532f583589e2c6a36b5e856bf19a610f220eea6aaa75d28e7b6687b60eab7bf83b2def51
32 DIST elasticsearch-2.2.1.tar.gz 29424648 SHA256 7d43d18a8ee8d715d827ed26b4ff3d939628f5a5b654c6e8de9d99bf3a9b2e03 SHA512 9254175afff5c002625465fb5f398e4e53d121925a656af13e65d90eb3b3ef7507ef094cf44002f104a84e5147a8677a05f4071248140d6b48179b9057867cb5 WHIRLPOOL a470a663b8ec1b8cb7a8daf6bfc02ed7d5d0f23caab063ac2e6c7456bda449bad3e81237699fa434f077d4f86ee09dac7d007b554acc6428f2b436cf8448b210
33 DIST elasticsearch-py-1.4.0.tar.gz 74498 SHA256 7959787b47c3523e9c9aeffec441091fcd2b293d26c4fd5f576cf84cfb85ef63 SHA512 dbe51362f68d40e95a0cfefde4feb8d9d9c61b4f4795cbf69fd70bf981f290812ebac19a20ae8594cc39ac46a3c35ddfe450ff436fca0fada060736128478cf7 WHIRLPOOL a6730bcccc1201048f82aed6e63b7e73f38150002dd9889c575c9edf52834bc6f9a8256977ac27b092f3865074e4699729cc766564a4b731766d77d6a6de6324
34 -DIST elasticsearch-py-1.5.0.tar.gz 77037 SHA256 275eaeb2f64c8eba8691d953ac0d8a16e4f759d9cad797323b7cbd0ef87a69ce SHA512 10d473a221be3deb086dca0c5463324647e38f8be4f4bbea934079b002f1414d30c98976c56fd2fc55c97d24ed2338137a9983194e8bf82c95cc70321ee5ee86 WHIRLPOOL 3aa83b9bfd5363ea39baf58cc7bdaaa9606085e471e7e683518cf707642fc9a514264c51cf3e296db071a2a5333f58b8e1335bc4473477df9d085bea63c584ba
35 -DIST elasticsearch-py-1.6.0.tar.gz 77205 SHA256 59dd03284ab7314e5eb50d13ba92df65efb93778ca318906baad5776b152aff7 SHA512 09cdec0b3f50707b9a5e11534fe28507db669e4da44bbda1952d07b6ac8e3aea0c0c05297db26d9425c2247724681fa4e5485e9525571ff64f070e700a9a9b07 WHIRLPOOL 04f43a848cc811d1bee22d2bf7931a4348fb4a455172e381bedad5179d72313320009cb8b2dfdadb252aacc13cc1a4ef15b311488401d6b2bc23e242272bb74b
36 -DIST elasticsearch-py-1.8.0.tar.gz 73848 SHA256 9394a1eef66223f8292f005bbe0c2309df10f76e8065823966e045e5e0a76cb3 SHA512 c4ca91db0fd1094dd02b1a9e7ca94f11c4c528373a71f180c5e256efdf53515802fc854866dcb7077e2f5c6300ee88cb80fd6c766e22f1f76357a0b970e1444d WHIRLPOOL b3cfd3011e97cfe97690a784e896dc794ece747ed1b82e1a3b1731b9dda25f38011ef4e0dd8271a514f31a85fb35349877baa2ce66908f908c5c7470412a23ef
37 -DIST elasticsearch-py-1.9.0.tar.gz 74021 SHA256 bf00a6c7ecd965bf585199335d2619267ae0caabc356ee011dfc37e373edc023 SHA512 1a523867fd40534332a8b46e84ca3009dbaf86c9bf51e1487d76b90420e0c5371271f7956ebd2a416288bab57fa539377471386e23bcc03b1e7cdd4ab90a6027 WHIRLPOOL 9c5f4ffcdc97ce695845d8597d39aa41e71495de78f49fa2003d3665f683a04e32d5a5dabd4670ab9928a1ebc082564b4169b7e19f5c803146772b50598ae091
38 -DIST elasticsearch-py-2.1.0.tar.gz 72785 SHA256 faa04d251ba266c419bb45b644b984fc3028f558ff50d34ec92547f65db75652 SHA512 445ca902b9b1b0239f751174d812672a623a205bc22da679a61edcd88a29d86be2e1e35421579da1ae34b346476f951c24848015bbf2d437e2209b706044ec0b WHIRLPOOL e50ec6278a229f5129aa56693b761226ba11a453f1841dadec54a57998205246b8a95eb10365a79fb831ed47532d8b3c231f4134515e4f169b123e4d7bfcf8e4
39 -DIST elasticsearch-py-2.2.0.tar.gz 74228 SHA256 e0d252a8c1e9af2b7b89ae8aa8cb006bb1714e19e147418655baebd0c4f90e77 SHA512 fcdcb72064920aeaaaba644166184d6826d5bd26542824744cb9bc899d01b50f972bbee4e92dce2f24fc81d66201d807d89fb2b9ccda446986eb79c9c131171e WHIRLPOOL a92cbe1e959cef132901c60c31ec0cc30a437e049205b4475094a05112efdb58fb136c92e3e1507589e1c77d001679d1e083710accb9ee47c43d25d0a71c183c
40 DIST elasticsearch-py-2.3.0.tar.gz 74954 SHA256 3610d3a2d2f4eb1906794276ac6fca1ad801067e0f36d71a8a11c2c9112ed120 SHA512 53ffc265dc2c42ef983bf12a6d6bfcb96a378da97c58b52ff872968e50f01936815f2d28d667d44a647174d90b55fbe6855ebeac6f86248adb4db4ba951facb1 WHIRLPOOL 836ea86fe64851eb1c8891f70ee8502bb2ff76c919536a3f57f06880dfed96626a658f3a722622ac49deb6d55ca9235755b56c771ed55d298b993c009c283b48
41
42 diff --git a/dev-python/elasticsearch-py/elasticsearch-py-1.5.0.ebuild b/dev-python/elasticsearch-py/elasticsearch-py-1.5.0.ebuild
43 deleted file mode 100644
44 index 973f5cc..0000000
45 --- a/dev-python/elasticsearch-py/elasticsearch-py-1.5.0.ebuild
46 +++ /dev/null
47 @@ -1,54 +0,0 @@
48 -# Copyright 1999-2015 Gentoo Foundation
49 -# Distributed under the terms of the GNU General Public License v2
50 -# $Id$
51 -
52 -EAPI=5
53 -
54 -PYTHON_COMPAT=( python2_7 python3_{3,4} pypy )
55 -
56 -inherit distutils-r1
57 -
58 -DESCRIPTION="official Python low-level client for Elasticsearch"
59 -HOMEPAGE="http://elasticsearch-py.rtfd.org/"
60 -SRC_URI="https://github.com/elasticsearch/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
61 -
62 -LICENSE="Apache-2.0"
63 -SLOT="0"
64 -KEYWORDS="~amd64 ~arm ~mips ~x86"
65 -IUSE="examples doc test"
66 -
67 -RDEPEND=">=dev-python/urllib3-1.8[${PYTHON_USEDEP}]
68 - <dev-python/urllib3-2.0[${PYTHON_USEDEP}]"
69 -
70 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
71 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
72 - test? ( ${RDEPEND}
73 - >=dev-python/requests-1.0.0[${PYTHON_USEDEP}]
74 - <dev-python/requests-3.0.0[${PYTHON_USEDEP}]
75 - dev-python/nose[${PYTHON_USEDEP}]
76 - dev-python/coverage[${PYTHON_USEDEP}]
77 - dev-python/mock[${PYTHON_USEDEP}]
78 - dev-python/pyyaml[${PYTHON_USEDEP}] )"
79 -
80 -python_prepare_all() {
81 - # Remove tests attempting to connect ot the network
82 - rm -rf test_elasticsearch/test_server/ || die
83 - distutils-r1_python_prepare_all
84 -}
85 -
86 -python_compile_all() {
87 - use doc && emake -C docs html
88 -}
89 -
90 -python_test_all() {
91 - # For unknown reason the testsuite fails to iterate the set of impls of PYTHON_COMPAT
92 - # but they all pass on testing when run individually
93 - "${PYTHON}" test_elasticsearch/run_tests.py
94 -
95 -}
96 -
97 -python_install_all() {
98 - use doc && HTML_DOCS=( docs/_build/html/. )
99 - use examples && local EXAMPLES=( example/. )
100 - distutils-r1_python_install_all
101 -}
102
103 diff --git a/dev-python/elasticsearch-py/elasticsearch-py-1.6.0.ebuild b/dev-python/elasticsearch-py/elasticsearch-py-1.6.0.ebuild
104 deleted file mode 100644
105 index 9effa3b..0000000
106 --- a/dev-python/elasticsearch-py/elasticsearch-py-1.6.0.ebuild
107 +++ /dev/null
108 @@ -1,57 +0,0 @@
109 -# Copyright 1999-2015 Gentoo Foundation
110 -# Distributed under the terms of the GNU General Public License v2
111 -# $Id$
112 -
113 -EAPI=5
114 -
115 -PYTHON_COMPAT=( python2_7 python3_{3,4} pypy )
116 -
117 -inherit distutils-r1
118 -
119 -DESCRIPTION="official Python low-level client for Elasticsearch"
120 -HOMEPAGE="http://elasticsearch-py.rtfd.org/"
121 -SRC_URI="https://github.com/elasticsearch/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
122 -
123 -LICENSE="Apache-2.0"
124 -SLOT="0"
125 -KEYWORDS="~amd64 ~arm ~mips ~x86"
126 -IUSE="examples doc test"
127 -
128 -RDEPEND=">=dev-python/urllib3-1.8[${PYTHON_USEDEP}]
129 - <dev-python/urllib3-2.0[${PYTHON_USEDEP}]"
130 -
131 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
132 - doc? (
133 - dev-python/sphinx[${PYTHON_USEDEP}]
134 - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] )
135 - test? ( ${RDEPEND}
136 - >=dev-python/requests-1.0.0[${PYTHON_USEDEP}]
137 - <dev-python/requests-3.0.0[${PYTHON_USEDEP}]
138 - dev-python/nose[${PYTHON_USEDEP}]
139 - dev-python/coverage[${PYTHON_USEDEP}]
140 - dev-python/mock[${PYTHON_USEDEP}]
141 - dev-python/pyyaml[${PYTHON_USEDEP}] )"
142 -# nosexcover is listed for tests but is not essential
143 -
144 -python_prepare_all() {
145 - # Remove tests attempting to connect ot the network
146 - rm -rf test_elasticsearch/test_server/ || die
147 - distutils-r1_python_prepare_all
148 -}
149 -
150 -python_compile_all() {
151 - use doc && emake -C docs html
152 -}
153 -
154 -python_test_all() {
155 - # For unknown reason the testsuite fails to iterate the set of impls of PYTHON_COMPAT
156 - # but they all pass on testing when run individually
157 - "${PYTHON}" test_elasticsearch/run_tests.py
158 -
159 -}
160 -
161 -python_install_all() {
162 - use doc && HTML_DOCS=( docs/_build/html/. )
163 - use examples && local EXAMPLES=( example/. )
164 - distutils-r1_python_install_all
165 -}
166
167 diff --git a/dev-python/elasticsearch-py/elasticsearch-py-1.8.0.ebuild b/dev-python/elasticsearch-py/elasticsearch-py-1.8.0.ebuild
168 deleted file mode 100644
169 index cd99890..0000000
170 --- a/dev-python/elasticsearch-py/elasticsearch-py-1.8.0.ebuild
171 +++ /dev/null
172 @@ -1,98 +0,0 @@
173 -# Copyright 1999-2015 Gentoo Foundation
174 -# Distributed under the terms of the GNU General Public License v2
175 -# $Id$
176 -
177 -EAPI=5
178 -
179 -PYTHON_COMPAT=( python2_7 python3_{3,4} pypy )
180 -
181 -ES_VERSION="1.7.3"
182 -
183 -inherit distutils-r1
184 -
185 -DESCRIPTION="official Python low-level client for Elasticsearch"
186 -HOMEPAGE="http://elasticsearch-py.rtfd.org/"
187 -SRC_URI="https://github.com/elasticsearch/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
188 - test? ( https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz )"
189 -
190 -LICENSE="Apache-2.0"
191 -SLOT="0"
192 -KEYWORDS="~amd64 ~mips ~x86"
193 -IUSE="examples doc test"
194 -
195 -RDEPEND=">=dev-python/urllib3-1.8[${PYTHON_USEDEP}]
196 - <dev-python/urllib3-2.0[${PYTHON_USEDEP}]"
197 -
198 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
199 - >=dev-python/sphinx-1.3.1-r1[${PYTHON_USEDEP}]
200 - test? ( ${RDEPEND}
201 - >=dev-python/requests-1.0.0[${PYTHON_USEDEP}]
202 - <dev-python/requests-3.0.0[${PYTHON_USEDEP}]
203 - dev-python/nose[${PYTHON_USEDEP}]
204 - dev-python/coverage[${PYTHON_USEDEP}]
205 - dev-python/mock[${PYTHON_USEDEP}]
206 - dev-python/pretty-yaml[${PYTHON_USEDEP}]
207 - dev-python/nosexcover[${PYTHON_USEDEP}]
208 - || ( virtual/jre:1.8 virtual/jre:1.7 ) )"
209 -
210 -python_prepare_all() {
211 - # rename manpage to elasticsearch-py
212 - sed \
213 - -e "s@('index', 'elasticsearch'@('index', 'elasticsearch-py'@g" \
214 - -i docs/conf.py || die
215 -
216 - distutils-r1_python_prepare_all
217 -}
218 -
219 -python_test() {
220 - ES="${WORKDIR}/elasticsearch-${ES_VERSION}"
221 - ES_PORT="25124"
222 - ES_LOG="${ES}/logs/elasticsearch.log"
223 - PID="${ES}/elasticsearch.pid"
224 -
225 - # run Elasticsearch instance on custom port
226 - sed -i "s/#http.port: 9200/http.port: ${ES_PORT}/g; \
227 - s/#cluster.name: elasticsearch/cluster.name: gentoo-es-py-test/g" \
228 - ${ES}/config/elasticsearch.yml
229 -
230 - # Elasticsearch 1.6+ needs to set path.repo
231 - echo "path.repo: /" >> ${ES}/config/elasticsearch.yml
232 -
233 - # start local instance of elasticsearch
234 - ${ES}/bin/elasticsearch -d -p ${PID}
235 -
236 - for i in `seq 10`; do
237 - grep -q "started" ${ES_LOG} 2> /dev/null
238 - if [ $? -eq 0 ]; then
239 - einfo "Elasticsearch started"
240 - eend 0
241 - break
242 - elif grep -q 'BindException\[Address already in use\]' "${ES_LOG}" 2>/dev/null; then
243 - eend 1
244 - eerror "Elasticsearch already running"
245 - die "Cannot start Elasticsearch for tests"
246 - else
247 - einfo "Waiting for Elasticsearch"
248 - eend 1
249 - sleep 2
250 - continue
251 - fi
252 - done
253 -
254 - export TEST_ES_SERVER="localhost:${ES_PORT}"
255 - esetup.py test
256 -
257 - pkill -F ${PID}
258 -}
259 -
260 -python_compile_all() {
261 - cd docs || die
262 - emake man $(usex doc html "")
263 -}
264 -
265 -python_install_all() {
266 - use doc && HTML_DOCS=( docs/_build/html/. )
267 - use examples && local EXAMPLES=( example/. )
268 - doman docs/_build/man/*
269 - distutils-r1_python_install_all
270 -}
271
272 diff --git a/dev-python/elasticsearch-py/elasticsearch-py-1.9.0.ebuild b/dev-python/elasticsearch-py/elasticsearch-py-1.9.0.ebuild
273 deleted file mode 100644
274 index a9f9b0f..0000000
275 --- a/dev-python/elasticsearch-py/elasticsearch-py-1.9.0.ebuild
276 +++ /dev/null
277 @@ -1,98 +0,0 @@
278 -# Copyright 1999-2015 Gentoo Foundation
279 -# Distributed under the terms of the GNU General Public License v2
280 -# $Id$
281 -
282 -EAPI=5
283 -
284 -PYTHON_COMPAT=( python2_7 python3_{4,5} pypy )
285 -
286 -ES_VERSION="1.7.3"
287 -
288 -inherit distutils-r1
289 -
290 -DESCRIPTION="official Python low-level client for Elasticsearch"
291 -HOMEPAGE="http://elasticsearch-py.rtfd.org/"
292 -SRC_URI="https://github.com/elasticsearch/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
293 - test? ( https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz )"
294 -
295 -LICENSE="Apache-2.0"
296 -SLOT="0"
297 -KEYWORDS="~amd64 ~arm ~mips ~x86"
298 -IUSE="examples doc test"
299 -
300 -RDEPEND=">=dev-python/urllib3-1.8[${PYTHON_USEDEP}]
301 - <dev-python/urllib3-2.0[${PYTHON_USEDEP}]"
302 -
303 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
304 - >=dev-python/sphinx-1.3.1-r1[${PYTHON_USEDEP}]
305 - test? ( ${RDEPEND}
306 - >=dev-python/requests-1.0.0[${PYTHON_USEDEP}]
307 - <dev-python/requests-3.0.0[${PYTHON_USEDEP}]
308 - dev-python/nose[${PYTHON_USEDEP}]
309 - dev-python/coverage[${PYTHON_USEDEP}]
310 - dev-python/mock[${PYTHON_USEDEP}]
311 - dev-python/pretty-yaml[${PYTHON_USEDEP}]
312 - dev-python/nosexcover[${PYTHON_USEDEP}]
313 - || ( virtual/jre:1.8 virtual/jre:1.7 ) )"
314 -
315 -python_prepare_all() {
316 - # rename manpage to elasticsearch-py
317 - sed \
318 - -e "s@('index', 'elasticsearch'@('index', 'elasticsearch-py'@g" \
319 - -i docs/conf.py || die
320 -
321 - distutils-r1_python_prepare_all
322 -}
323 -
324 -python_test() {
325 - ES="${WORKDIR}/elasticsearch-${ES_VERSION}"
326 - ES_PORT="25124"
327 - ES_LOG="${ES}/logs/elasticsearch.log"
328 - PID="${ES}/elasticsearch.pid"
329 -
330 - # run Elasticsearch instance on custom port
331 - sed -i "s/#http.port: 9200/http.port: ${ES_PORT}/g; \
332 - s/#cluster.name: elasticsearch/cluster.name: gentoo-es-py-test/g" \
333 - ${ES}/config/elasticsearch.yml
334 -
335 - # Elasticsearch 1.6+ needs to set path.repo
336 - echo "path.repo: /" >> ${ES}/config/elasticsearch.yml
337 -
338 - # start local instance of elasticsearch
339 - ${ES}/bin/elasticsearch -d -p ${PID}
340 -
341 - for i in `seq 10`; do
342 - grep -q "started" ${ES_LOG} 2> /dev/null
343 - if [ $? -eq 0 ]; then
344 - einfo "Elasticsearch started"
345 - eend 0
346 - break
347 - elif grep -q 'BindException\[Address already in use\]' "${ES_LOG}" 2>/dev/null; then
348 - eend 1
349 - eerror "Elasticsearch already running"
350 - die "Cannot start Elasticsearch for tests"
351 - else
352 - einfo "Waiting for Elasticsearch"
353 - eend 1
354 - sleep 2
355 - continue
356 - fi
357 - done
358 -
359 - export TEST_ES_SERVER="localhost:${ES_PORT}"
360 - esetup.py test
361 -
362 - pkill -F ${PID}
363 -}
364 -
365 -python_compile_all() {
366 - cd docs || die
367 - emake man $(usex doc html "")
368 -}
369 -
370 -python_install_all() {
371 - use doc && HTML_DOCS=( docs/_build/html/. )
372 - use examples && local EXAMPLES=( example/. )
373 - doman docs/_build/man/*
374 - distutils-r1_python_install_all
375 -}
376
377 diff --git a/dev-python/elasticsearch-py/elasticsearch-py-2.1.0.ebuild b/dev-python/elasticsearch-py/elasticsearch-py-2.1.0.ebuild
378 deleted file mode 100644
379 index 4de564a..0000000
380 --- a/dev-python/elasticsearch-py/elasticsearch-py-2.1.0.ebuild
381 +++ /dev/null
382 @@ -1,95 +0,0 @@
383 -# Copyright 1999-2015 Gentoo Foundation
384 -# Distributed under the terms of the GNU General Public License v2
385 -# $Id$
386 -
387 -EAPI=5
388 -
389 -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy )
390 -
391 -ES_VERSION="2.0.0"
392 -
393 -inherit distutils-r1
394 -
395 -DESCRIPTION="official Python low-level client for Elasticsearch"
396 -HOMEPAGE="http://elasticsearch-py.rtfd.org/"
397 -SRC_URI="https://github.com/elasticsearch/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
398 - test? ( https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/${ES_VERSION}/elasticsearch-${ES_VERSION}.tar.gz )"
399 -
400 -LICENSE="Apache-2.0"
401 -SLOT="0"
402 -KEYWORDS="~amd64 ~mips ~x86"
403 -IUSE="examples doc test"
404 -
405 -RDEPEND=">=dev-python/urllib3-1.8[${PYTHON_USEDEP}]
406 - <dev-python/urllib3-2.0[${PYTHON_USEDEP}]"
407 -
408 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
409 - >=dev-python/sphinx-1.3.1-r1[${PYTHON_USEDEP}]
410 - test? ( ${RDEPEND}
411 - >=dev-python/requests-1.0.0[${PYTHON_USEDEP}]
412 - <dev-python/requests-3.0.0[${PYTHON_USEDEP}]
413 - dev-python/nose[${PYTHON_USEDEP}]
414 - dev-python/coverage[${PYTHON_USEDEP}]
415 - dev-python/mock[${PYTHON_USEDEP}]
416 - dev-python/pretty-yaml[${PYTHON_USEDEP}]
417 - dev-python/nosexcover[${PYTHON_USEDEP}]
418 - || ( virtual/jre:1.8 virtual/jre:1.7 ) )"
419 -
420 -python_prepare_all() {
421 - # rename manpage to elasticsearch-py
422 - sed \
423 - -e "s@('index', 'elasticsearch'@('index', 'elasticsearch-py'@g" \
424 - -i docs/conf.py || die
425 -
426 - distutils-r1_python_prepare_all
427 -}
428 -
429 -python_test() {
430 - ES="${WORKDIR}/elasticsearch-${ES_VERSION}"
431 - ES_PORT="25124"
432 - ES_LOG="${ES}/logs/elasticsearch.log"
433 - PID="${ES}/elasticsearch.pid"
434 -
435 - # run Elasticsearch instance on custom port
436 - sed -i "s/# http.port: 9200/http.port: ${ES_PORT}/g; \
437 - s/# cluster.name: my-application/cluster.name: gentoo-es-py-test/g" \
438 - ${ES}/config/elasticsearch.yml
439 -
440 - # start local instance of elasticsearch
441 - ${ES}/bin/elasticsearch -d -p ${PID}
442 -
443 - for i in `seq 10`; do
444 - grep -q "started" ${ES_LOG} 2> /dev/null
445 - if [ $? -eq 0 ]; then
446 - einfo "Elasticsearch started"
447 - eend 0
448 - break
449 - elif grep -q 'BindException\[Address already in use\]' "${ES_LOG}" 2>/dev/null; then
450 - eend 1
451 - eerror "Elasticsearch already running"
452 - die "Cannot start Elasticsearch for tests"
453 - else
454 - einfo "Waiting for Elasticsearch"
455 - eend 1
456 - sleep 2
457 - continue
458 - fi
459 - done
460 -
461 - export TEST_ES_SERVER="localhost:${ES_PORT}"
462 - esetup.py test
463 -
464 - pkill -F ${PID}
465 -}
466 -
467 -python_compile_all() {
468 - cd docs || die
469 - emake man $(usex doc html "")
470 -}
471 -
472 -python_install_all() {
473 - use doc && HTML_DOCS=( docs/_build/html/. )
474 - use examples && local EXAMPLES=( example/. )
475 - doman docs/_build/man/*
476 - distutils-r1_python_install_all
477 -}
478
479 diff --git a/dev-python/elasticsearch-py/elasticsearch-py-2.2.0.ebuild b/dev-python/elasticsearch-py/elasticsearch-py-2.2.0.ebuild
480 deleted file mode 100644
481 index 746f3ac..0000000
482 --- a/dev-python/elasticsearch-py/elasticsearch-py-2.2.0.ebuild
483 +++ /dev/null
484 @@ -1,86 +0,0 @@
485 -# Copyright 1999-2016 Gentoo Foundation
486 -# Distributed under the terms of the GNU General Public License v2
487 -# $Id$
488 -
489 -EAPI=6
490 -
491 -PYTHON_COMPAT=( python2_7 python3_{4,5} pypy )
492 -
493 -ES_VERSION="2.1.1"
494 -
495 -inherit distutils-r1
496 -
497 -DESCRIPTION="official Python low-level client for Elasticsearch"
498 -HOMEPAGE="http://elasticsearch-py.rtfd.org/"
499 -SRC_URI="https://github.com/elasticsearch/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
500 - test? ( https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/${ES_VERSION}/elasticsearch-${ES_VERSION}.tar.gz )"
501 -
502 -LICENSE="Apache-2.0"
503 -SLOT="0"
504 -KEYWORDS="~amd64 ~mips ~x86"
505 -IUSE="examples doc test"
506 -
507 -RDEPEND=">=dev-python/urllib3-1.8[${PYTHON_USEDEP}]
508 - <dev-python/urllib3-2.0[${PYTHON_USEDEP}]"
509 -
510 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
511 - >=dev-python/sphinx-1.3.1-r1[${PYTHON_USEDEP}]
512 - test? ( ${RDEPEND}
513 - >=dev-python/requests-1.0.0[${PYTHON_USEDEP}]
514 - <dev-python/requests-3.0.0[${PYTHON_USEDEP}]
515 - dev-python/nose[${PYTHON_USEDEP}]
516 - dev-python/coverage[${PYTHON_USEDEP}]
517 - dev-python/mock[${PYTHON_USEDEP}]
518 - dev-python/pretty-yaml[${PYTHON_USEDEP}]
519 - dev-python/nosexcover[${PYTHON_USEDEP}]
520 - || ( virtual/jre:1.8 virtual/jre:1.7 ) )"
521 -
522 -python_test() {
523 - ES="${WORKDIR}/elasticsearch-${ES_VERSION}"
524 - ES_PORT="25124"
525 - ES_LOG="${ES}/logs/elasticsearch.log"
526 - PID="${ES}/elasticsearch.pid"
527 -
528 - # run Elasticsearch instance on custom port
529 - sed -i "s/# http.port: 9200/http.port: ${ES_PORT}/g; \
530 - s/# cluster.name: my-application/cluster.name: gentoo-es-py-test/g" \
531 - ${ES}/config/elasticsearch.yml
532 -
533 - # start local instance of elasticsearch
534 - ${ES}/bin/elasticsearch -d -p ${PID}
535 -
536 - for i in `seq 10`; do
537 - grep -q "started" ${ES_LOG} 2> /dev/null
538 - if [ $? -eq 0 ]; then
539 - einfo "Elasticsearch started"
540 - eend 0
541 - break
542 - elif grep -q 'BindException\[Address already in use\]' "${ES_LOG}" 2>/dev/null; then
543 - eend 1
544 - eerror "Elasticsearch already running"
545 - die "Cannot start Elasticsearch for tests"
546 - else
547 - einfo "Waiting for Elasticsearch"
548 - eend 1
549 - sleep 2
550 - continue
551 - fi
552 - done
553 -
554 - export TEST_ES_SERVER="localhost:${ES_PORT}"
555 - esetup.py test
556 -
557 - pkill -F ${PID}
558 -}
559 -
560 -python_compile_all() {
561 - cd docs || die
562 - emake man $(usex doc html "")
563 -}
564 -
565 -python_install_all() {
566 - use doc && HTML_DOCS=( docs/_build/html/. )
567 - use examples && dodoc -r example
568 - doman docs/_build/man/*
569 - distutils-r1_python_install_all
570 -}