summaryrefslogtreecommitdiff
path: root/dev-ruby/ruby-lsp/ruby-lsp-0.26.1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/ruby-lsp/ruby-lsp-0.26.1.ebuild')
-rw-r--r--dev-ruby/ruby-lsp/ruby-lsp-0.26.1.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/ruby-lsp/ruby-lsp-0.26.1.ebuild b/dev-ruby/ruby-lsp/ruby-lsp-0.26.1.ebuild
new file mode 100644
index 000000000000..267931b52069
--- /dev/null
+++ b/dev-ruby/ruby-lsp/ruby-lsp-0.26.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+RUBY_FAKEGEM_BINDIR="exe" # 'bin' contains only testing functions
+RUBY_FAKEGEM_EXTRAINSTALL="static_docs VERSION"
+USE_RUBY="ruby31 ruby32 ruby33 ruby34"
+inherit ruby-fakegem
+
+DESCRIPTION="An opinionated language server for Ruby"
+HOMEPAGE="https://shopify.github.io/ruby-lsp"
+SRC_URI="https://github.com/Shopify/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# TODO: if necessary create extra packages with test dependencies
+# currently tests would require many more gems/ebuilds
+RUBY_FAKEGEM_RECIPE_TEST="none"
+
+DEPEND+="
+ >=dev-ruby/prism-1.2 <dev-ruby/prism-2
+ >=dev-ruby/rbs-3 <dev-ruby/rbs-5
+ =dev-ruby/language_server-protocol-3.17*
+"
+
+each_fakegem_test() {
+ ewarn "Tests disabled due requiring ~10 extra gems to be installed, most of which do not have ebuilds"
+ default
+}