summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-07-29 09:27:48 +0200
committerHans de Graaff <graaff@gentoo.org>2022-07-29 09:59:00 +0200
commit902ccf460d210dcfb383dfa0a90f2c5685b1f3fd (patch)
treefb21cd988e32aa13b4a2740a3496d20a947ebb39 /dev-ruby/neovim-ruby-client
parentmedia-libs/openal: Stabilize 1.22.2 ppc64, #861800 (diff)
downloadgentoo-902ccf460d210dcfb383dfa0a90f2c5685b1f3fd.tar.gz
gentoo-902ccf460d210dcfb383dfa0a90f2c5685b1f3fd.tar.bz2
gentoo-902ccf460d210dcfb383dfa0a90f2c5685b1f3fd.zip
dev-ruby/neovim-ruby-client: add 0.9.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/neovim-ruby-client')
-rw-r--r--dev-ruby/neovim-ruby-client/Manifest1
-rw-r--r--dev-ruby/neovim-ruby-client/neovim-ruby-client-0.9.0.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/neovim-ruby-client/Manifest b/dev-ruby/neovim-ruby-client/Manifest
index 60f393e7a906..dd7432534f03 100644
--- a/dev-ruby/neovim-ruby-client/Manifest
+++ b/dev-ruby/neovim-ruby-client/Manifest
@@ -1 +1,2 @@
DIST neovim-0.8.1.gem 43520 BLAKE2B 0b7401c1dfb1675725dbf50c45626d88b1a5932ccd4836e8a33974b8e71e44bafa10bf1a43e51b7f42e2702facec776cbcef3093c5cf86e500a5e94be9486b08 SHA512 2d56cd56c0817491622f9a4beee4cdc9244e9fd6a4a6b78d69b51f160b1a24395730f153800279b7fdebc99d61c55e3b8944d4b16c1028cfbf5d8c95308d0f53
+DIST neovim-0.9.0.gem 45056 BLAKE2B a98f015c5bb6ddc137169aaa595d6930694e91864c9258e8c9b7bf82b37b6afc89135d1344c07a41b023d94a9e9cb8c850d1fb2f9291c39577a5e78ad449a700 SHA512 18cf3f5276ba69045b3892958acf051b78492f24e002cb167018222cc5b0139bd9dff1cb31105e594646fb52b8e7e6aca6cf653544f4c4314b11eba1c523fede
diff --git a/dev-ruby/neovim-ruby-client/neovim-ruby-client-0.9.0.ebuild b/dev-ruby/neovim-ruby-client/neovim-ruby-client-0.9.0.ebuild
new file mode 100644
index 000000000000..8bac82c5b68c
--- /dev/null
+++ b/dev-ruby/neovim-ruby-client/neovim-ruby-client-0.9.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30 ruby31"
+
+RUBY_FAKEGEM_NAME="neovim"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_BINDIR="exe"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Ruby bindings for Neovim"
+HOMEPAGE="https://github.com/alexgenco/neovim-ruby"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+
+RDEPEND+=" app-editors/neovim"
+DEPEND+=" test? ( app-editors/neovim )"
+
+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
+}