From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 866C91396DA for ; Sat, 14 Oct 2017 16:19:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A118F2BC079; Sat, 14 Oct 2017 16:19:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 67F512BC079 for ; Sat, 14 Oct 2017 16:19:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 54ECB33BEDC for ; Sat, 14 Oct 2017 16:19:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EAC7230F for ; Sat, 14 Oct 2017 16:19:55 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1507997988.60af8e984f0d53e1fe8430f29dda257d5b20683f.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/elasticsearch-transport/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/elasticsearch-transport/Manifest dev-ruby/elasticsearch-transport/elasticsearch-transport-5.0.4.ebuild dev-ruby/elasticsearch-transport/metadata.xml X-VCS-Directories: dev-ruby/elasticsearch-transport/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 60af8e984f0d53e1fe8430f29dda257d5b20683f X-VCS-Branch: master Date: Sat, 14 Oct 2017 16:19:55 +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: 3ac29cad-5453-43cb-9b9d-6ebfef89ecca X-Archives-Hash: c7b1ffab777360b8ecede4f7740bfe40 commit: 60af8e984f0d53e1fe8430f29dda257d5b20683f Author: Michał Górny gentoo org> AuthorDate: Sat Oct 14 15:42:47 2017 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Oct 14 16:19:48 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60af8e98 dev-ruby/elasticsearch-transport: New package, needed by Infra dev-ruby/elasticsearch-transport/Manifest | 1 + .../elasticsearch-transport-5.0.4.ebuild | 50 ++++++++++++++++++++++ dev-ruby/elasticsearch-transport/metadata.xml | 8 ++++ 3 files changed, 59 insertions(+) diff --git a/dev-ruby/elasticsearch-transport/Manifest b/dev-ruby/elasticsearch-transport/Manifest new file mode 100644 index 00000000000..e7da9559fbf --- /dev/null +++ b/dev-ruby/elasticsearch-transport/Manifest @@ -0,0 +1 @@ +DIST elasticsearch-ruby-5.0.4.tar.gz 213565 SHA256 61151bcee155c6baebace1fb5d4091dc715af53251dc32dbca7d6fb0c9f5ecac SHA512 aaa4b1a41de62128cc3cc3fe174fd7f95e6153f25f1640dbd0cde5858e77924e85bd78e2869968c498b3f2f007215504aaee322df954ae44b0a64dacc396d217 WHIRLPOOL ebe23cdee9fdb56bc1c05fa86ca8dc8667d1ef36f3cc7cbd556cd3186dbfa9a3cdd5160a3a7a5e7464d69e264136beb3d9280107904f9f7f519b65adb2a4ae2b diff --git a/dev-ruby/elasticsearch-transport/elasticsearch-transport-5.0.4.ebuild b/dev-ruby/elasticsearch-transport/elasticsearch-transport-5.0.4.ebuild new file mode 100644 index 00000000000..4632c06b875 --- /dev/null +++ b/dev-ruby/elasticsearch-transport/elasticsearch-transport-5.0.4.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby22 ruby23 ruby24" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" +RUBY_FAKEGEM_TASK_DOC=doc + +inherit ruby-fakegem + +MY_P=elasticsearch-ruby-${PV} +DESCRIPTION="Ruby integrations for ES, elasticsearch-transport module" +HOMEPAGE="https://github.com/elastic/elasticsearch-ruby" +SRC_URI="https://github.com/elastic/elasticsearch-ruby/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + dev-ruby/faraday + dev-ruby/multi_json +" +ruby_add_bdepend " + doc? ( dev-ruby/yard ) + test? ( + dev-ruby/ansi + dev-ruby/mocha:1.0 + dev-ruby/pry + dev-ruby/shoulda-context + ) +" + +# Tests need additional modules (at least 'turn') packaged. Then someone +# should look into running them and so on. +RESTRICT="test" + +RUBY_S=${MY_P}/${PN} + +all_ruby_prepare() { + # fix to work without git + sed -i -e 's/git ls-files/find -type f/' *.gemspec || die + + # remove useless dependencies from Rakefile + sed -e '/bundler/d' \ + -e '/require.*cane/,/end/d' \ + -i Rakefile || die +} diff --git a/dev-ruby/elasticsearch-transport/metadata.xml b/dev-ruby/elasticsearch-transport/metadata.xml new file mode 100644 index 00000000000..0319eec4c8b --- /dev/null +++ b/dev-ruby/elasticsearch-transport/metadata.xml @@ -0,0 +1,8 @@ + + + + + mgorny@gentoo.org + Michał Górny + +