Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/elasticsearch-curator/
Date: Sun, 10 Sep 2017 21:25:02
Message-Id: 1505078678.ad1071328b1c3b61042b46d1ccc615de79ed2faf.monsieurp@gentoo
1 commit: ad1071328b1c3b61042b46d1ccc615de79ed2faf
2 Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
3 AuthorDate: Fri Sep 8 09:15:26 2017 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 10 21:24:38 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad107132
7
8 dev-python/elasticsearch-curator: drop old.
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.2
11 Closes: https://github.com/gentoo/gentoo/pull/5660
12
13 dev-python/elasticsearch-curator/Manifest | 3 -
14 .../elasticsearch-curator-4.3.1.ebuild | 119 ---------------------
15 .../elasticsearch-curator-5.0.4.ebuild | 114 --------------------
16 3 files changed, 236 deletions(-)
17
18 diff --git a/dev-python/elasticsearch-curator/Manifest b/dev-python/elasticsearch-curator/Manifest
19 index d53263eba91..16e08a0eaff 100644
20 --- a/dev-python/elasticsearch-curator/Manifest
21 +++ b/dev-python/elasticsearch-curator/Manifest
22 @@ -1,9 +1,6 @@
23 DIST elasticsearch-5.1.2.tar.gz 33299777 SHA256 74d752f9a8b46898d306ad169b72f328e17215c0909149e156a576089ef11c42 SHA512 1867626e8a87f11ed109e1325fd1d16c9e0af06ebe6a30c78ea679ab533ab377f5da8ea55af6871be33af226f02187a2aadd77e5e23c097dd24055be21e9d691 WHIRLPOOL 2e9df71c915343e2cc8ad82c59b877f41f5e093cbeba21f471c32cb51a195eccc6223bc48da48bb4af2e6bea9f2539f2e93b866963148f4ca2940ba4466e614e
24 -DIST elasticsearch-5.3.2.tar.gz 33704368 SHA256 a94fe46bc90eb271a0d448d20e49cb02526ac032281c683c79a219240280a1e8 SHA512 430021202fd747ea376e36e9035f05eaa27f06c25f2f8616e218a248f0aeaaffd8577d689c790b618e3fdbcbae23b7bd664d4380d0e323483f6e158675a4bc00 WHIRLPOOL 0fee048029880dabe901c0f9842ac331ef78204a70d0c71993cddbb8e76b7614af0e4b8e8181b36b9039b64093c9fd0720f5c8a2e7c515fc6634ac465c5f283a
25 DIST elasticsearch-5.5.1.tar.gz 33476827 SHA256 e0924ae2af5f4435cef009ad3a567169e9653263e7a3b8693dba932698ea7e34 SHA512 9bedd48396cdd6c39c107a7951eba8446b8574493bd44c17a79ba3443670a48b72c053006821cf69dc17bf49ff1c05904db14a07d8a6403b2d2061fc605937bd WHIRLPOOL 770b2eab9d67212fde7bafb5eaa885c13195f3ecb41897c261bac405987397e299d064badda454d12901ed86a8f9a4e87ab0242ccf5f6971005397ad9061f8c6
26 DIST elasticsearch-5.5.2.tar.gz 33485703 SHA256 0870e2c0c72e6eda976effa07aa1cdd06a9500302320b5c22ed292ce21665bf1 SHA512 62048f15b43e38a61e3a19a1599c25cd0d9009cc1172db5b450b04dec349ecd313b1f20e3d1c7ed1c101ae3e6f6c6d2cdf004a9713ad803576277f93e3adbdb9 WHIRLPOOL 3a71cef2858b76b11e1693907e745912a83f23e26c35a3456c6324fc19c317c53d4404e20134b034e41e162c1ea8d58c38bbd4afe0394d886ab32f6b698172ec
27 DIST elasticsearch-curator-4.2.6.tar.gz 228342 SHA256 bebc7f6b53a4147e92004dd63d2349bb18170feed12b9219206d0d074b0643ae SHA512 e42d9f3c6122ba9cfc0bc90323f12d7ebf09902d04138472999b63fc59742f2f461b889dd98fca98f321d4975a3c05bc2aae5d211a774abd49b628ea318f5f64 WHIRLPOOL 63eed5c64f3a08f44d6feb8eb56b7698e8081a948b67daae91bb692d69e3ed1166c2fb867cb61f3f114eed74d05251b3aae68a8c475bf75ce318d53435e27b7e
28 -DIST elasticsearch-curator-4.3.1.tar.gz 232546 SHA256 93601c39ec9acf05b9dca1ba58357af32c468d7429ea2f7be37d1b4045eb3b08 SHA512 24bfbcff4a5f3b7f2dbbda147eee79e74eec29187e4bb4d97475bca1a25e127570323ae00e03511ee6c1ea797973fc11b3bee25ffd2089fa0c7ae626f66a6153 WHIRLPOOL c3a548de20903139f10e51f0c273f4c028d7e54e862db442be65025d7d8b623ba93b6a575b3f5eeb174e8a1aa06c4269f24cf3bad7f134b506b00ba2fdf2d766
29 -DIST elasticsearch-curator-5.0.4.tar.gz 264754 SHA256 109aa8ba12ed68b5e9121138cbbdbae2f58eef5fd310099e3b8843ca5cc1cfc9 SHA512 79392a91e1bcbac79c40b75f782a1d57f7e24c849e4e7b302a47f5bcc84e9f656b30c64aa6eb51da9f92e6e021862411beb345da88248288b28c95d751d757cf WHIRLPOOL 0f881013053458804694f1d8e00052566a41af2905d7cddd2b2a2bb4fb6c27cab77e66f85f0c9fa7f6261399b41273072ce1b8d116d706a7bd53bb4b37639fd2
30 DIST elasticsearch-curator-5.1.2.tar.gz 290616 SHA256 e2f4f6db735223b8bf2bf84924b6edb23d1c3b9a6ebd3ad3bebfcc23f38e0434 SHA512 4ac0ae789fe662d352c3d228acc6aaf78873bb02b7108f985fd0a048d0b90cb2b30572eaa5f984025ab0d4209eda9d6fe6ac66cd8cc856f0707e3f12bb2e574d WHIRLPOOL 143f7b8704d73db92524e25a51074dc96385089aac0c88d197b12668afe10eaf7d686a2d03a1c81dc988a158e6d9e9b9e419b50450d474ec75ef90cc56d502b7
31 DIST elasticsearch-curator-5.2.0.tar.gz 301134 SHA256 e79e0804b6629fa4669570052379e98d5e10c07879c132e1636f26d6e038c159 SHA512 5aba1c3fb1c76f2389902024190ba23567107e3655987014c9250ae46a9199daaad18cd6e9f2595458bf4abb6ac3d4d76c241907d1c0009eb2a15ef638e99d23 WHIRLPOOL 20ccff30bff5f52d05d5804a660dad35a2908479789bfe1d08052428c7c1352c30cbd11623d603ded8fd37b162252bfc24030731443ae7e120f5de7de88faace
32
33 diff --git a/dev-python/elasticsearch-curator/elasticsearch-curator-4.3.1.ebuild b/dev-python/elasticsearch-curator/elasticsearch-curator-4.3.1.ebuild
34 deleted file mode 100644
35 index 558a65155b8..00000000000
36 --- a/dev-python/elasticsearch-curator/elasticsearch-curator-4.3.1.ebuild
37 +++ /dev/null
38 @@ -1,119 +0,0 @@
39 -# Copyright 1999-2017 Gentoo Foundation
40 -# Distributed under the terms of the GNU General Public License v2
41 -
42 -EAPI=6
43 -
44 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
45 -
46 -MY_PN="curator"
47 -ES_VERSION="5.3.2"
48 -
49 -inherit distutils-r1
50 -
51 -DESCRIPTION="Tending time-series indices in Elasticsearch"
52 -HOMEPAGE="https://github.com/elasticsearch/curator"
53 -SRC_URI="https://github.com/elasticsearch/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
54 - test? ( https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz )"
55 -
56 -LICENSE="Apache-2.0"
57 -SLOT="0"
58 -KEYWORDS="~amd64 ~x86"
59 -IUSE="doc test"
60 -
61 -RDEPEND="
62 - >=dev-python/elasticsearch-py-2.4.0[${PYTHON_USEDEP}]
63 - <dev-python/elasticsearch-py-3.0.0[${PYTHON_USEDEP}]
64 - >=dev-python/click-6.0[${PYTHON_USEDEP}]
65 - >=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}]
66 - >=dev-python/urllib3-1.8.3[${PYTHON_USEDEP}]
67 - >=dev-python/voluptuous-0.9.3[${PYTHON_USEDEP}]"
68 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
69 - dev-python/sphinx[${PYTHON_USEDEP}]
70 - >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
71 - test? ( ${RDEPEND}
72 - virtual/jre:1.8
73 - dev-python/mock[${PYTHON_USEDEP}]
74 - dev-python/nose[${PYTHON_USEDEP}]
75 - dev-python/coverage[${PYTHON_USEDEP}]
76 - dev-python/nosexcover[${PYTHON_USEDEP}]
77 - dev-python/six[${PYTHON_USEDEP}] )"
78 -
79 -S="${WORKDIR}/${MY_PN}-${PV}"
80 -
81 -# FEATURES="test -usersandbox" emerge dev-python/elasticsearch-curator
82 -python_test() {
83 - ES="${WORKDIR}/elasticsearch-${ES_VERSION}"
84 - ES_PORT="25123"
85 - ES_INSTANCE="gentoo-es-curator-test"
86 - ES_LOG="${ES}/logs/${ES_INSTANCE}.log"
87 - PID="${ES}/elasticsearch.pid"
88 -
89 - # run Elasticsearch instance on custom port
90 - sed -i "s/#http.port: 9200/http.port: ${ES_PORT}/g; \
91 - s/#cluster.name: my-application/cluster.name: ${ES_INSTANCE}/g" \
92 - "${ES}/config/elasticsearch.yml" || die
93 -
94 - # start local instance of elasticsearch
95 - "${ES}/bin/elasticsearch" -d -p "${PID}" -Edefault.path.repo=/ || die
96 -
97 - local i
98 - local es_started=0
99 - for i in {1..15}; do
100 - grep -q "started" "${ES_LOG}" 2> /dev/null
101 - if [[ $? -eq 0 ]]; then
102 - einfo "Elasticsearch started"
103 - es_started=1
104 - eend 0
105 - break
106 - elif grep -q 'BindException\[Address already in use\]' "${ES_LOG}" 2>/dev/null; then
107 - eend 1
108 - eerror "Elasticsearch already running"
109 - die "Cannot start Elasticsearch for tests"
110 - else
111 - einfo "Waiting for Elasticsearch"
112 - eend 1
113 - sleep 2
114 - continue
115 - fi
116 - done
117 -
118 - [[ $es_started -eq 0 ]] && die "Elasticsearch failed to start"
119 -
120 - export TEST_ES_SERVER="localhost:${ES_PORT}"
121 - esetup.py test || die
122 -
123 - pkill -F ${PID}
124 -}
125 -
126 -python_prepare_all() {
127 - # avoid downloading from net
128 - sed -e '/^intersphinx_mapping/,+3d' -i docs/conf.py || die
129 -
130 - # remove test TestCLIFixFor687 as it is only to be run on older versions
131 - # and the call to curator.get_version(global_client) sometimes
132 - # fails with Connection refused
133 - sed -e '137,255d' -i test/integration/test_delete_indices.py || die
134 -
135 - distutils-r1_python_prepare_all
136 -}
137 -
138 -python_compile_all() {
139 - cd docs || die
140 - emake man $(usex doc html "")
141 -}
142 -
143 -python_install_all() {
144 - use doc && local HTML_DOCS=( docs/_build/html/. )
145 - doman docs/_build/man/*
146 - distutils-r1_python_install_all
147 -}
148 -
149 -pkg_postinst() {
150 - ewarn ""
151 - ewarn "For Python 3 support information please read: http://click.pocoo.org/3/python3/"
152 - ewarn ""
153 - ewarn "Example usage on Python 3:"
154 - ewarn "export LC_ALL=en_US.UTF-8"
155 - ewarn "export LANG=en_US.UTF-8"
156 - ewarn "curator ..."
157 -}
158
159 diff --git a/dev-python/elasticsearch-curator/elasticsearch-curator-5.0.4.ebuild b/dev-python/elasticsearch-curator/elasticsearch-curator-5.0.4.ebuild
160 deleted file mode 100644
161 index 6c17f27fdd4..00000000000
162 --- a/dev-python/elasticsearch-curator/elasticsearch-curator-5.0.4.ebuild
163 +++ /dev/null
164 @@ -1,114 +0,0 @@
165 -# Copyright 1999-2017 Gentoo Foundation
166 -# Distributed under the terms of the GNU General Public License v2
167 -
168 -EAPI=6
169 -
170 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
171 -
172 -MY_PN="curator"
173 -ES_VERSION="5.3.2"
174 -
175 -inherit distutils-r1
176 -
177 -DESCRIPTION="Tending time-series indices in Elasticsearch"
178 -HOMEPAGE="https://github.com/elasticsearch/curator"
179 -SRC_URI="https://github.com/elasticsearch/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
180 - test? ( https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz )"
181 -
182 -LICENSE="Apache-2.0"
183 -SLOT="0"
184 -KEYWORDS="~amd64 ~x86"
185 -IUSE="doc test"
186 -
187 -RDEPEND="
188 - >=dev-python/elasticsearch-py-5.3.0[${PYTHON_USEDEP}]
189 - <dev-python/elasticsearch-py-6.0.0[${PYTHON_USEDEP}]
190 - >=dev-python/click-6.7[${PYTHON_USEDEP}]
191 - >=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}]
192 - >=dev-python/urllib3-1.20[${PYTHON_USEDEP}]
193 - >=dev-python/voluptuous-0.9.3[${PYTHON_USEDEP}]"
194 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
195 - dev-python/sphinx[${PYTHON_USEDEP}]
196 - >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
197 - test? ( ${RDEPEND}
198 - virtual/jre:1.8
199 - dev-python/mock[${PYTHON_USEDEP}]
200 - dev-python/nose[${PYTHON_USEDEP}]
201 - dev-python/coverage[${PYTHON_USEDEP}]
202 - dev-python/nosexcover[${PYTHON_USEDEP}]
203 - dev-python/six[${PYTHON_USEDEP}] )"
204 -
205 -S="${WORKDIR}/${MY_PN}-${PV}"
206 -
207 -# FEATURES="test -usersandbox" emerge dev-python/elasticsearch-curator
208 -python_test() {
209 - ES="${WORKDIR}/elasticsearch-${ES_VERSION}"
210 - ES_PORT="25123"
211 - ES_INSTANCE="gentoo-es-curator-test"
212 - ES_LOG="${ES}/logs/${ES_INSTANCE}.log"
213 - PID="${ES}/elasticsearch.pid"
214 -
215 - # run Elasticsearch instance on custom port
216 - sed -i "s/#http.port: 9200/http.port: ${ES_PORT}/g; \
217 - s/#cluster.name: my-application/cluster.name: ${ES_INSTANCE}/g" \
218 - "${ES}/config/elasticsearch.yml" || die
219 -
220 - # start local instance of elasticsearch
221 - "${ES}/bin/elasticsearch" -d -p "${PID}" -Edefault.path.repo=/ || die
222 -
223 - local i
224 - local es_started=0
225 - for i in {1..15}; do
226 - grep -q "started" "${ES_LOG}" 2> /dev/null
227 - if [[ $? -eq 0 ]]; then
228 - einfo "Elasticsearch started"
229 - es_started=1
230 - eend 0
231 - break
232 - elif grep -q 'BindException\[Address already in use\]' "${ES_LOG}" 2>/dev/null; then
233 - eend 1
234 - eerror "Elasticsearch already running"
235 - die "Cannot start Elasticsearch for tests"
236 - else
237 - einfo "Waiting for Elasticsearch"
238 - eend 1
239 - sleep 2
240 - continue
241 - fi
242 - done
243 -
244 - [[ $es_started -eq 0 ]] && die "Elasticsearch failed to start"
245 -
246 - export TEST_ES_SERVER="localhost:${ES_PORT}"
247 - esetup.py test || die
248 -
249 - pkill -F ${PID}
250 -}
251 -
252 -python_prepare_all() {
253 - # avoid downloading from net
254 - sed -e '/^intersphinx_mapping/,+3d' -i docs/conf.py || die
255 -
256 - distutils-r1_python_prepare_all
257 -}
258 -
259 -python_compile_all() {
260 - cd docs || die
261 - emake man $(usex doc html "")
262 -}
263 -
264 -python_install_all() {
265 - use doc && local HTML_DOCS=( docs/_build/html/. )
266 - doman docs/_build/man/*
267 - distutils-r1_python_install_all
268 -}
269 -
270 -pkg_postinst() {
271 - ewarn ""
272 - ewarn "For Python 3 support information please read: http://click.pocoo.org/3/python3/"
273 - ewarn ""
274 - ewarn "Example usage on Python 3:"
275 - ewarn "export LC_ALL=en_US.UTF-8"
276 - ewarn "export LANG=en_US.UTF-8"
277 - ewarn "curator ..."
278 -}