Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: elixir-ls-0.19.0
@ 2024-02-13 13:50 icp1994
  2024-02-21 18:52 ` [PR PATCH] [Updated] " icp1994
  0 siblings, 1 reply; 2+ messages in thread
From: icp1994 @ 2024-02-13 13:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 882 bytes --]

There is a new pull request by icp1994 against master on the void-packages repository

https://github.com/icp1994/void-packages elixir-ls
https://github.com/void-linux/void-packages/pull/48696

New package: elixir-ls-0.19.0
#### Description
The [Elixir Language Server](https://github.com/elixir-lsp/elixir-ls) provides a server that runs in the background, providing IDEs, editors, and other tools with information about Elixir Mix projects

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture: **x86_64**

A patch file from https://github.com/void-linux/void-packages/pull/48696.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-elixir-ls-48696.patch --]
[-- Type: text/x-diff, Size: 2366 bytes --]

From 13b2ff7e0482167ecb7924a1df23b29c406ab58a Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Tue, 13 Feb 2024 00:18:44 +0530
Subject: [PATCH] New package: elixir-ls-0.19.0

---
 srcpkgs/elixir-ls/files/elixir-ls     |  3 +++
 srcpkgs/elixir-ls/files/elixir-ls-dbg |  3 +++
 srcpkgs/elixir-ls/template            | 38 +++++++++++++++++++++++++++
 3 files changed, 44 insertions(+)
 create mode 100644 srcpkgs/elixir-ls/files/elixir-ls
 create mode 100644 srcpkgs/elixir-ls/files/elixir-ls-dbg
 create mode 100644 srcpkgs/elixir-ls/template

diff --git a/srcpkgs/elixir-ls/files/elixir-ls b/srcpkgs/elixir-ls/files/elixir-ls
new file mode 100644
index 0000000000000..c9c8adeb6f278
--- /dev/null
+++ b/srcpkgs/elixir-ls/files/elixir-ls
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec /usr/lib/elixir-ls/language_server.sh
diff --git a/srcpkgs/elixir-ls/files/elixir-ls-dbg b/srcpkgs/elixir-ls/files/elixir-ls-dbg
new file mode 100644
index 0000000000000..fe3d1dd47be70
--- /dev/null
+++ b/srcpkgs/elixir-ls/files/elixir-ls-dbg
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec /usr/lib/elixir-ls/debug_adapter.sh
diff --git a/srcpkgs/elixir-ls/template b/srcpkgs/elixir-ls/template
new file mode 100644
index 0000000000000..b6f5ac8f42091
--- /dev/null
+++ b/srcpkgs/elixir-ls/template
@@ -0,0 +1,38 @@
+# Template file for 'elixir-ls'
+pkgname=elixir-ls
+version=0.19.0
+revision=1
+hostmakedepends="elixir rebar3"
+depends="elixir"
+short_desc="Frontend-independent Language Server Protocol for Elixir"
+maintainer="icp <pangolin@vivaldi.net>"
+license="Apache-2.0"
+homepage="https://elixir-lsp.github.io/elixir-ls/"
+changelog="https://raw.githubusercontent.com/elixir-lsp/elixir-ls/master/CHANGELOG.md"
+distfiles="https://github.com/elixir-lsp/elixir-ls/archive/refs/tags/v${version}.tar.gz"
+checksum=f030df6f655044339004f1abf5d6aea8c35a2a4e4c8eb8b7e9657cdc3ed5b7e7
+
+do_build() {
+	export MIX_ENV=prod
+	export MIX_HOME="${wrksrc}/mix-cache"
+	export PATH="${PATH}:/usr/libexec/chroot-git"
+
+	mix local.hex --force
+	mix local.rebar --force rebar3 /usr/bin/rebar3
+
+	mix deps.get
+	mix compile
+}
+
+do_install() {
+	export MIX_ENV=prod
+	export PATH="${PATH}:/usr/libexec/chroot-git"
+
+	mix local.hex --force
+
+	vmkdir usr/lib/elixir-ls
+	mix elixir_ls.release2 -o "${DESTDIR}/usr/lib/elixir-ls"
+
+	vbin "${FILESDIR}/elixir-ls"
+	vbin "${FILESDIR}/elixir-ls-dbg"
+}

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Updated] New package: elixir-ls-0.19.0
  2024-02-13 13:50 [PR PATCH] New package: elixir-ls-0.19.0 icp1994
@ 2024-02-21 18:52 ` icp1994
  0 siblings, 0 replies; 2+ messages in thread
From: icp1994 @ 2024-02-21 18:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 887 bytes --]

There is an updated pull request by icp1994 against master on the void-packages repository

https://github.com/icp1994/void-packages elixir-ls
https://github.com/void-linux/void-packages/pull/48696

New package: elixir-ls-0.19.0
#### Description
The [Elixir Language Server](https://github.com/elixir-lsp/elixir-ls) provides a server that runs in the background, providing IDEs, editors, and other tools with information about Elixir Mix projects

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture: **x86_64**

A patch file from https://github.com/void-linux/void-packages/pull/48696.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-elixir-ls-48696.patch --]
[-- Type: text/x-diff, Size: 2366 bytes --]

From d5985b0800d05e48a2cac5c51dbd16e5b40be16c Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Tue, 13 Feb 2024 00:18:44 +0530
Subject: [PATCH] New package: elixir-ls-0.20.0

---
 srcpkgs/elixir-ls/files/elixir-ls     |  3 +++
 srcpkgs/elixir-ls/files/elixir-ls-dbg |  3 +++
 srcpkgs/elixir-ls/template            | 38 +++++++++++++++++++++++++++
 3 files changed, 44 insertions(+)
 create mode 100644 srcpkgs/elixir-ls/files/elixir-ls
 create mode 100644 srcpkgs/elixir-ls/files/elixir-ls-dbg
 create mode 100644 srcpkgs/elixir-ls/template

diff --git a/srcpkgs/elixir-ls/files/elixir-ls b/srcpkgs/elixir-ls/files/elixir-ls
new file mode 100644
index 0000000000000..c9c8adeb6f278
--- /dev/null
+++ b/srcpkgs/elixir-ls/files/elixir-ls
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec /usr/lib/elixir-ls/language_server.sh
diff --git a/srcpkgs/elixir-ls/files/elixir-ls-dbg b/srcpkgs/elixir-ls/files/elixir-ls-dbg
new file mode 100644
index 0000000000000..fe3d1dd47be70
--- /dev/null
+++ b/srcpkgs/elixir-ls/files/elixir-ls-dbg
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec /usr/lib/elixir-ls/debug_adapter.sh
diff --git a/srcpkgs/elixir-ls/template b/srcpkgs/elixir-ls/template
new file mode 100644
index 0000000000000..f6e7dc167401b
--- /dev/null
+++ b/srcpkgs/elixir-ls/template
@@ -0,0 +1,38 @@
+# Template file for 'elixir-ls'
+pkgname=elixir-ls
+version=0.20.0
+revision=1
+hostmakedepends="elixir rebar3"
+depends="elixir"
+short_desc="Frontend-independent Language Server Protocol for Elixir"
+maintainer="icp <pangolin@vivaldi.net>"
+license="Apache-2.0"
+homepage="https://elixir-lsp.github.io/elixir-ls/"
+changelog="https://raw.githubusercontent.com/elixir-lsp/elixir-ls/master/CHANGELOG.md"
+distfiles="https://github.com/elixir-lsp/elixir-ls/archive/refs/tags/v${version}.tar.gz"
+checksum=f03f1bb0eb28d60dc9aa2f4d5114018943573f344a0e4df076760aaeb246bd67
+
+do_build() {
+	export MIX_ENV=prod
+	export MIX_HOME="${wrksrc}/mix-cache"
+	export PATH="${PATH}:/usr/libexec/chroot-git"
+
+	mix local.hex --force
+	mix local.rebar --force rebar3 /usr/bin/rebar3
+
+	mix deps.get
+	mix compile
+}
+
+do_install() {
+	export MIX_ENV=prod
+	export PATH="${PATH}:/usr/libexec/chroot-git"
+
+	mix local.hex --force
+
+	vmkdir usr/lib/elixir-ls
+	mix elixir_ls.release2 -o "${DESTDIR}/usr/lib/elixir-ls"
+
+	vbin "${FILESDIR}/elixir-ls"
+	vbin "${FILESDIR}/elixir-ls-dbg"
+}

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-21 18:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-13 13:50 [PR PATCH] New package: elixir-ls-0.19.0 icp1994
2024-02-21 18:52 ` [PR PATCH] [Updated] " icp1994

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).