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: Fri, 28 Oct 2016 19:45:39 +0000 (UTC)	[thread overview]
Message-ID: <1477683935.6975cb20aa4b233e0ab5039bd3c8dbd3cd9da726.patrick@gentoo> (raw)

commit:     6975cb20aa4b233e0ab5039bd3c8dbd3cd9da726
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 28 19:45:20 2016 +0000
Commit:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Fri Oct 28 19:45:35 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6975cb20

dev-python/elasticsearch-curator: Bump

Package-Manager: portage-2.3.2

 dev-python/elasticsearch-curator/Manifest          |   1 +
 .../elasticsearch-curator-4.1.2.ebuild             | 114 +++++++++++++++++++++
 2 files changed, 115 insertions(+)

diff --git a/dev-python/elasticsearch-curator/Manifest b/dev-python/elasticsearch-curator/Manifest
index 9255d64..bf05b25 100644
--- a/dev-python/elasticsearch-curator/Manifest
+++ b/dev-python/elasticsearch-curator/Manifest
@@ -1,2 +1,3 @@
 DIST elasticsearch-2.4.0.tar.gz 27364449 SHA256 3ae01140ae7bcbb91436feef381fbed774e36ef6d1e8e6a3153640db82acf4c9 SHA512 931f4d42cba43131718ec7480439b5fda0b9222a51cf9639d99ab4c00bdbedbe7e8da7a6016d88b848772cd416bc49fe7af09202160cecf839e39d803b45e869 WHIRLPOOL e03a2f7a6ea5913ce112b82e8578183c401f2d5901070a77c509ddbe7333fe62622fb2bb3e0f786a914bb15c56793e8b13220ae4588271baa3bbbcdf86223f47
 DIST elasticsearch-curator-4.0.6.tar.gz 110804 SHA256 e60f671dfa003f45f68320599cb15cee38cc61cb25899d903c2b29f2e3892e09 SHA512 b52af17d7d58bb9599095a00d03e5fda6bc7d9b401d100379f2a6969e5f995367192f33c045251518345abd86f2b143b1b086aab2c165d7e66efccb02dab8698 WHIRLPOOL 7621d883d59202882f455393ca7a87b39292667890dd2c5e3841ffb8a62e823d775794173a0205b02da24b7016509759c302bfabee5fc77a8000c961f853466f
+DIST elasticsearch-curator-4.1.2.tar.gz 130194 SHA256 f4ccc0d49790e0f9390982cc2f0c69ad385361e7840050b6ecba4ef70fa64a0d SHA512 4a465c03baea6b708ce38bbaea8c94a288f91db39fba253a3123af68bce94b1253d22f0d9214fc449a97d55ad468f7f78bf14993c0f5cf18fcf91ebbe1ec57cb WHIRLPOOL 73f8b59f08a6746468336aaac9217a4e37ee15e0deeaf9711d7af79585dfe4e18402d6dceb3feafbafec3e2609dbcc7df983555529640e046336e0bb7421f0d3

diff --git a/dev-python/elasticsearch-curator/elasticsearch-curator-4.1.2.ebuild b/dev-python/elasticsearch-curator/elasticsearch-curator-4.1.2.ebuild
new file mode 100644
index 00000000..c842d55
--- /dev/null
+++ b/dev-python/elasticsearch-curator/elasticsearch-curator-4.1.2.ebuild
@@ -0,0 +1,114 @@
+# 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.4.0"
+
+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}]
+	dev-python/voluptuous[${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 || die
+
+	# 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" || die
+	fi
+
+	# start local instance of elasticsearch
+	${ES}/bin/elasticsearch -d -p ${PID} || die
+
+	local i
+	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-10-28 19:45 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-28 19:45 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-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-08-09  9:44 Patrick Lauer
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=1477683935.6975cb20aa4b233e0ab5039bd3c8dbd3cd9da726.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