public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/elasticsearch/
Date: Sat, 14 Oct 2017 16:19:56 +0000 (UTC)	[thread overview]
Message-ID: <1507997990.64371d3174dc42d9292258b6d0b91c824a07880a.mgorny@gentoo> (raw)

commit:     64371d3174dc42d9292258b6d0b91c824a07880a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 14 15:58:17 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Oct 14 16:19:50 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64371d31

dev-ruby/elasticsearch: New package, needed by Infra

 dev-ruby/elasticsearch/Manifest                   |  1 +
 dev-ruby/elasticsearch/elasticsearch-5.0.4.ebuild | 51 +++++++++++++++++++++++
 dev-ruby/elasticsearch/metadata.xml               |  8 ++++
 3 files changed, 60 insertions(+)

diff --git a/dev-ruby/elasticsearch/Manifest b/dev-ruby/elasticsearch/Manifest
new file mode 100644
index 00000000000..e7da9559fbf
--- /dev/null
+++ b/dev-ruby/elasticsearch/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/elasticsearch-5.0.4.ebuild b/dev-ruby/elasticsearch/elasticsearch-5.0.4.ebuild
new file mode 100644
index 00000000000..71731bacc02
--- /dev/null
+++ b/dev-ruby/elasticsearch/elasticsearch-5.0.4.ebuild
@@ -0,0 +1,51 @@
+# 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 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/elasticsearch-api
+	dev-ruby/elasticsearch-transport
+"
+ruby_add_bdepend "
+	doc? ( dev-ruby/yard )
+	test? (
+		dev-ruby/ansi
+		dev-ruby/elasticsearch-transport
+		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/metadata.xml b/dev-ruby/elasticsearch/metadata.xml
new file mode 100644
index 00000000000..0319eec4c8b
--- /dev/null
+++ b/dev-ruby/elasticsearch/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>mgorny@gentoo.org</email>
+		<name>Michał Górny</name>
+	</maintainer>
+</pkgmetadata>


             reply	other threads:[~2017-10-14 16:19 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-14 16:19 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-05-27  6:42 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/elasticsearch/ Hans de Graaff
2018-08-01  6:07 Hans de Graaff
2019-04-11 18:29 Hans de Graaff
2019-04-15 15:31 Hans de Graaff
2019-05-04  6:50 Hans de Graaff
2019-05-15  5:33 Hans de Graaff
2019-05-25  6:22 Hans de Graaff
2019-06-08  8:00 Michał Górny
2019-06-30  7:23 Hans de Graaff
2019-11-16  9:36 Hans de Graaff
2020-01-31  8:46 Hans de Graaff
2020-05-02  5:18 Hans de Graaff
2020-05-23 18:49 Hans de Graaff
2021-07-23 11:58 Hans de Graaff
2021-07-23 11:58 Hans de Graaff
2021-07-23 11:58 Hans de Graaff
2021-07-27  6:30 Hans de Graaff
2022-05-08  7:28 Hans de Graaff
2023-03-29 13:04 Sam James
2023-04-15  7:25 Hans de Graaff
2023-07-08  6:04 Hans de Graaff
2023-07-08  6:04 Hans de Graaff
2023-07-14  4:42 Hans de Graaff
2023-07-15  6:00 Hans de Graaff
2023-07-31 17:35 Hans de Graaff
2023-09-13  4:56 Hans de Graaff
2023-09-29  6:14 Hans de Graaff
2023-12-17  9:36 Hans de Graaff
2024-03-17  6:01 Hans de Graaff
2024-04-24  5:44 Hans de Graaff
2024-05-06 12:26 Hans de Graaff
2024-05-25  9:17 Hans de Graaff
2024-06-09  9:20 Hans de Graaff
2024-07-06  5:29 Hans de Graaff
2024-07-06  5:29 Hans de Graaff
2024-09-01  6:24 Hans de Graaff
2024-11-15 10:32 Hans de Graaff
2024-11-15 10:32 Hans de Graaff
2024-11-16  8:21 Hans de Graaff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1507997990.64371d3174dc42d9292258b6d0b91c824a07880a.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox