* [gentoo-commits] repo/gentoo:master commit in: dev-ruby/elasticsearch-extensions/
@ 2021-07-23 11:58 Hans de Graaff
0 siblings, 0 replies; 2+ messages in thread
From: Hans de Graaff @ 2021-07-23 11:58 UTC (permalink / raw
To: gentoo-commits
commit: c2283320f6508b87e356a3d2d10c0303bdfd5c5b
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 23 11:32:06 2021 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Jul 23 11:58:48 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2283320
dev-ruby/elasticsearch-extensions: import of 0.0.33
New dependency for elasticsearch-api.
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
dev-ruby/elasticsearch-extensions/Manifest | 1 +
.../elasticsearch-extensions-0.0.33.ebuild | 52 ++++++++++++++++++++++
dev-ruby/elasticsearch-extensions/metadata.xml | 7 +++
3 files changed, 60 insertions(+)
diff --git a/dev-ruby/elasticsearch-extensions/Manifest b/dev-ruby/elasticsearch-extensions/Manifest
new file mode 100644
index 00000000000..1cd27dfa60c
--- /dev/null
+++ b/dev-ruby/elasticsearch-extensions/Manifest
@@ -0,0 +1 @@
+DIST elasticsearch-ruby-0.0.33.tar.gz 1305021 BLAKE2B 5fce0ba8276451863519aa14bccd619a9ed4ad68220928e2f04a1349aaaefeda1027d28d3b130ab593f5643cf8af82a4bd0aeb19f79a0c9c8419a89dd70ea8a9 SHA512 db39555d418ae06f4bbcb7dd5b2c71e9c5523fa434e5acc9d6761e3d90ed64d0f282ffa3720ee4a702aade00e20bdc33935ed462910178d4cc609296970cd325
diff --git a/dev-ruby/elasticsearch-extensions/elasticsearch-extensions-0.0.33.ebuild b/dev-ruby/elasticsearch-extensions/elasticsearch-extensions-0.0.33.ebuild
new file mode 100644
index 00000000000..b6b127aa4e8
--- /dev/null
+++ b/dev-ruby/elasticsearch-extensions/elasticsearch-extensions-0.0.33.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby26 ruby27"
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+RUBY_FAKEGEM_TASK_TEST="NOTURN=true test"
+
+inherit ruby-fakegem
+
+MY_P=elasticsearch-ruby-${PV}
+DESCRIPTION="Ruby integrations for ES, elasticsearch-extensions 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="$(ver_cut 1)"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend "
+ dev-ruby/ansi
+ dev-ruby/elasticsearch
+"
+ruby_add_bdepend "
+ doc? ( dev-ruby/yard )
+ test? (
+ dev-ruby/mocha:1.0
+ dev-ruby/pry
+ dev-ruby/rspec:3
+ dev-ruby/shoulda-context
+ dev-ruby/curb
+ dev-ruby/patron
+ )
+"
+
+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
+
+ sed -e '/reporters/I s:^:#:' \
+ -i test/test_helper.rb || die
+}
diff --git a/dev-ruby/elasticsearch-extensions/metadata.xml b/dev-ruby/elasticsearch-extensions/metadata.xml
new file mode 100644
index 00000000000..1fa2ebe487b
--- /dev/null
+++ b/dev-ruby/elasticsearch-extensions/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ruby/elasticsearch-extensions/
@ 2021-07-26 5:43 Hans de Graaff
0 siblings, 0 replies; 2+ messages in thread
From: Hans de Graaff @ 2021-07-26 5:43 UTC (permalink / raw
To: gentoo-commits
commit: 1edaaf50d0dc932b86f0e6f2b8edc8e2938df5e7
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 25 10:00:00 2021 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Jul 26 05:42:25 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1edaaf50
dev-ruby/elasticsearch-extensions: fix tests
Avoid dependency on yard.
Closes: https://bugs.gentoo.org/803509
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
dev-ruby/elasticsearch-extensions/elasticsearch-extensions-0.0.33.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/dev-ruby/elasticsearch-extensions/elasticsearch-extensions-0.0.33.ebuild b/dev-ruby/elasticsearch-extensions/elasticsearch-extensions-0.0.33.ebuild
index b6b127aa4e8..7c3b937f329 100644
--- a/dev-ruby/elasticsearch-extensions/elasticsearch-extensions-0.0.33.ebuild
+++ b/dev-ruby/elasticsearch-extensions/elasticsearch-extensions-0.0.33.ebuild
@@ -45,6 +45,7 @@ all_ruby_prepare() {
# remove useless dependencies from Rakefile
sed -e '/bundler/d' \
-e '/require.*cane/,/end/d' \
+ -e '/require.*yard/,/end/ s:^:#:' \
-i Rakefile || die
sed -e '/reporters/I s:^:#:' \
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-07-26 5:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-26 5:43 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/elasticsearch-extensions/ Hans de Graaff
-- strict thread matches above, loose matches on Subject: below --
2021-07-23 11:58 Hans de Graaff
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox