mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
testing/yazi: upgrade to 0.2.5
This commit is contained in:
parent
48217a5f09
commit
f333a25a72
@ -1,8 +1,8 @@
|
||||
# Contributor: Matthias Ahouansou <matthias@ahouansou.cz>
|
||||
# Maintainer: Matthias Ahouansou <matthias@ahouansou.cz>
|
||||
pkgname=yazi
|
||||
pkgver=0.2.4
|
||||
pkgrel=1
|
||||
pkgver=0.2.5
|
||||
pkgrel=0
|
||||
pkgdesc="Blazing fast terminal file manager written in Rust, based on async I/O"
|
||||
url="https://yazi-rs.github.io"
|
||||
arch="all"
|
||||
@ -12,7 +12,9 @@ makedepends="
|
||||
cargo-auditable
|
||||
lua5.4-dev
|
||||
"
|
||||
subpackages="$pkgname-doc
|
||||
subpackages="
|
||||
$pkgname-doc
|
||||
$pkgname-cli
|
||||
$pkgname-bash-completion
|
||||
$pkgname-fish-completion
|
||||
$pkgname-zsh-completion
|
||||
@ -29,11 +31,11 @@ prepare() {
|
||||
}
|
||||
|
||||
build() {
|
||||
YAZI_GEN_COMPLETIONS=true cargo auditable build --release --frozen
|
||||
YAZI_GEN_COMPLETIONS=true cargo auditable build --release --frozen --workspace --no-default-features
|
||||
}
|
||||
|
||||
check() {
|
||||
cargo test --frozen
|
||||
cargo test --frozen --workspace --no-default-features
|
||||
}
|
||||
|
||||
package() {
|
||||
@ -44,7 +46,14 @@ package() {
|
||||
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||
}
|
||||
|
||||
cli() {
|
||||
pkgdesc="$pkgdesc - CLI"
|
||||
depends="yazi=$pkgver-r$pkgrel"
|
||||
|
||||
install -Dm755 "$builddir"/target/release/ya "$subpkgdir"/usr/bin/ya
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
185d0b35489907fae68b41381fbbbdcdded7536d6084bbd897e0c49f19e2e999b7a98537a840adbf768995af793727ad6607f026df5de2263c6469c72eac5e5a yazi-0.2.4.tar.gz
|
||||
6aea3e201908144142ae2b8bf21c1c8bef8721ed876ca77749742a87d6d5ace0bb2266e016c2656d72a92cae13cb82d14b4683ed8393622c79b93966606e9bb2 system-lua.patch
|
||||
25228725f7ba9a769a3b699d86bd747d72363be132855bbcfd7ced4e31bd7d86a2efbcef83eb49439727c651a95eb95f000954175f1d6cdbd7b40fbeaa49c250 yazi-0.2.5.tar.gz
|
||||
5255ffc371017055f5cdf4ef5eee52bd5879fc647d84f39323a43244275e397f996267417c29eea70f7f15d18b456143a28a14e4973cf4832854d4fc20f692ae system-lua.patch
|
||||
"
|
||||
|
@ -1,40 +1,12 @@
|
||||
--- a/yazi-fm/Cargo.toml
|
||||
+++ b/yazi-fm/Cargo.toml
|
||||
@@ -23,7 +23,7 @@
|
||||
crossterm = { version = "^0", features = [ "event-stream" ] }
|
||||
fdlimit = "^0"
|
||||
futures = "^0"
|
||||
-mlua = { version = "^0", features = [ "lua54", "vendored" ] }
|
||||
+mlua = { version = "^0", features = [ "lua54" ] }
|
||||
ratatui = "^0"
|
||||
tokio = { version = "^1", features = [ "parking_lot" ] }
|
||||
unicode-width = "^0"
|
||||
--- a/yazi-plugin/Cargo.toml
|
||||
+++ b/yazi-plugin/Cargo.toml
|
||||
@@ -19,7 +19,7 @@
|
||||
crossterm = "^0"
|
||||
futures = "^0"
|
||||
md-5 = "^0"
|
||||
-mlua = { version = "^0", features = [ "lua54", "vendored", "serialize", "macros", "async" ] }
|
||||
+mlua = { version = "^0", features = [ "lua54", "serialize", "macros", "async" ] }
|
||||
parking_lot = "^0"
|
||||
ratatui = "^0"
|
||||
serde = "^1"
|
||||
--- a/yazi-proxy/Cargo.toml
|
||||
+++ b/yazi-proxy/Cargo.toml
|
||||
@@ -14,5 +14,5 @@
|
||||
|
||||
# External dependencies
|
||||
anyhow = "^1"
|
||||
-mlua = { version = "^0", features = [ "lua54", "vendored" ] }
|
||||
+mlua = { version = "^0", features = [ "lua54" ] }
|
||||
tokio = { version = "^1", features = [ "parking_lot" ] }
|
||||
+++ a/Cargo.lock
|
||||
--- b/Cargo.lock
|
||||
@@ -611,16 +611,6 @@
|
||||
diff --git a/Cargo.lock b/Cargo.lock
|
||||
index 64898c5..9a1ee8a 100644
|
||||
--- a/Cargo.lock
|
||||
+++ b/Cargo.lock
|
||||
@@ -608,16 +608,6 @@ dependencies = [
|
||||
"serde",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
-[[package]]
|
||||
-name = "errno"
|
||||
-version = "0.3.8"
|
||||
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
@ -44,14 +16,14 @@
|
||||
- "windows-sys 0.52.0",
|
||||
-]
|
||||
-
|
||||
-[[package]]
|
||||
[[package]]
|
||||
name = "error-code"
|
||||
version = "2.3.1"
|
||||
version = "3.2.0"
|
||||
@@ -902,15 +892,6 @@ version = "0.3.9"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
@@ -896,15 +886,6 @@
|
||||
checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024"
|
||||
|
||||
[[package]]
|
||||
-[[package]]
|
||||
-name = "home"
|
||||
-version = "0.5.9"
|
||||
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
@ -60,27 +32,27 @@
|
||||
- "windows-sys 0.52.0",
|
||||
-]
|
||||
-
|
||||
-[[package]]
|
||||
[[package]]
|
||||
name = "iana-time-zone"
|
||||
version = "0.1.60"
|
||||
@@ -1106,12 +1087,6 @@ version = "0.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
@@ -1104,12 +1085,6 @@
|
||||
]
|
||||
checksum = "dd1bc4d24ad230d21fb898d1116b1801d7adfc449d42026475862ab48b11e70e"
|
||||
|
||||
[[package]]
|
||||
-[[package]]
|
||||
-name = "linux-raw-sys"
|
||||
-version = "0.4.13"
|
||||
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
-checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c"
|
||||
-
|
||||
-[[package]]
|
||||
[[package]]
|
||||
name = "lock_api"
|
||||
version = "0.4.11"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
@@ -1135,25 +1110,6 @@
|
||||
@@ -1137,25 +1112,6 @@ dependencies = [
|
||||
"hashbrown",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
-[[package]]
|
||||
-name = "lua-src"
|
||||
-version = "546.0.2"
|
||||
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
@ -91,19 +63,18 @@
|
||||
-
|
||||
-[[package]]
|
||||
-name = "luajit-src"
|
||||
-version = "210.5.6+9cc2e42"
|
||||
-version = "210.5.7+d06beb0"
|
||||
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
-checksum = "23b365d859c9ffc187f48bb3e25ec80c3b40cf3f68f53544f4adeaee70554157"
|
||||
-checksum = "0d251fdacdabbf87704cf48ac1f8b1eb23d6e10855c3ee08e5beb25b4be2e9e4"
|
||||
-dependencies = [
|
||||
- "cc",
|
||||
- "which",
|
||||
-]
|
||||
-
|
||||
-[[package]]
|
||||
[[package]]
|
||||
name = "malloc_buf"
|
||||
version = "0.0.6"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
@@ -1232,8 +1188,6 @@
|
||||
@@ -1235,8 +1191,6 @@ checksum = "d16a9ba1dd2c6ac971b204262d434c24d65067038598f0638b64e5dca28d52b8"
|
||||
dependencies = [
|
||||
"cc",
|
||||
"cfg-if",
|
||||
@ -112,43 +83,105 @@
|
||||
"pkg-config",
|
||||
]
|
||||
|
||||
@@ -1651,19 +1605,6 @@
|
||||
@@ -1653,19 +1607,6 @@ version = "1.1.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
|
||||
|
||||
[[package]]
|
||||
-[[package]]
|
||||
-name = "rustix"
|
||||
-version = "0.38.31"
|
||||
-version = "0.38.34"
|
||||
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
-checksum = "6ea3e1a662af26cd7a3ba09c0297a31af215563ecf42817c98df621387f4e949"
|
||||
-checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f"
|
||||
-dependencies = [
|
||||
- "bitflags 2.4.2",
|
||||
- "bitflags 2.5.0",
|
||||
- "errno",
|
||||
- "libc",
|
||||
- "linux-raw-sys",
|
||||
- "windows-sys 0.52.0",
|
||||
-]
|
||||
-
|
||||
-[[package]]
|
||||
[[package]]
|
||||
name = "rustversion"
|
||||
version = "1.0.14"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
@@ -2426,19 +2367,6 @@
|
||||
version = "0.1.8"
|
||||
version = "1.0.15"
|
||||
@@ -2418,18 +2359,6 @@ version = "0.1.8"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "53a85b86a771b1c87058196170769dd264f66c0782acf1ae6cc51bfd64b39082"
|
||||
-
|
||||
|
||||
-[[package]]
|
||||
-name = "which"
|
||||
-version = "6.0.0"
|
||||
-version = "6.0.1"
|
||||
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
-checksum = "7fa5e0c10bf77f44aac573e498d1a82d5fbd5e91f6fc0a99e7be4b38e85e101c"
|
||||
-checksum = "8211e4f58a2b2805adfbefbc07bab82958fc91e3836339b1ab7ae32465dce0d7"
|
||||
-dependencies = [
|
||||
- "either",
|
||||
- "home",
|
||||
- "once_cell",
|
||||
- "rustix",
|
||||
- "windows-sys 0.52.0",
|
||||
- "winsafe",
|
||||
-]
|
||||
|
||||
-
|
||||
[[package]]
|
||||
name = "winapi"
|
||||
version = "0.3.9"
|
||||
@@ -2684,12 +2613,6 @@ dependencies = [
|
||||
"memchr",
|
||||
]
|
||||
|
||||
-[[package]]
|
||||
-name = "winsafe"
|
||||
-version = "0.0.19"
|
||||
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
-checksum = "d135d17ab770252ad95e9a872d365cf3090e3be864a34ab46f48555993efc904"
|
||||
-
|
||||
[[package]]
|
||||
name = "yazi-adaptor"
|
||||
version = "0.2.5"
|
||||
diff --git a/yazi-dds/Cargo.toml b/yazi-dds/Cargo.toml
|
||||
index e502ecc..6658844 100644
|
||||
--- a/yazi-dds/Cargo.toml
|
||||
+++ b/yazi-dds/Cargo.toml
|
||||
@@ -14,7 +14,7 @@ yazi-shared = { path = "../yazi-shared", version = "0.2.5" }
|
||||
|
||||
# External dependencies
|
||||
anyhow = "1.0.82"
|
||||
-mlua = { version = "0.9.7", features = [ "lua54", "vendored" ] }
|
||||
+mlua = { version = "0.9.7", features = [ "lua54" ] }
|
||||
parking_lot = "0.12.1"
|
||||
serde = { version = "1.0.198", features = [ "derive" ] }
|
||||
serde_json = "1.0.116"
|
||||
diff --git a/yazi-fm/Cargo.toml b/yazi-fm/Cargo.toml
|
||||
index 07f3af9..7e69d6f 100644
|
||||
--- a/yazi-fm/Cargo.toml
|
||||
+++ b/yazi-fm/Cargo.toml
|
||||
@@ -24,7 +24,7 @@ better-panic = "0.3.0"
|
||||
crossterm = { version = "0.27.0", features = [ "event-stream" ] }
|
||||
fdlimit = "0.3.0"
|
||||
futures = "0.3.30"
|
||||
-mlua = { version = "0.9.7", features = [ "lua54", "vendored" ] }
|
||||
+mlua = { version = "0.9.7", features = [ "lua54" ] }
|
||||
ratatui = "=0.26.1"
|
||||
scopeguard = "1.2.0"
|
||||
syntect = { version = "5.2.0", default-features = false, features = [ "parsing", "plist-load", "regex-onig" ] }
|
||||
diff --git a/yazi-plugin/Cargo.toml b/yazi-plugin/Cargo.toml
|
||||
index 2e0a299..22f22da 100644
|
||||
--- a/yazi-plugin/Cargo.toml
|
||||
+++ b/yazi-plugin/Cargo.toml
|
||||
@@ -21,7 +21,7 @@ ansi-to-tui = "3.1.0"
|
||||
anyhow = "1.0.82"
|
||||
futures = "0.3.30"
|
||||
md-5 = "0.10.6"
|
||||
-mlua = { version = "0.9.7", features = [ "lua54", "vendored", "serialize", "macros", "async" ] }
|
||||
+mlua = { version = "0.9.7", features = [ "lua54", "serialize", "macros", "async" ] }
|
||||
parking_lot = "0.12.1"
|
||||
ratatui = "=0.26.1"
|
||||
serde = "1.0.198"
|
||||
diff --git a/yazi-proxy/Cargo.toml b/yazi-proxy/Cargo.toml
|
||||
index c65553a..85cb219 100644
|
||||
--- a/yazi-proxy/Cargo.toml
|
||||
+++ b/yazi-proxy/Cargo.toml
|
||||
@@ -14,5 +14,5 @@ yazi-shared = { path = "../yazi-shared", version = "0.2.5" }
|
||||
|
||||
# External dependencies
|
||||
anyhow = "1.0.82"
|
||||
-mlua = { version = "0.9.7", features = [ "lua54", "vendored" ] }
|
||||
+mlua = { version = "0.9.7", features = [ "lua54" ] }
|
||||
tokio = { version = "1.37.0", features = [ "full" ] }
|
||||
|
Loading…
Reference in New Issue
Block a user