From: | "Ian Delaney (idella4)" <idella4@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/elasticsearch-curator: elasticsearch-curator-3.2.3.ebuild ChangeLog |
Date: | Thu, 23 Jul 2015 08:54:45 |
Message-Id: | 20150723085436.C8958B7@oystercatcher.gentoo.org |
1 | idella4 15/07/23 08:54:36 |
2 | |
3 | Modified: ChangeLog |
4 | Added: elasticsearch-curator-3.2.3.ebuild |
5 | Log: |
6 | bump |
7 | |
8 | (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D) |
9 | |
10 | Revision Changes Path |
11 | 1.4 dev-python/elasticsearch-curator/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/elasticsearch-curator/ChangeLog?rev=1.4&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/elasticsearch-curator/ChangeLog?rev=1.4&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/elasticsearch-curator/ChangeLog?r1=1.3&r2=1.4 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-python/elasticsearch-curator/ChangeLog,v |
20 | retrieving revision 1.3 |
21 | retrieving revision 1.4 |
22 | diff -u -r1.3 -r1.4 |
23 | --- ChangeLog 7 Jun 2015 13:14:29 -0000 1.3 |
24 | +++ ChangeLog 23 Jul 2015 08:54:36 -0000 1.4 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for dev-python/elasticsearch-curator |
27 | # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/elasticsearch-curator/ChangeLog,v 1.3 2015/06/07 13:14:29 jlec Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/elasticsearch-curator/ChangeLog,v 1.4 2015/07/23 08:54:36 idella4 Exp $ |
30 | + |
31 | +*elasticsearch-curator-3.2.3 (23 Jul 2015) |
32 | + |
33 | + 23 Jul 2015; Ian Delaney <idella4@g.o> |
34 | + +elasticsearch-curator-3.2.3.ebuild: |
35 | + bump |
36 | |
37 | 07 Jun 2015; Justin Lecher <jlec@g.o> metadata.xml: |
38 | Add github to remote-id in metadata.xml |
39 | |
40 | |
41 | |
42 | 1.1 dev-python/elasticsearch-curator/elasticsearch-curator-3.2.3.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/elasticsearch-curator/elasticsearch-curator-3.2.3.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/elasticsearch-curator/elasticsearch-curator-3.2.3.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: elasticsearch-curator-3.2.3.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2015 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/dev-python/elasticsearch-curator/elasticsearch-curator-3.2.3.ebuild,v 1.1 2015/07/23 08:54:36 idella4 Exp $ |
52 | |
53 | EAPI=5 |
54 | |
55 | PYTHON_COMPAT=( python{2_7,3_3,3_4} ) |
56 | |
57 | MY_PN="curator" |
58 | ES_VERSION="1.7.0" |
59 | |
60 | inherit distutils-r1 |
61 | |
62 | DESCRIPTION="Tending time-series indices in Elasticsearch" |
63 | HOMEPAGE="https://github.com/elasticsearch/curator" |
64 | SRC_URI="https://github.com/elasticsearch/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz |
65 | test? ( https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz )" |
66 | |
67 | LICENSE="Apache-2.0" |
68 | SLOT="0" |
69 | KEYWORDS="~amd64 ~x86" |
70 | IUSE="doc test" |
71 | |
72 | RDEPEND=" |
73 | >=dev-python/elasticsearch-py-1.0.0[${PYTHON_USEDEP}] |
74 | <dev-python/elasticsearch-py-2.0.0[${PYTHON_USEDEP}] |
75 | >=dev-python/click-3.3[${PYTHON_USEDEP}] |
76 | dev-python/certifi[${PYTHON_USEDEP}]" |
77 | DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
78 | test? ( ${RDEPEND} |
79 | || ( virtual/jre:1.8 virtual/jre:1.7 ) |
80 | dev-python/mock[${PYTHON_USEDEP}] |
81 | dev-python/nose[${PYTHON_USEDEP}] |
82 | dev-python/coverage[${PYTHON_USEDEP}] |
83 | dev-python/nosexcover[${PYTHON_USEDEP}] |
84 | dev-python/six[${PYTHON_USEDEP}] ) |
85 | doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" |
86 | |
87 | S="${WORKDIR}/${MY_PN}-${PV}" |
88 | |
89 | python_test() { |
90 | ES="${WORKDIR}/elasticsearch-${ES_VERSION}" |
91 | ES_PORT="25123" |
92 | ES_LOG="${ES}/logs/elasticsearch.log" |
93 | PID="${ES}/elasticsearch.pid" |
94 | |
95 | # run Elasticsearch instance on custom port |
96 | sed -i "s/#http.port: 9200/http.port: ${ES_PORT}/g; \ |
97 | s/#cluster.name: elasticsearch/cluster.name: gentoo-es-curator-test/g" \ |
98 | ${ES}/config/elasticsearch.yml |
99 | |
100 | # Elasticsearch 1.6+ needs to set path.repo |
101 | echo "path.repo: /" >> ${ES}/config/elasticsearch.yml |
102 | |
103 | # start local instance of elasticsearch |
104 | ${ES}/bin/elasticsearch -d -p ${PID} |
105 | |
106 | for i in `seq 10`; do |
107 | grep -q "started" ${ES_LOG} 2> /dev/null |
108 | if [ $? -eq 0 ]; then |
109 | einfo "Elasticsearch started" |
110 | eend 0 |
111 | break |
112 | elif grep -q 'BindException\[Address already in use\]' "${ES_LOG}" 2>/dev/null; then |
113 | eend 1 |
114 | eerror "Elasticsearch already running" |
115 | die "Cannot start Elasticsearch for tests" |
116 | else |
117 | einfo "Waiting for Elasticsearch" |
118 | eend 1 |
119 | sleep 2 |
120 | continue |
121 | fi |
122 | done |
123 | |
124 | export TEST_ES_SERVER="localhost:${ES_PORT}" |
125 | esetup.py test || die "Tests failed on ${EPYTHON}" |
126 | |
127 | pkill -F ${PID} |
128 | } |
129 | |
130 | python_compile_all() { |
131 | use doc && emake -C docs html |
132 | } |
133 | |
134 | python_install_all() { |
135 | use doc && local HTML_DOCS=( docs/_build/html/. ) |
136 | distutils-r1_python_install_all |
137 | } |
138 | |
139 | pkg_postinst() { |
140 | ewarn "" |
141 | ewarn "For Python 3 support information please read: http://click.pocoo.org/3/python3/" |
142 | ewarn "" |
143 | ewarn "Example usage on Python 3:" |
144 | ewarn "export LC_ALL=en_US.UTF-8" |
145 | ewarn "export LANG=en_US.UTF-8" |
146 | ewarn "curator ..." |
147 | } |