From 37275b44ee2fc437dbaafa691283acf3196a1c5e Mon Sep 17 00:00:00 2001 From: Patrick Lauer Date: Wed, 23 Mar 2016 15:57:39 +0100 Subject: dev-python/elasticsearch-curator: Bump Package-Manager: portage-2.2.28 --- dev-python/elasticsearch-curator/Manifest | 2 +- .../elasticsearch-curator-3.5.0.ebuild | 105 --------------------- .../elasticsearch-curator-3.5.1.ebuild | 105 +++++++++++++++++++++ 3 files changed, 106 insertions(+), 106 deletions(-) delete mode 100644 dev-python/elasticsearch-curator/elasticsearch-curator-3.5.0.ebuild create mode 100644 dev-python/elasticsearch-curator/elasticsearch-curator-3.5.1.ebuild diff --git a/dev-python/elasticsearch-curator/Manifest b/dev-python/elasticsearch-curator/Manifest index e75e6d569527..7fbfb83bc927 100644 --- a/dev-python/elasticsearch-curator/Manifest +++ b/dev-python/elasticsearch-curator/Manifest @@ -3,4 +3,4 @@ DIST elasticsearch-2.2.0.tar.gz 29419005 SHA256 ed70cc81e1f55cd5f0032beea2907227 DIST elasticsearch-2.2.1.tar.gz 29424648 SHA256 7d43d18a8ee8d715d827ed26b4ff3d939628f5a5b654c6e8de9d99bf3a9b2e03 SHA512 9254175afff5c002625465fb5f398e4e53d121925a656af13e65d90eb3b3ef7507ef094cf44002f104a84e5147a8677a05f4071248140d6b48179b9057867cb5 WHIRLPOOL a470a663b8ec1b8cb7a8daf6bfc02ed7d5d0f23caab063ac2e6c7456bda449bad3e81237699fa434f077d4f86ee09dac7d007b554acc6428f2b436cf8448b210 DIST elasticsearch-curator-3.4.0.tar.gz 96741 SHA256 86e542886d83ad4c499437e42f4ff69d6602314a75c0c156d1c8dd838ab5e605 SHA512 23cab700acb8afe7967d3e024a293a765ba1823015006c2856c3967ba33ec8a21d214fe7e0b2840e9fc3adb4cc15c889dba955c849036850ed67d689285f9871 WHIRLPOOL 01828a116a11d41666fb21c967375055114ff050650ab329f5aded441aa98743b0c62bcbb98f7f5a2335b844d44e1f3020d6f36e0f2f24acbf357f69b056062e DIST elasticsearch-curator-3.4.1.tar.gz 91420 SHA256 38d3c576c1a714d3e4defd78c43d898908ac563aa93018afd47702b5ae1e01c1 SHA512 63cee7e7778cf9cc5484a5e2a5a7cb379c8ba84f194d44758bf6e7a468492c27f41dbf5df42d964c060761e61166d3eba056c59b4d44e0df6a75052c5f9b42d8 WHIRLPOOL 2aa54a725b5cf1b5db0e3a8b069bd9d0f6d791f7750311676d25bcb7fba233316d38980c68e2ad2bfd7ae7ea82cc69ccbc7746e40f95e6ce19562ed577e32228 -DIST elasticsearch-curator-3.5.0.tar.gz 92873 SHA256 b710da5cfb3c1355106762c697d02a590db0c620cebc32b3a8fa142719043e37 SHA512 0f1145dbf036388e40db0942d7cc878ba5117a03060b25d63127ae3fbfab18e1bc407ee064a0ae99d69a15723fd81bd3baf3674945d70671d099c839e441e278 WHIRLPOOL 3d16e7ab0e832929f1fc106ea4b4aff5f7eaa7d56e73ad24c20dec97ff48917e07947125f3ae8efd164504e5b9dec9d7dd5a9ccfe3b5a2a14b323a98bab6e21f +DIST elasticsearch-curator-3.5.1.tar.gz 93121 SHA256 3b578c1d8a88da22501a79346792288478f3191d75058e4c43d05fc261c9b874 SHA512 59ddc5feb575f626afcbce9c80b113827d9752bb4ba1bc8f7e7f110f8be661314dbf0421310cb07ce1b15c9d6dba2f181718befb5cfa93803ad5e63226ac9556 WHIRLPOOL 8b0529116cf735cb45872073a7668bdb94e0e61306bcbd6d3609a73616f75f74747847cbf8a860d5727fe3f475ab59c66f1382a04d543cdb3c22de4edfd068e2 diff --git a/dev-python/elasticsearch-curator/elasticsearch-curator-3.5.0.ebuild b/dev-python/elasticsearch-curator/elasticsearch-curator-3.5.0.ebuild deleted file mode 100644 index 13d4cb2cb973..000000000000 --- a/dev-python/elasticsearch-curator/elasticsearch-curator-3.5.0.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# 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.2.1" - -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/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}] - test? ( ${RDEPEND} - || ( virtual/jre:1.8 virtual/jre:1.7 ) - ~dev-python/mock-1.0.1[${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_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 ..." -} diff --git a/dev-python/elasticsearch-curator/elasticsearch-curator-3.5.1.ebuild b/dev-python/elasticsearch-curator/elasticsearch-curator-3.5.1.ebuild new file mode 100644 index 000000000000..13d4cb2cb973 --- /dev/null +++ b/dev-python/elasticsearch-curator/elasticsearch-curator-3.5.1.ebuild @@ -0,0 +1,105 @@ +# 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.2.1" + +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/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}] + test? ( ${RDEPEND} + || ( virtual/jre:1.8 virtual/jre:1.7 ) + ~dev-python/mock-1.0.1[${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_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 ..." +} -- cgit v1.2.3-65-gdbad