From 1baa805b0bc9171165fd753348b872811b98a27e Mon Sep 17 00:00:00 2001 From: cinerea0 Date: Thu, 1 Feb 2024 21:26:53 -0500 Subject: [PATCH] taplo: update to 0.9.0 --- srcpkgs/taplo/patches/update-pprof.patch | 14 -------------- srcpkgs/taplo/template | 13 +++++-------- 2 files changed, 5 insertions(+), 22 deletions(-) delete mode 100644 srcpkgs/taplo/patches/update-pprof.patch diff --git a/srcpkgs/taplo/patches/update-pprof.patch b/srcpkgs/taplo/patches/update-pprof.patch deleted file mode 100644 index f0abc5d6bb8ab..0000000000000 --- a/srcpkgs/taplo/patches/update-pprof.patch +++ /dev/null @@ -1,14 +0,0 @@ -# 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 ac172dc0367ff..6cafa40b355af 100644 --- a/srcpkgs/taplo/template +++ b/srcpkgs/taplo/template @@ -1,7 +1,7 @@ # Template file for 'taplo' pkgname=taplo -version=0.8.1 -revision=2 +version=0.9.0 +revision=1 build_style=cargo # no-default-features: allows selecting custom feature set # lsp: builds TOML language server @@ -14,12 +14,9 @@ short_desc="TOML toolkit written in Rust" maintainer="cinerea0 " license="MIT" homepage="https://taplo.tamasfe.dev/" -distfiles="https://github.com/tamasfe/taplo/archive/refs/tags/${version}.tar.gz" -checksum=ec8dfdcfa33a6855803286413c0603140b21c06bc659ceab7e2ddc05baf1a8b3 - -post_patch() { - cargo update --package pprof@0.9.1 --precise 0.12.0 -} +changelog="https://github.com/tamasfe/taplo/releases" +distfiles="https://github.com/tamasfe/taplo/archive/refs/tags/release-taplo-cli-${version}.tar.gz" +checksum=7d292f52c2d97d9e9c447a725d6d4e59096fce10e2f72ec6b80387034c20ba35 post_install() { vlicense LICENSE.md