public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrick Lauer" <patrick@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/elasticsearch-curator/
Date: Tue,  9 Aug 2016 09:44:33 +0000 (UTC)	[thread overview]
Message-ID: <1470735866.2933e856e1d7d6206e034d6fa9080bfaae1e4411.patrick@gentoo> (raw)

commit:     2933e856e1d7d6206e034d6fa9080bfaae1e4411
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Tue Aug  9 09:37:31 2016 +0000
Commit:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Tue Aug  9 09:44:26 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2933e856

dev-python/elasticsearch-curator: Bump

Package-Manager: portage-2.3.0

 dev-python/elasticsearch-curator/Manifest          |   1 +
 .../elasticsearch-curator-4.0.5.ebuild             | 112 +++++++++++++++++++++
 2 files changed, 113 insertions(+)

diff --git a/dev-python/elasticsearch-curator/Manifest b/dev-python/elasticsearch-curator/Manifest
index cdec9a8..75b34aa 100644
--- a/dev-python/elasticsearch-curator/Manifest
+++ b/dev-python/elasticsearch-curator/Manifest
@@ -2,3 +2,4 @@ DIST elasticsearch-2.2.1.tar.gz 29424648 SHA256 7d43d18a8ee8d715d827ed26b4ff3d93
 DIST elasticsearch-2.3.3.tar.gz 27542289 SHA256 5fe0a6887432bb8a8d3de2e79c9b81c83cfa241e6440f0f0379a686657789165 SHA512 d3899d2f45128d218693ed2a0f9210ec6ce5fe4101d543b46edaaadceeb6768fe3cf04bf161ad09b38629bada74368133727dd735ef11132fffe81aabe0ef88b WHIRLPOOL 5f51b0c1a913a60073c212c9ee06b024b0ca50bbf7857f2ce1883ab51bbb8295c51c1c2d4e7fd98b5dc9db65cd753fd282a0eccf7568fad6608b3529f5e9ea36
 DIST elasticsearch-curator-3.5.1.tar.gz 93121 SHA256 3b578c1d8a88da22501a79346792288478f3191d75058e4c43d05fc261c9b874 SHA512 59ddc5feb575f626afcbce9c80b113827d9752bb4ba1bc8f7e7f110f8be661314dbf0421310cb07ce1b15c9d6dba2f181718befb5cfa93803ad5e63226ac9556 WHIRLPOOL 8b0529116cf735cb45872073a7668bdb94e0e61306bcbd6d3609a73616f75f74747847cbf8a860d5727fe3f475ab59c66f1382a04d543cdb3c22de4edfd068e2
 DIST elasticsearch-curator-4.0.1.tar.gz 107792 SHA256 a7aa6a48f93a35d005f174a87ee05115230bc0b84994367e01c21873aedd519f SHA512 d948d38b3b17e046a139f3bea1c9a9a927bef2621477689b897e0845211bcb3c35507c7661a0801361933a72b01868553fb84ecc9aefa5e5fc363a4f516e63cb WHIRLPOOL 44edb992ec6e8194b4696c18c6d4d5ac4cc3a0d9fe488a15ee6d693a6fc4f32585411e74a46e64864baba57327dd8ed60da8ea30deb2666c9feaf2f5efcf7ed0
+DIST elasticsearch-curator-4.0.5.tar.gz 110573 SHA256 84f9df5fb19e59e734b224cba35d7c48c6dbdbe6317d8274276f5ad81cfbfd12 SHA512 08270cd53510e4356e1f01bb27c9202dcf2ac7d66c9852c2bc5d93de7c701802f67bf0b0117d4a155b9a930a4842d021a08f85436007654a812e47a0de8d870d WHIRLPOOL a80fdbdd30d82d1b189eba97e07779a6c632f58a5d242aef8fc3a450be0c93c64ec02651793fea8475936934f6ea8ed227d18c22f32e9a9d7d5e8506e9c2679e

diff --git a/dev-python/elasticsearch-curator/elasticsearch-curator-4.0.5.ebuild b/dev-python/elasticsearch-curator/elasticsearch-curator-4.0.5.ebuild
new file mode 100644
index 0000000..688fdb5
--- /dev/null
+++ b/dev-python/elasticsearch-curator/elasticsearch-curator-4.0.5.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+MY_PN="curator"
+ES_VERSION="2.3.3"
+
+inherit distutils-r1
+
+DESCRIPTION="Tending time-series indices in Elasticsearch"
+HOMEPAGE="https://github.com/elasticsearch/curator"
+SRC_URI="https://github.com/elasticsearch/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+	test? ( https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz )"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+
+RDEPEND="
+	>=dev-python/elasticsearch-py-2.3.0[${PYTHON_USEDEP}]
+	<dev-python/elasticsearch-py-5.1.0[${PYTHON_USEDEP}]
+	>=dev-python/click-3.3[${PYTHON_USEDEP}]
+	dev-python/certifi[${PYTHON_USEDEP}]
+	>=dev-python/urllib3-1.8.3[${PYTHON_USEDEP}]"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+	dev-python/sphinx[${PYTHON_USEDEP}]
+	>=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
+	test? ( ${RDEPEND}
+		|| ( virtual/jre:1.8 virtual/jre:1.7 )
+		dev-python/mock[${PYTHON_USEDEP}]
+		dev-python/nose[${PYTHON_USEDEP}]
+		dev-python/coverage[${PYTHON_USEDEP}]
+		dev-python/nosexcover[${PYTHON_USEDEP}]
+		dev-python/six[${PYTHON_USEDEP}] )"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+python_test() {
+	ES="${WORKDIR}/elasticsearch-${ES_VERSION}"
+	ES_PORT="25123"
+	ES_LOG="${ES}/logs/elasticsearch.log"
+	PID="${ES}/elasticsearch.pid"
+
+	# run Elasticsearch instance on custom port
+	sed -i "s/# http.port: 9200/http.port: ${ES_PORT}/g; \
+		s/# cluster.name: my-application/cluster.name: gentoo-es-curator-test/g" \
+		${ES}/config/elasticsearch.yml
+
+	# Elasticsearch 1.6+ needs to set path.repo
+	grep -q "^path.repo" "${ES}/config/elasticsearch.yml"
+	if [ $? -ne 0 ]; then
+		echo "path.repo: /" >> "${ES}/config/elasticsearch.yml"
+	fi
+
+	# start local instance of elasticsearch
+	${ES}/bin/elasticsearch -d -p ${PID}
+
+	for i in {1..10}; do
+		grep -q "started" ${ES_LOG} 2> /dev/null
+		if [ $? -eq 0 ]; then
+			einfo "Elasticsearch started"
+			eend 0
+			break
+		elif grep -q 'BindException\[Address already in use\]' "${ES_LOG}" 2>/dev/null; then
+			eend 1
+			eerror "Elasticsearch already running"
+			die "Cannot start Elasticsearch for tests"
+		else
+			einfo "Waiting for Elasticsearch"
+			eend 1
+			sleep 2
+			continue
+		fi
+	done
+
+	export TEST_ES_SERVER="localhost:${ES_PORT}"
+	esetup.py test
+
+	pkill -F ${PID}
+}
+
+python_prepare_all() {
+	# avoid downloading from net
+	sed -e '/^intersphinx_mapping/,+3d' -i docs/conf.py || die
+	distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+	cd docs || die
+	emake man $(usex doc html "")
+}
+
+python_install_all() {
+	use doc && local HTML_DOCS=( docs/_build/html/. )
+	doman docs/_build/man/*
+	distutils-r1_python_install_all
+}
+
+pkg_postinst() {
+	ewarn ""
+	ewarn "For Python 3 support information please read: http://click.pocoo.org/3/python3/"
+	ewarn ""
+	ewarn "Example usage on Python 3:"
+	ewarn "export LC_ALL=en_US.UTF-8"
+	ewarn "export LANG=en_US.UTF-8"
+	ewarn "curator ..."
+}


             reply	other threads:[~2016-08-09  9:44 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-09  9:44 Patrick Lauer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-03-09  9:44 [gentoo-commits] repo/gentoo:master commit in: dev-python/elasticsearch-curator/ Sam James
2021-03-09  9:44 Sam James
2020-12-23  1:17 Thomas Deutschmann
2020-12-11 14:51 Michał Górny
2020-12-10 19:31 Thomas Deutschmann
2020-06-30  6:34 Agostino Sarubbo
2020-05-25 12:18 Mikle Kolyada
2020-04-23 13:06 Michał Górny
2020-03-27  8:58 Michał Górny
2019-10-28 14:43 Joonas Niilola
2019-08-16 13:50 Michał Górny
2018-12-17  1:03 Thomas Deutschmann
2018-11-17 14:27 Mikle Kolyada
2018-11-15 15:48 Thomas Deutschmann
2018-10-12  0:57 Thomas Deutschmann
2018-10-12  0:57 Thomas Deutschmann
2018-07-11  8:13 Tony Vroon
2018-05-11  8:35 Michał Górny
2018-05-11  8:35 Michał Górny
2018-04-23 14:32 Aaron Bauman
2018-01-31 22:10 Michał Górny
2018-01-31 22:10 Michał Górny
2017-11-30 14:47 Patrice Clement
2017-11-30 14:47 Patrice Clement
2017-11-13 15:41 Manuel Rüger
2017-11-07 22:59 Patrice Clement
2017-10-29 21:08 Thomas Deutschmann
2017-09-10 21:24 Patrice Clement
2017-09-10 21:24 Patrice Clement
2017-09-10 21:24 Patrice Clement
2017-08-14 21:41 Patrice Clement
2017-08-14 21:41 Patrice Clement
2017-07-08 21:35 Patrice Clement
2017-06-20  5:17 Agostino Sarubbo
2017-06-19 17:03 Agostino Sarubbo
2017-05-24 13:27 Michał Górny
2017-05-19 10:52 Michał Górny
2017-05-18 22:25 Michał Górny
2017-05-17 16:37 Patrick Lauer
2017-02-06 21:14 Göktürk Yüksek
2017-01-26  8:31 Göktürk Yüksek
2017-01-26  8:31 Göktürk Yüksek
2016-12-27 18:44 Göktürk Yüksek
2016-10-28 19:45 Patrick Lauer
2016-10-02 12:59 Göktürk Yüksek
2016-09-29 20:42 Patrice Clement
2016-09-02  5:26 Patrick Lauer
2016-08-16 17:59 Patrice Clement
2016-07-08 19:05 Patrice Clement
2016-07-08 19:05 Patrice Clement
2016-03-23 14:59 Patrick Lauer
2016-03-18 13:43 Patrice Clement
2016-03-18 12:23 Ian Delaney
2016-03-17 14:27 Patrick Lauer
2016-02-15 13:16 Patrice Clement
2016-02-15 13:16 Patrice Clement
2016-02-15 13:16 Patrice Clement
2015-11-23 11:32 Ian Delaney
2015-11-12  8:18 Ian Delaney
2015-11-11 14:15 Ian Delaney
2015-09-11  7:53 Justin Lecher
2015-09-10  6:26 Ian Delaney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1470735866.2933e856e1d7d6206e034d6fa9080bfaae1e4411.patrick@gentoo \
    --to=patrick@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox