summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2015-02-17 14:13:27 +0000
committerIan Delaney <idella4@gentoo.org>2015-02-17 14:13:27 +0000
commit434fc18994eef897dbf4fd367df7113d79f2e50f (patch)
tree172dce5c779bced649e9ae6644a74c003a6b63eb
parentRestrict tests so 1.0.9-r1 can go stable, bug #511202. (diff)
downloadgentoo-2-434fc18994eef897dbf4fd367df7113d79f2e50f.tar.gz
gentoo-2-434fc18994eef897dbf4fd367df7113d79f2e50f.tar.bz2
gentoo-2-434fc18994eef897dbf4fd367df7113d79f2e50f.zip
new ebuild written by proxy maintainer, closes bug #536670
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
-rw-r--r--dev-python/elasticsearch-curator/ChangeLog9
-rw-r--r--dev-python/elasticsearch-curator/Manifest4
-rw-r--r--dev-python/elasticsearch-curator/elasticsearch-curator-2.1.2.ebuild79
-rw-r--r--dev-python/elasticsearch-curator/metadata.xml13
4 files changed, 105 insertions, 0 deletions
diff --git a/dev-python/elasticsearch-curator/ChangeLog b/dev-python/elasticsearch-curator/ChangeLog
new file mode 100644
index 000000000000..d99dbf396583
--- /dev/null
+++ b/dev-python/elasticsearch-curator/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-python/elasticsearch-curator
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/elasticsearch-curator/ChangeLog,v 1.1 2015/02/17 14:13:27 idella4 Exp $
+
+*elasticsearch-curator-2.1.2 (17 Feb 2015)
+
+ 17 Feb 2015; Ian Delaney <idella4@gentoo.org>
+ +elasticsearch-curator-2.1.2.ebuild, +metadata.xml:
+ new ebuild written by proxy maintainer, closes bug #536670
diff --git a/dev-python/elasticsearch-curator/Manifest b/dev-python/elasticsearch-curator/Manifest
new file mode 100644
index 000000000000..4442ea26c09d
--- /dev/null
+++ b/dev-python/elasticsearch-curator/Manifest
@@ -0,0 +1,4 @@
+DIST elasticsearch-1.4.2.tar.gz 27734207 SHA256 31dd6c049745f7dac201f94852b778b0841d6869d358fd80d4c897d0bf73b53c SHA512 b82e644b0b81489ce0d4fc72ca0efa3545c55c4d947faec2537035d440be83bac0f794f1a2863d87649e36f87d250c1f4e46ae57053b50948f47f9ff2a3bf6b6 WHIRLPOOL ac40778a999bc92230547b1405f259b7d348983767a87c71e18ed9ef45367ebf0b5b0517ef57bd423fa47ce4387e982aa7ee4a4ec9b2be75a4771e8d737f0cc5
+DIST elasticsearch-curator-2.1.2.tar.gz 35706 SHA256 93185f57e4fcd84970b78936271c3ddcba69c54d9a799acafe7d16483134cce0 SHA512 4bc4f74ab7d710173f173d47ad5e8c8918267bbc888a2b1b301e799747f73375b159671940cf7d3cc62361adbb320bc3e772d149eb7ff227d4893788810946f1 WHIRLPOOL 156e92a0a5fa4797651d1c066b955304b082edcda815784c5ddb5a025c93f9b4f222f15e5d7ce74e4740bd1c3ab5e67fe21e651186e0062ff3f0e418b0390b09
+EBUILD elasticsearch-curator-2.1.2.ebuild 2055 SHA256 eaf75bd1021402520e501b2e972350565962d20581f14a83a405654f6718704d SHA512 7b207a99e2f67d361af96c7e578e005f089fcc184f6a8c73685202cd5f1eb3aa05ae0df0b9053b46e528b5e97be12fd903ca8f51878b5f5efa6639130be7b4f4 WHIRLPOOL fd314014662eff788b744b16b02572bc142668656d44302aeeb0f75d6d32f21f2d24ab13d072be2ef17953ecb9afb729e3985a1271c126623166831929861d3b
+MISC metadata.xml 460 SHA256 aca4c01631add79d4a3eee43e16a261c8527dd0a588b83d3525fad586d9ed93e SHA512 2c82e3987b82888689d7e003e6780cd39f944832e8c6647dd24ff79460f5a89f0f6d05cb17835e935878f9409fd4da43ff7159bc96b97d22434cdefa37f9d538 WHIRLPOOL 5be5aedf709140743af538dc846feea66f80c614e0e4d7adf615e645ce7f0f6223030d7f3716fd2a5304e5db736f7eb5df3c71a13e1b1baef5bec8014206217a
diff --git a/dev-python/elasticsearch-curator/elasticsearch-curator-2.1.2.ebuild b/dev-python/elasticsearch-curator/elasticsearch-curator-2.1.2.ebuild
new file mode 100644
index 000000000000..790653fe1cdb
--- /dev/null
+++ b/dev-python/elasticsearch-curator/elasticsearch-curator-2.1.2.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/elasticsearch-curator/elasticsearch-curator-2.1.2.ebuild,v 1.1 2015/02/17 14:13:27 idella4 Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+MY_PN="curator"
+ES_VERSION="1.4.2"
+
+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-1.0.0[${PYTHON_USEDEP}]
+ <dev-python/elasticsearch-py-2.0.0[${PYTHON_USEDEP}]"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( ${RDEPEND}
+ virtual/jre:1.7
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/nose[${PYTHON_USEDEP}]
+ dev-python/coverage[${PYTHON_USEDEP}]
+ dev-python/nosexcover[${PYTHON_USEDEP}] )
+ doc? ( dev-python/sphinx[${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" ${ES}/config/elasticsearch.yml
+ ${ES}/bin/elasticsearch -d -p ${PID}
+
+ for i in `seq 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 || die "Tests failed on ${EPYTHON}"
+
+ pkill -F ${PID}
+}
+
+python_compile_all() {
+ use doc && emake -C docs html
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( docs/_build/html/. )
+ distutils-r1_python_install_all
+}
diff --git a/dev-python/elasticsearch-curator/metadata.xml b/dev-python/elasticsearch-curator/metadata.xml
new file mode 100644
index 000000000000..770dc1fc8494
--- /dev/null
+++ b/dev-python/elasticsearch-curator/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>proxy-maintainers</herd>
+ <maintainer>
+ <email>idella4@gentoo.org</email>
+ </maintainer>
+ <maintainer>
+ <email>hydrapolic@gmail.com</email>
+ <name>Tomas Mozes</name>
+ <description>Proxy maintainer</description>
+ </maintainer>
+</pkgmetadata>