From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 7B2E459CA4 for ; Thu, 17 Mar 2016 14:28:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5DF2D21C01E; Thu, 17 Mar 2016 14:28:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BD6A021C01E for ; Thu, 17 Mar 2016 14:27:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 66EAC340AE2 for ; Thu, 17 Mar 2016 14:27:58 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5447B847 for ; Thu, 17 Mar 2016 14:27:56 +0000 (UTC) From: "Patrick Lauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick Lauer" Message-ID: <1458224806.7864c02ef12ab001209bb4395354eafa60b76466.patrick@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/elasticsearch-py/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/elasticsearch-py/Manifest dev-python/elasticsearch-py/elasticsearch-py-2.3.0.ebuild X-VCS-Directories: dev-python/elasticsearch-py/ X-VCS-Committer: patrick X-VCS-Committer-Name: Patrick Lauer X-VCS-Revision: 7864c02ef12ab001209bb4395354eafa60b76466 X-VCS-Branch: master Date: Thu, 17 Mar 2016 14:27:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 6606a64f-fcfa-42bf-90b0-1467122c4289 X-Archives-Hash: bfe5d73e8409ba50e8432df7dd92df5e commit: 7864c02ef12ab001209bb4395354eafa60b76466 Author: Patrick Lauer gentoo org> AuthorDate: Thu Mar 17 14:24:36 2016 +0000 Commit: Patrick Lauer gentoo org> CommitDate: Thu Mar 17 14:26:46 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7864c02e dev-python/elasticsearch-py: Bump Package-Manager: portage-2.2.28 dev-python/elasticsearch-py/Manifest | 2 + .../elasticsearch-py/elasticsearch-py-2.3.0.ebuild | 90 ++++++++++++++++++++++ 2 files changed, 92 insertions(+) diff --git a/dev-python/elasticsearch-py/Manifest b/dev-python/elasticsearch-py/Manifest index fcd6500..9aa49bf 100644 --- a/dev-python/elasticsearch-py/Manifest +++ b/dev-python/elasticsearch-py/Manifest @@ -1,6 +1,8 @@ DIST elasticsearch-1.7.3.tar.gz 28510917 SHA256 af517611493374cfb2daa8897ae17e63e2efea4d0377d316baa351c1776a2bca SHA512 0cb6b2ebd77c3d1467f6a22f845bfbf9f4a7c9c9ddedae17aeb6bd2d2bc576171fc80e3a4963e7b890af574e9fd0b0faa152e7f2671a74254826e14fe2554c9f WHIRLPOOL c86de3076389a9b95cf4d424673edb3c3b1dae0b4470b18b15a5f2e9bde6669a61b8ffd5cc3f7fc3b52f99441915a84b0396a5673ebbc12fec0d83eb41a03c74 DIST elasticsearch-2.0.0.tar.gz 28576708 SHA256 b25f13f615337c2072964fd9fc5c7250f8a2a983b22198daf93548285d5d16df SHA512 23473b658d68c07b65f66e04cdac07c0b88ac3a2a9ca1d5e700b5b17ebc1b23b77a5b0fa32959d30d8e0267ec186be42de0c11ce86864fe55d0e353c27d0003a WHIRLPOOL 22a7a274961999d5105ed9ba817d225deb8e46330e5774be8caecb34e6997c2a8debf348a5f6d58ac9d959a6b96957723a63944750155f37592278b8e6e590c6 DIST elasticsearch-2.1.1.tar.gz 29007342 SHA256 ebd69c0483f20ba7e51caa9606d4e3ce5fe2667e1216c799f0cdbb815c317ce6 SHA512 eff12cd7342dc0036dc88f03ced9c7cc90d284222efeca86adfd9e4cf254cb8f96105c58673b239cfc9eb9764a2a669d2cd171ca73eb43b1ec1470a13c5e1776 WHIRLPOOL 2b0e069d162ee07eddc90d879d4ce5dd2cef9e4a804a9aaeb3d99e5d532f583589e2c6a36b5e856bf19a610f220eea6aaa75d28e7b6687b60eab7bf83b2def51 +DIST elasticsearch-2.2.1.tar.gz 29424648 SHA256 7d43d18a8ee8d715d827ed26b4ff3d939628f5a5b654c6e8de9d99bf3a9b2e03 SHA512 9254175afff5c002625465fb5f398e4e53d121925a656af13e65d90eb3b3ef7507ef094cf44002f104a84e5147a8677a05f4071248140d6b48179b9057867cb5 WHIRLPOOL a470a663b8ec1b8cb7a8daf6bfc02ed7d5d0f23caab063ac2e6c7456bda449bad3e81237699fa434f077d4f86ee09dac7d007b554acc6428f2b436cf8448b210 +DIST elasticsearch-2.3.0.tar.gz 58840 SHA256 be3080a2bf32dff0a9f9fcc1c087515a25a357645673a976d25ef77166134d81 SHA512 af36278e08ecb7f7bc1c79edcb102a08439dab5ee608b4b1daa359e11ff6718bb616e51aafd4f9965a015e7146e30b9b70ccc9758661569704f3e3ef8858b8d9 WHIRLPOOL 73f3577348babfe0acbb26bc807b105dba043ba6a55b11dbce3aa216c0d1bd10cfa676ff825f8cef1e355cdf28057b148bf92d5b278306e56683ffdb2a5eb2ea DIST elasticsearch-py-1.4.0.tar.gz 74498 SHA256 7959787b47c3523e9c9aeffec441091fcd2b293d26c4fd5f576cf84cfb85ef63 SHA512 dbe51362f68d40e95a0cfefde4feb8d9d9c61b4f4795cbf69fd70bf981f290812ebac19a20ae8594cc39ac46a3c35ddfe450ff436fca0fada060736128478cf7 WHIRLPOOL a6730bcccc1201048f82aed6e63b7e73f38150002dd9889c575c9edf52834bc6f9a8256977ac27b092f3865074e4699729cc766564a4b731766d77d6a6de6324 DIST elasticsearch-py-1.5.0.tar.gz 77037 SHA256 275eaeb2f64c8eba8691d953ac0d8a16e4f759d9cad797323b7cbd0ef87a69ce SHA512 10d473a221be3deb086dca0c5463324647e38f8be4f4bbea934079b002f1414d30c98976c56fd2fc55c97d24ed2338137a9983194e8bf82c95cc70321ee5ee86 WHIRLPOOL 3aa83b9bfd5363ea39baf58cc7bdaaa9606085e471e7e683518cf707642fc9a514264c51cf3e296db071a2a5333f58b8e1335bc4473477df9d085bea63c584ba DIST elasticsearch-py-1.6.0.tar.gz 77205 SHA256 59dd03284ab7314e5eb50d13ba92df65efb93778ca318906baad5776b152aff7 SHA512 09cdec0b3f50707b9a5e11534fe28507db669e4da44bbda1952d07b6ac8e3aea0c0c05297db26d9425c2247724681fa4e5485e9525571ff64f070e700a9a9b07 WHIRLPOOL 04f43a848cc811d1bee22d2bf7931a4348fb4a455172e381bedad5179d72313320009cb8b2dfdadb252aacc13cc1a4ef15b311488401d6b2bc23e242272bb74b diff --git a/dev-python/elasticsearch-py/elasticsearch-py-2.3.0.ebuild b/dev-python/elasticsearch-py/elasticsearch-py-2.3.0.ebuild new file mode 100644 index 0000000..6c11be7 --- /dev/null +++ b/dev-python/elasticsearch-py/elasticsearch-py-2.3.0.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5} pypy ) + +ES_VERSION="2.2.1" + +inherit distutils-r1 + +MY_PN=${PN/-py/} + +DESCRIPTION="official Python low-level client for Elasticsearch" +HOMEPAGE="http://elasticsearch-py.rtfd.org/" +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz + test? ( https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/${ES_VERSION}/elasticsearch-${ES_VERSION}.tar.gz )" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~mips ~x86" +IUSE="examples doc test" + +RDEPEND=">=dev-python/urllib3-1.8[${PYTHON_USEDEP}] + /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 && HTML_DOCS=( docs/_build/html/. ) + use examples && local EXAMPLES=( example/. ) + doman docs/_build/man/* + distutils-r1_python_install_all +}