summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-09-15 16:20:00 +0200
committerHans de Graaff <graaff@gentoo.org>2023-09-15 16:56:31 +0200
commit82dbb28c17d73e49d219d399c386e9d2b389649c (patch)
tree4aa83b04a96d1e97f3f2fae63a8721edd040fa02 /dev-ruby/neovim-ruby-client
parentdev-ruby/barby: fix minitest deprecation (diff)
downloadgentoo-82dbb28c17d73e49d219d399c386e9d2b389649c.tar.gz
gentoo-82dbb28c17d73e49d219d399c386e9d2b389649c.tar.bz2
gentoo-82dbb28c17d73e49d219d399c386e9d2b389649c.zip
dev-ruby/neovim-ruby-client: add 0.9.1
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.1.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/neovim-ruby-client/Manifest b/dev-ruby/neovim-ruby-client/Manifest
index 41fad70621ca..fa2b07eb378c 100644
--- a/dev-ruby/neovim-ruby-client/Manifest
+++ b/dev-ruby/neovim-ruby-client/Manifest
@@ -1 +1,2 @@
DIST neovim-0.9.0.gem 45056 BLAKE2B a98f015c5bb6ddc137169aaa595d6930694e91864c9258e8c9b7bf82b37b6afc89135d1344c07a41b023d94a9e9cb8c850d1fb2f9291c39577a5e78ad449a700 SHA512 18cf3f5276ba69045b3892958acf051b78492f24e002cb167018222cc5b0139bd9dff1cb31105e594646fb52b8e7e6aca6cf653544f4c4314b11eba1c523fede
+DIST neovim-0.9.1.gem 45568 BLAKE2B 1d04ebae7ac708ed8d170ae0652e6b2d5e008efe82c4239479fefac10a23ce3f258d0b501ab72c529c158ad5129324259037804554dd7de26998c1dfbfe9d187 SHA512 93ad413b745ff337036cfe82581575f2f3392212b020323545c8bbd63ecf0d4bb119316a3adce036b4e7d1a5b563501c27934b9eb32b854088920a511115d66d
diff --git a/dev-ruby/neovim-ruby-client/neovim-ruby-client-0.9.1.ebuild b/dev-ruby/neovim-ruby-client/neovim-ruby-client-0.9.1.ebuild
new file mode 100644
index 000000000000..c2e80576a5c7
--- /dev/null
+++ b/dev-ruby/neovim-ruby-client/neovim-ruby-client-0.9.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32"
+
+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/neovim/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 -e '/\(establishes an RPC connection\|sets appropriate client info\)/askip "socket path length"' \
+ -i spec/neovim_spec.rb || die
+}