public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-ruby/language_server-protocol/
@ 2025-03-04 16:37 Bryce
  0 siblings, 0 replies; only message in thread
From: Bryce @ 2025-03-04 16:37 UTC (permalink / raw
  To: gentoo-commits

commit:     6190eff1b3afdeddf1556d4fdb34a04f408e2a35
Author:     Bryce Copeland <truffle074 <AT> gmail <DOT> com>
AuthorDate: Tue Mar  4 16:35:47 2025 +0000
Commit:     Bryce <truffle074 <AT> gmail <DOT> com>
CommitDate: Tue Mar  4 16:36:31 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6190eff1

dev-ruby/language_server-protocol: new package, add 3.17.0.4

Signed-off-by: Bryce Copeland <truffle074 <AT> gmail.com>

 dev-ruby/language_server-protocol/Manifest         |  1 +
 .../language_server-protocol-3.17.0.4.ebuild       | 36 ++++++++++++++++++++++
 dev-ruby/language_server-protocol/metadata.xml     | 12 ++++++++
 3 files changed, 49 insertions(+)

diff --git a/dev-ruby/language_server-protocol/Manifest b/dev-ruby/language_server-protocol/Manifest
new file mode 100644
index 000000000..972b8542f
--- /dev/null
+++ b/dev-ruby/language_server-protocol/Manifest
@@ -0,0 +1 @@
+DIST language_server-protocol-3.17.0.4.tar.gz 122751 BLAKE2B 4ace1b2ce6b796c5140796cacf1b50fde6db84cbb912e575fd0b3c361131a571e2519c2ab4dac97683f3a2d30f4b230ba5e3268fc438b0759caa698ffb508ca8 SHA512 a034ee40e61c128c36f9f9d1c8a26ecfe381db64c8abe26eb58a690f9560f4232cc269c6d17922d9d3c954449a8a294cd1b491dc2740d13a8b1193993db57076

diff --git a/dev-ruby/language_server-protocol/language_server-protocol-3.17.0.4.ebuild b/dev-ruby/language_server-protocol/language_server-protocol-3.17.0.4.ebuild
new file mode 100644
index 000000000..8ef539a4a
--- /dev/null
+++ b/dev-ruby/language_server-protocol/language_server-protocol-3.17.0.4.ebuild
@@ -0,0 +1,36 @@
+# 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" # this directory doesn't actually exist, but reflects the spec
+USE_RUBY="ruby31 ruby32 ruby33 ruby34"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Language Server SDK Gem for Ruby"
+HOMEPAGE="https://github.com/mtsmfm/language_server-protocol-ruby"
+SRC_URI="https://github.com/mtsmfm/${PN}-ruby/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+all_ruby_unpack() {
+	default
+
+	# git repo is titled "language_server-protocol-ruby" by default
+	# change to match package name to make eclass happy
+	mv "${PN}-ruby-${PV}" "${P}"
+}
+
+each_fakegem_configure() {
+	# by default these lines contain code that runs unnecessary shell commands or
+	# searches that don't make sense with the ebuild directory structure.
+	# values are set independently by the eclass anyways, so can be removed
+	sed -i '/^spec.files*/d' "${PN}.gemspec" || die
+	sed -i '/^spec.executables*/d' "${PN}.gemspec" || die
+
+	default
+}

diff --git a/dev-ruby/language_server-protocol/metadata.xml b/dev-ruby/language_server-protocol/metadata.xml
new file mode 100644
index 000000000..4f1dd76f1
--- /dev/null
+++ b/dev-ruby/language_server-protocol/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>truffle074@gmail.com</email>
+		<name>Bryce Copeland</name>
+	</maintainer>
+	<upstream>
+		<bugs-to>https://github.com/mtsmfm/language_server-protocol-ruby/issues</bugs-to>
+		<remote-id type="github">mtsmfm/language_server-protocol-ruby</remote-id>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2025-03-04 16:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-04 16:37 [gentoo-commits] repo/proj/guru:dev commit in: dev-ruby/language_server-protocol/ Bryce

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox