diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-11-10 00:43:02 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-11-10 00:43:02 +0000 |
commit | a5332b59346f7cbf0fdbd148b54aa8a84aaf8190 (patch) | |
tree | e6d8d3589fcd01fbc3f1286185639163daa81424 /dev-python/elasticsearch-curator | |
parent | fceeaf01a28ee71065cf3798b70b77d3bc4ef199 (diff) |
gentoo resync : 10.11.2017
Diffstat (limited to 'dev-python/elasticsearch-curator')
-rw-r--r-- | dev-python/elasticsearch-curator/Manifest | 3 | ||||
-rw-r--r-- | dev-python/elasticsearch-curator/elasticsearch-curator-5.3.0.ebuild | 120 |
2 files changed, 123 insertions, 0 deletions
diff --git a/dev-python/elasticsearch-curator/Manifest b/dev-python/elasticsearch-curator/Manifest index 90a1fd69adb1..6cbcdeb24364 100644 --- a/dev-python/elasticsearch-curator/Manifest +++ b/dev-python/elasticsearch-curator/Manifest @@ -1,12 +1,15 @@ DIST elasticsearch-5.1.2.tar.gz 33299777 SHA256 74d752f9a8b46898d306ad169b72f328e17215c0909149e156a576089ef11c42 SHA512 1867626e8a87f11ed109e1325fd1d16c9e0af06ebe6a30c78ea679ab533ab377f5da8ea55af6871be33af226f02187a2aadd77e5e23c097dd24055be21e9d691 WHIRLPOOL 2e9df71c915343e2cc8ad82c59b877f41f5e093cbeba21f471c32cb51a195eccc6223bc48da48bb4af2e6bea9f2539f2e93b866963148f4ca2940ba4466e614e DIST elasticsearch-5.5.1.tar.gz 33476827 SHA256 e0924ae2af5f4435cef009ad3a567169e9653263e7a3b8693dba932698ea7e34 SHA512 9bedd48396cdd6c39c107a7951eba8446b8574493bd44c17a79ba3443670a48b72c053006821cf69dc17bf49ff1c05904db14a07d8a6403b2d2061fc605937bd WHIRLPOOL 770b2eab9d67212fde7bafb5eaa885c13195f3ecb41897c261bac405987397e299d064badda454d12901ed86a8f9a4e87ab0242ccf5f6971005397ad9061f8c6 DIST elasticsearch-5.5.2.tar.gz 33485703 SHA256 0870e2c0c72e6eda976effa07aa1cdd06a9500302320b5c22ed292ce21665bf1 SHA512 62048f15b43e38a61e3a19a1599c25cd0d9009cc1172db5b450b04dec349ecd313b1f20e3d1c7ed1c101ae3e6f6c6d2cdf004a9713ad803576277f93e3adbdb9 WHIRLPOOL 3a71cef2858b76b11e1693907e745912a83f23e26c35a3456c6324fc19c317c53d4404e20134b034e41e162c1ea8d58c38bbd4afe0394d886ab32f6b698172ec +DIST elasticsearch-5.6.3.tar.gz 33774486 SHA256 492b7e59d5204b3dc7eb13b611c33b3db36b392bdd6a4c004ba99c6543fc28f9 SHA512 ee57d010e196eb25e5296fe95ab2de5e503d4d66f7eec8c8f6ac2ff9ddbc1a8dc1514202d705e291ee49d3e04650b597a9afc5f92f179b8faa5e2fe3c662f33e WHIRLPOOL bda081e6b91d1076a39e0af75b44d7f877f28178281de1f22c5177abf804c9395dacabb3c93ec93aff65223df42353bc955bbf60e74fb07f99320096dd97173a DIST elasticsearch-curator-4.2.6.tar.gz 228342 SHA256 bebc7f6b53a4147e92004dd63d2349bb18170feed12b9219206d0d074b0643ae SHA512 e42d9f3c6122ba9cfc0bc90323f12d7ebf09902d04138472999b63fc59742f2f461b889dd98fca98f321d4975a3c05bc2aae5d211a774abd49b628ea318f5f64 WHIRLPOOL 63eed5c64f3a08f44d6feb8eb56b7698e8081a948b67daae91bb692d69e3ed1166c2fb867cb61f3f114eed74d05251b3aae68a8c475bf75ce318d53435e27b7e DIST elasticsearch-curator-5.1.2.tar.gz 290616 SHA256 e2f4f6db735223b8bf2bf84924b6edb23d1c3b9a6ebd3ad3bebfcc23f38e0434 SHA512 4ac0ae789fe662d352c3d228acc6aaf78873bb02b7108f985fd0a048d0b90cb2b30572eaa5f984025ab0d4209eda9d6fe6ac66cd8cc856f0707e3f12bb2e574d WHIRLPOOL 143f7b8704d73db92524e25a51074dc96385089aac0c88d197b12668afe10eaf7d686a2d03a1c81dc988a158e6d9e9b9e419b50450d474ec75ef90cc56d502b7 DIST elasticsearch-curator-5.2.0.tar.gz 301134 SHA256 e79e0804b6629fa4669570052379e98d5e10c07879c132e1636f26d6e038c159 SHA512 5aba1c3fb1c76f2389902024190ba23567107e3655987014c9250ae46a9199daaad18cd6e9f2595458bf4abb6ac3d4d76c241907d1c0009eb2a15ef638e99d23 WHIRLPOOL 20ccff30bff5f52d05d5804a660dad35a2908479789bfe1d08052428c7c1352c30cbd11623d603ded8fd37b162252bfc24030731443ae7e120f5de7de88faace +DIST elasticsearch-curator-5.3.0.tar.gz 292274 SHA256 241dcda173aa3ba79b2b0f8f8ec31c8729fa0448f710f6cba10d2d20fcaaacf4 SHA512 23a94c0a8b78cd0f3a27af76131c267c407dbafb504a4503e8c954e69cdb527ed334fbfcda068b2f1d28479762c430f665f661f827bdf3066f5bcdd50c82dc53 WHIRLPOOL d37e553ad79b79e5b92271ced40534942b2ef6d75ff62afd7903771d41887c17f1f7fd96219942db2d3d7122c92cef6953cd59a57ad61f9af825fd060ec33428 EBUILD elasticsearch-curator-4.2.6.ebuild 3333 SHA256 674a9cac7acf44b0d5197da32b433ab1709c13f8f37d1c62613868aa48e9ed6f SHA512 e2fae6174588e141c8538c8faa74989fb36fbaf98f656194d514e970265c664b7bcbc1e8ca3fc4fe5397afacc2c46713c63a84e0b424f3b330613787d3803022 WHIRLPOOL dcd998067add00ce57a637d563c5c79d42c1e15f5d644091ebd635aea817181b7288b199a00597d6c4f99c26519bbd2fdbb81769940f2e56bef6276abedccf6a EBUILD elasticsearch-curator-5.1.2.ebuild 3229 SHA256 d1606dd62b4b62d44e5043ccef9d31586002c0f9b2cec4a03b97a13706322740 SHA512 76cc7d83d14a4c1bc6f09220b417ab747f237bd01ebf09c216fef229dcdc2517401406edcc86da47dde514703516c397913f24759e2936e3fac8282c0fa836c9 WHIRLPOOL e12b0185f66a67b8628aae039a132d39b0daa44461beb002b7a23d4a30caa6b8c27eb14044828c9d75d1c5182f82220689b107a632bce5f0e0defbfcd0b341f0 EBUILD elasticsearch-curator-5.2.0.ebuild 3239 SHA256 d24d2f83720cdcb458a1fec7117b35e5a4caaac5a6adb9bea6a142b640185e96 SHA512 bf9f8495476708bc2a52eb26d81e2c453931bfe796d8f3bf3d71b34e196a95c2fc4a0d2871e8a18323151f51fe3f535c22c1d206f5a1ae12287c914ceac701c9 WHIRLPOOL f1278611e5431a143fc240cc33887ecf5f8eb923aa20acdbfea17d77f98e35438c520851a9b14c799b1a9b110fce16f3c26a4df420fc9091a8fb8ac9555e1d52 +EBUILD elasticsearch-curator-5.3.0.ebuild 3239 SHA256 5af8dc0f699fd779efe7d343012c1070b611d3b4b4348236f0ab5ce48453608b SHA512 2cd0e8e3ba8a02ee22884f5e7436203cfb386d1be90e1ecb50b5b6ba60f7ef1181fe6b32ae91f2615875f7e8ad1b75f4032e1902644a046585d8d88de8614406 WHIRLPOOL 05d4a584d6ceb30926a494cbb81e8df586882f18f160e8f9be9702068a81fde143408e4d72fe5e3ed555f46c6d695f43fe99bd0cf9fa1c48db194b44a7264c46 MISC ChangeLog 7404 SHA256 784e287cdb399e760c0a989b0bd71f6388f8eba046d318a31637c7112d48c570 SHA512 9cc466c383c51c0ab85aa32d0fa443cf0149eaba3ac29e4b7757c9a8b2f4ebb6eb5d05cb785ec5e76c8fe7d0c1c3082bf3f30d39ba36e4d9e5ec7a5ca1c3819b WHIRLPOOL c595d57ecbac5eb1c167e77aaca8eeafa2071833c44da1c7b10431ab02a0ea717fb8c478669e402db47f1dcaadf5e4c50a285e9cac665a77952682d5dbccdb10 MISC ChangeLog-2015 911 SHA256 6f2af6e82f6f117247a783b711378598aa316f1bc5733d83248949a96f197d1d SHA512 bc50115d94906909c1325122edcf10ac3a4844676958522286fe7f80e230ef83bc5f349877c3fc2b5a55c6f24043b1a92b6b753c35a7b6aa0de8919993186576 WHIRLPOOL ad452ba3670c5fdcd739b0afdd2411c2303c42940649e047af4cb28cad95be6c9d50bf4e03fb05fdafda8cafb0b944a3fb81494a5dbcc05ff4fd1e889de46d5c MISC metadata.xml 469 SHA256 ba02bfcc11d9e765164b3e47f308401fc23226ac7095f4adf0f6144b132c0e23 SHA512 38e98a77a6da51e077ac9a0dc77059276c58f56f8e26ca45a26df3ec16641dcb46ca9bccf85fd0dc9a358de1ac1424bfffd4cfc3d8213272ec6193663c89860e WHIRLPOOL 571df8e48c1eff216c0b5809e1a107f34feaef499b492526a8699079d789bad1b94d99da752580b3d1d2eefb2307e24dce48ba83c8b2721d48bf547cf940c9f6 diff --git a/dev-python/elasticsearch-curator/elasticsearch-curator-5.3.0.ebuild b/dev-python/elasticsearch-curator/elasticsearch-curator-5.3.0.ebuild new file mode 100644 index 000000000000..01cb9487818f --- /dev/null +++ b/dev-python/elasticsearch-curator/elasticsearch-curator-5.3.0.ebuild @@ -0,0 +1,120 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +MY_PN="curator" +ES_VERSION="5.6.3" + +# tests fail in chroot +# https://github.com/elastic/elasticsearch/issues/12018 +RESTRICT="test" + +# running tests in non-chroot environments: +# FEATURES="test -usersandbox" emerge dev-python/elasticsearch-curator + +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://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz )" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +RDEPEND=" + >=dev-python/elasticsearch-py-5.4.0[${PYTHON_USEDEP}] + <dev-python/elasticsearch-py-6.0.0[${PYTHON_USEDEP}] + >=dev-python/click-6.7[${PYTHON_USEDEP}] + >=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.20[${PYTHON_USEDEP}] + >=dev-python/voluptuous-0.9.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 + 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_INSTANCE="gentoo-es-curator-test" + ES_LOG="${ES}/logs/${ES_INSTANCE}.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: ${ES_INSTANCE}/g" \ + "${ES}/config/elasticsearch.yml" || die + + # start local instance of elasticsearch + "${ES}/bin/elasticsearch" -d -p "${PID}" -Epath.repo=/ || die + + local i + local es_started=0 + for i in {1..20}; do + grep -q "started" "${ES_LOG}" 2> /dev/null + if [[ $? -eq 0 ]]; then + einfo "Elasticsearch started" + es_started=1 + 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 + + [[ $es_started -eq 0 ]] && die "Elasticsearch failed to start" + + export TEST_ES_SERVER="localhost:${ES_PORT}" + esetup.py test || die + + 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 -j1 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/latest/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 ..." +} |