commit:     f1394f630ecd77c68571dec6ff8ffb9575e608e1
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 27 06:53:49 2019 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Jul 27 06:54:11 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1394f63

dev-ruby/neovim-ruby-client: add 0.8.1

Fixes: https://bugs.gentoo.org/639668
Fixes: https://bugs.gentoo.org/690730
Package-Manager: Portage-2.3.66, Repoman-2.3.16
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/neovim-ruby-client/Manifest               |  1 +
 .../neovim-ruby-client-0.8.1.ebuild                | 32 ++++++++++++++++++++++
 2 files changed, 33 insertions(+)

diff --git a/dev-ruby/neovim-ruby-client/Manifest 
b/dev-ruby/neovim-ruby-client/Manifest
index 17c3668031a..71c58d99dbd 100644
--- a/dev-ruby/neovim-ruby-client/Manifest
+++ b/dev-ruby/neovim-ruby-client/Manifest
@@ -1 +1,2 @@
 DIST neovim-0.7.1.gem 40960 BLAKE2B 
9f23c0f754c696b28679c839132c8fe4d9d7095249966187c1d378cd89b5468ae98349e7ef044a9ae3749443a0cb97206f1fed3617192afea31680a86b3124b7
 SHA512 
075de15135ab11f268211a2db90766d1de9e7581d945513c0fe2a1abb4f9dcba1f5814b62e91f2a615015eeb1dbd54ffa0f4edd0acd71ea635046963074ad32a
+DIST neovim-0.8.1.gem 43520 BLAKE2B 
0b7401c1dfb1675725dbf50c45626d88b1a5932ccd4836e8a33974b8e71e44bafa10bf1a43e51b7f42e2702facec776cbcef3093c5cf86e500a5e94be9486b08
 SHA512 
2d56cd56c0817491622f9a4beee4cdc9244e9fd6a4a6b78d69b51f160b1a24395730f153800279b7fdebc99d61c55e3b8944d4b16c1028cfbf5d8c95308d0f53

diff --git a/dev-ruby/neovim-ruby-client/neovim-ruby-client-0.8.1.ebuild 
b/dev-ruby/neovim-ruby-client/neovim-ruby-client-0.8.1.ebuild
new file mode 100644
index 00000000000..da03866f0f5
--- /dev/null
+++ b/dev-ruby/neovim-ruby-client/neovim-ruby-client-0.8.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_NAME="neovim"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Ruby bindings for Neovim"
+HOMEPAGE="https://github.com/alexgenco/neovim-ruby";
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+
+ruby_add_rdepend "
+       >=dev-ruby/msgpack-1.1:0
+       =dev-ruby/multi_json-1*
+"
+
+all_ruby_prepare() {
+       sed -i -e '/\(bundler\|pry\)/ s:^:#:' spec/helper.rb || die
+
+       # Avoid tests that result in a unix socket path that is too long
+       sed -i -e '/\(establishes an RPC connection\|sets appropriate client 
info\)/askip "socket path length"' spec/neovim_spec.rb || die
+}

Reply via email to