Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] taplo: update to 0.8.1
@ 2023-07-10 20:30 cinerea0
  2023-07-15  1:46 ` [PR PATCH] [Updated] " cinerea0
  2023-07-15  5:55 ` [PR PATCH] [Merged]: " classabbyamp
  0 siblings, 2 replies; 3+ messages in thread
From: cinerea0 @ 2023-07-10 20:30 UTC (permalink / raw)
  To: ml

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

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

https://github.com/cinerea0/void-packages taplo
https://github.com/void-linux/void-packages/pull/44974

taplo: update to 0.8.1
#### Testing the changes
- I tested the changes in this PR: **YES**


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

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

From 261f1aa486e6319be842a995f9c170493d10877d Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Mon, 10 Jul 2023 16:29:18 -0400
Subject: [PATCH] taplo: update to 0.8.1

---
 .../0001-handle-lsp-shutdown-request.patch    | 26 -------------------
 srcpkgs/taplo/template                        | 10 +++----
 2 files changed, 5 insertions(+), 31 deletions(-)
 delete mode 100644 srcpkgs/taplo/patches/0001-handle-lsp-shutdown-request.patch

diff --git a/srcpkgs/taplo/patches/0001-handle-lsp-shutdown-request.patch b/srcpkgs/taplo/patches/0001-handle-lsp-shutdown-request.patch
deleted file mode 100644
index 9abf3fd25eaa..000000000000
--- a/srcpkgs/taplo/patches/0001-handle-lsp-shutdown-request.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From https://github.com/tamasfe/taplo/pull/354
-From: Michael Davis <mcarsondavis@gmail.com>
-Date: Sun, 20 Nov 2022 12:25:43 -0600
-Subject: [PATCH] Handle LSP shutdown request
-
-These lines in the Server loop discard any messages with the shutdown
-method. The Server can handle and correctly respond to shutdown
-requests, though, so there's no need to discard the message.
----
- crates/lsp-async-stub/src/listen.rs | 2 --
- 1 file changed, 2 deletions(-)
-
-diff --git a/crates/lsp-async-stub/src/listen.rs b/crates/lsp-async-stub/src/listen.rs
-index fca0a2980..b6b00f5fd 100644
---- a/crates/lsp-async-stub/src/listen.rs
-+++ b/crates/lsp-async-stub/src/listen.rs
-@@ -64,8 +64,6 @@ impl<W: Clone + 'static> Server<W> {
-                                     drop(output);
-                                     drop(input);
-                                     break;
--                                } else if msg.method.as_ref().map(|m| m == "shutdown").unwrap_or(false) {
--                                    continue;
-                                 }
- 
-                                 let task_fut = self.handle_message(
-
diff --git a/srcpkgs/taplo/template b/srcpkgs/taplo/template
index 84e86a6c4c3e..2bc854f7d7eb 100644
--- a/srcpkgs/taplo/template
+++ b/srcpkgs/taplo/template
@@ -1,13 +1,13 @@
 # Template file for 'taplo'
 pkgname=taplo
-version=0.8.0
-revision=2
-build_wrksrc="crates/taplo-cli"
+version=0.8.1
+revision=1
 build_style=cargo
 # no-default-features: allows selecting custom feature set
 # lsp: builds TOML language server
 # native-tls: Enables linking against system SSL instead of rustls/ring
 configure_args="--no-default-features --features lsp,native-tls"
+make_install_args="--path crates/taplo-cli"
 hostmakedepends="pkg-config"
 makedepends="openssl-devel"
 short_desc="TOML toolkit written in Rust"
@@ -15,8 +15,8 @@ maintainer="cinerea0 <cinerea0@protonmail.com>"
 license="MIT"
 homepage="https://taplo.tamasfe.dev/"
 distfiles="https://github.com/tamasfe/taplo/archive/refs/tags/${version}.tar.gz"
-checksum=079fab82f48e4f71379f0d2e249b7bd402af8ddf84ea16b65ba2742811a8d951
+checksum=ec8dfdcfa33a6855803286413c0603140b21c06bc659ceab7e2ddc05baf1a8b3
 
 post_install() {
-	vlicense ../../LICENSE.md
+	vlicense LICENSE.md
 }

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

* Re: [PR PATCH] [Updated] taplo: update to 0.8.1
  2023-07-10 20:30 [PR PATCH] taplo: update to 0.8.1 cinerea0
@ 2023-07-15  1:46 ` cinerea0
  2023-07-15  5:55 ` [PR PATCH] [Merged]: " classabbyamp
  1 sibling, 0 replies; 3+ messages in thread
From: cinerea0 @ 2023-07-15  1:46 UTC (permalink / raw)
  To: ml

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

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

https://github.com/cinerea0/void-packages taplo
https://github.com/void-linux/void-packages/pull/44974

taplo: update to 0.8.1
#### Testing the changes
- I tested the changes in this PR: **YES**


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

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

From 47b77ec60d58ea8a6a53a96f4a720a4b91e24bee Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Fri, 14 Jul 2023 21:46:15 -0400
Subject: [PATCH] taplo: update to 0.8.1

---
 .../0001-handle-lsp-shutdown-request.patch    | 26 -------------------
 srcpkgs/taplo/patches/update-pprof.patch      | 14 ++++++++++
 srcpkgs/taplo/template                        | 14 ++++++----
 3 files changed, 23 insertions(+), 31 deletions(-)
 delete mode 100644 srcpkgs/taplo/patches/0001-handle-lsp-shutdown-request.patch
 create mode 100644 srcpkgs/taplo/patches/update-pprof.patch

diff --git a/srcpkgs/taplo/patches/0001-handle-lsp-shutdown-request.patch b/srcpkgs/taplo/patches/0001-handle-lsp-shutdown-request.patch
deleted file mode 100644
index 9abf3fd25eaa..000000000000
--- a/srcpkgs/taplo/patches/0001-handle-lsp-shutdown-request.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From https://github.com/tamasfe/taplo/pull/354
-From: Michael Davis <mcarsondavis@gmail.com>
-Date: Sun, 20 Nov 2022 12:25:43 -0600
-Subject: [PATCH] Handle LSP shutdown request
-
-These lines in the Server loop discard any messages with the shutdown
-method. The Server can handle and correctly respond to shutdown
-requests, though, so there's no need to discard the message.
----
- crates/lsp-async-stub/src/listen.rs | 2 --
- 1 file changed, 2 deletions(-)
-
-diff --git a/crates/lsp-async-stub/src/listen.rs b/crates/lsp-async-stub/src/listen.rs
-index fca0a2980..b6b00f5fd 100644
---- a/crates/lsp-async-stub/src/listen.rs
-+++ b/crates/lsp-async-stub/src/listen.rs
-@@ -64,8 +64,6 @@ impl<W: Clone + 'static> Server<W> {
-                                     drop(output);
-                                     drop(input);
-                                     break;
--                                } else if msg.method.as_ref().map(|m| m == "shutdown").unwrap_or(false) {
--                                    continue;
-                                 }
- 
-                                 let task_fut = self.handle_message(
-
diff --git a/srcpkgs/taplo/patches/update-pprof.patch b/srcpkgs/taplo/patches/update-pprof.patch
new file mode 100644
index 000000000000..f0abc5d6bb8a
--- /dev/null
+++ b/srcpkgs/taplo/patches/update-pprof.patch
@@ -0,0 +1,14 @@
+# old version does not have all features needed for checks on i686
+diff --git a/crates/taplo/Cargo.toml b/crates/taplo/Cargo.toml
+index 966ba1db30..7912352478 100644
+--- a/crates/taplo/Cargo.toml
++++ b/crates/taplo/Cargo.toml
+@@ -36,7 +36,7 @@ serde = { version = "1", features = ["derive"], optional = true }
+ assert-json-diff = "2"
+ criterion = "0.3"
+ difference = "2.0.0"
+-pprof = { version = "0.9.1", features = ["flamegraph", "criterion"] }
++pprof = { version = "0.12.0", features = ["flamegraph", "criterion"] }
+ serde_json = "1"
+ toml = "0.5"
+ 
diff --git a/srcpkgs/taplo/template b/srcpkgs/taplo/template
index 84e86a6c4c3e..1db177886e25 100644
--- a/srcpkgs/taplo/template
+++ b/srcpkgs/taplo/template
@@ -1,13 +1,13 @@
 # Template file for 'taplo'
 pkgname=taplo
-version=0.8.0
-revision=2
-build_wrksrc="crates/taplo-cli"
+version=0.8.1
+revision=1
 build_style=cargo
 # no-default-features: allows selecting custom feature set
 # lsp: builds TOML language server
 # native-tls: Enables linking against system SSL instead of rustls/ring
 configure_args="--no-default-features --features lsp,native-tls"
+make_install_args="--path crates/taplo-cli"
 hostmakedepends="pkg-config"
 makedepends="openssl-devel"
 short_desc="TOML toolkit written in Rust"
@@ -15,8 +15,12 @@ maintainer="cinerea0 <cinerea0@protonmail.com>"
 license="MIT"
 homepage="https://taplo.tamasfe.dev/"
 distfiles="https://github.com/tamasfe/taplo/archive/refs/tags/${version}.tar.gz"
-checksum=079fab82f48e4f71379f0d2e249b7bd402af8ddf84ea16b65ba2742811a8d951
+checksum=ec8dfdcfa33a6855803286413c0603140b21c06bc659ceab7e2ddc05baf1a8b3
+
+post_patch() {
+	cargo update --package pprof@0.9.1 --precise 0.12.0
+}
 
 post_install() {
-	vlicense ../../LICENSE.md
+	vlicense LICENSE.md
 }

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

* Re: [PR PATCH] [Merged]: taplo: update to 0.8.1
  2023-07-10 20:30 [PR PATCH] taplo: update to 0.8.1 cinerea0
  2023-07-15  1:46 ` [PR PATCH] [Updated] " cinerea0
@ 2023-07-15  5:55 ` classabbyamp
  1 sibling, 0 replies; 3+ messages in thread
From: classabbyamp @ 2023-07-15  5:55 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

taplo: update to 0.8.1
https://github.com/void-linux/void-packages/pull/44974

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


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

end of thread, other threads:[~2023-07-15  5:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-10 20:30 [PR PATCH] taplo: update to 0.8.1 cinerea0
2023-07-15  1:46 ` [PR PATCH] [Updated] " cinerea0
2023-07-15  5:55 ` [PR PATCH] [Merged]: " classabbyamp

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).