mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 19:02:57 +02:00
taplo: update to 0.10.0
This commit is contained in:
parent
91480f4bca
commit
94b1bcb7b9
2 changed files with 13 additions and 23 deletions
|
@ -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.13.0", features = ["flamegraph", "criterion"] }
|
|
||||||
serde_json = "1"
|
|
||||||
toml = "0.5"
|
|
||||||
|
|
|
@ -1,13 +1,16 @@
|
||||||
# Template file for 'taplo'
|
# Template file for 'taplo'
|
||||||
pkgname=taplo
|
pkgname=taplo
|
||||||
version=0.9.3
|
version=0.10.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cargo
|
build_style=cargo
|
||||||
|
build_wrksrc="crates/taplo-cli"
|
||||||
|
build_helper="qemu"
|
||||||
# no-default-features: allows selecting custom feature set
|
# no-default-features: allows selecting custom feature set
|
||||||
|
# completions: enables completion script generation
|
||||||
|
# lint: adds a linter subcommand
|
||||||
# lsp: builds TOML language server
|
# lsp: builds TOML language server
|
||||||
# native-tls: Enables linking against system SSL instead of rustls/ring
|
# native-tls: Enables linking against system SSL instead of rustls/ring
|
||||||
configure_args="--no-default-features --features lsp,native-tls"
|
configure_args="--no-default-features --features completions,lint,lsp,native-tls"
|
||||||
make_install_args="--path crates/taplo-cli"
|
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="openssl-devel"
|
makedepends="openssl-devel"
|
||||||
short_desc="TOML toolkit written in Rust"
|
short_desc="TOML toolkit written in Rust"
|
||||||
|
@ -16,12 +19,13 @@ license="MIT"
|
||||||
homepage="https://taplo.tamasfe.dev/"
|
homepage="https://taplo.tamasfe.dev/"
|
||||||
changelog="https://raw.githubusercontent.com/tamasfe/taplo/master/crates/taplo-cli/CHANGELOG.md"
|
changelog="https://raw.githubusercontent.com/tamasfe/taplo/master/crates/taplo-cli/CHANGELOG.md"
|
||||||
distfiles="https://github.com/tamasfe/taplo/archive/refs/tags/release-taplo-cli-${version}.tar.gz"
|
distfiles="https://github.com/tamasfe/taplo/archive/refs/tags/release-taplo-cli-${version}.tar.gz"
|
||||||
checksum=5744a06a1e93128f5cb5409d5bf5e553915703ec0491df9f4c7ab31dbe430287
|
checksum=eaec8435bfb5ccd89f7b4dd09385b6be25c2ff00aa25417cb82c88a59d4ccde0
|
||||||
|
|
||||||
post_patch() {
|
|
||||||
cargo update --package pprof@0.9.1 --precise 0.13.0
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE.md
|
vlicense ../../LICENSE
|
||||||
|
|
||||||
|
for _shell in bash fish zsh; do
|
||||||
|
vtargetrun ${DESTDIR}/usr/bin/taplo completions ${_shell} > taplo.${_shell}
|
||||||
|
vcompletion taplo.${_shell} ${_shell}
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue