summaryrefslogtreecommitdiff
path: root/dev-ruby/elasticsearch-api
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-15 02:11:33 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-15 02:11:33 +0100
commit0fdd4074ff3dc0c507a9867380a4f91250a0b610 (patch)
tree83d3b64438d2f29b375d895f12b82d5c484db219 /dev-ruby/elasticsearch-api
parent8fbd420dce8836e6503b162092e07b6a77a89f1d (diff)
gentoo resync : 15.10.2017
Diffstat (limited to 'dev-ruby/elasticsearch-api')
-rw-r--r--dev-ruby/elasticsearch-api/Manifest3
-rw-r--r--dev-ruby/elasticsearch-api/elasticsearch-api-5.0.4.ebuild50
-rw-r--r--dev-ruby/elasticsearch-api/metadata.xml8
3 files changed, 61 insertions, 0 deletions
diff --git a/dev-ruby/elasticsearch-api/Manifest b/dev-ruby/elasticsearch-api/Manifest
new file mode 100644
index 000000000000..4960a81475e1
--- /dev/null
+++ b/dev-ruby/elasticsearch-api/Manifest
@@ -0,0 +1,3 @@
+DIST elasticsearch-ruby-5.0.4.tar.gz 213565 SHA256 61151bcee155c6baebace1fb5d4091dc715af53251dc32dbca7d6fb0c9f5ecac SHA512 aaa4b1a41de62128cc3cc3fe174fd7f95e6153f25f1640dbd0cde5858e77924e85bd78e2869968c498b3f2f007215504aaee322df954ae44b0a64dacc396d217 WHIRLPOOL ebe23cdee9fdb56bc1c05fa86ca8dc8667d1ef36f3cc7cbd556cd3186dbfa9a3cdd5160a3a7a5e7464d69e264136beb3d9280107904f9f7f519b65adb2a4ae2b
+EBUILD elasticsearch-api-5.0.4.ebuild 1140 SHA256 5ab215a35b7d9dc05ce2568306ce6778d87c648e2b214f65fd2685330b837297 SHA512 83145115ca1c7965b25174d97d9605b87a5fcf028bde18d19ad42758f6834f3a15071bd8edc92b81ba3f16f5a0c971cb6dfd6034e5ad94117048c8e03d3da645 WHIRLPOOL b527e481b8ad6fa1f2f5f525cf9a36e45f5b12313e5febb880504e24ef45a5c0a57f8065ff0d9de5034625eacd766d248e7d3d7aa24162ab85d34a8a446fc5fd
+MISC metadata.xml 247 SHA256 34d6ed4186bad4ac57e0b4c08b657b14e28852a83c4ccf4d8a62f7829063b1cf SHA512 d6e2ea8a9d74791bcbf3d6311a66bafc20b8f4db3a576d9a8d54b86d7afb231122b8d87f71f3f46360980adf8d815c633b6d5041f9a30fc8656e8fb66057a282 WHIRLPOOL fbd18b3e6e3d777e8d78e91b8d32c5e357fd2a1c754d2c9add4622be682521e59556f466cba397d913f0e63265202744ceaf76dc7823be0a172a9bf4da6a2579
diff --git a/dev-ruby/elasticsearch-api/elasticsearch-api-5.0.4.ebuild b/dev-ruby/elasticsearch-api/elasticsearch-api-5.0.4.ebuild
new file mode 100644
index 000000000000..d13733c73e3b
--- /dev/null
+++ b/dev-ruby/elasticsearch-api/elasticsearch-api-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-api 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/multi_json
+"
+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-api/metadata.xml b/dev-ruby/elasticsearch-api/metadata.xml
new file mode 100644
index 000000000000..0319eec4c8be
--- /dev/null
+++ b/dev-ruby/elasticsearch-api/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>