lsd: update to 1.0.0

This commit is contained in:
Marcin Puc 2023-08-28 09:48:41 +02:00 committed by classabbyamp
parent e1c82ed419
commit 97e6b1d710
2 changed files with 26 additions and 11 deletions

View File

@ -0,0 +1,13 @@
diff --git a/Cargo.toml b/Cargo.toml
index 30fa892..460cf13 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -45,7 +45,7 @@ vsort = "0.1.0"
[target."cfg(not(all(windows, target_arch = \"x86\", target_env = \"gnu\")))".dependencies]
# if ssl feature is enabled compilation will fail on arm-unknown-linux-gnueabihf and i686-pc-windows-gnu
-git2 = { version = "0.16", optional = true, default-features = false }
+git2 = { version = "0.17", optional = true, default-features = false }
[target.'cfg(unix)'.dependencies]
users = "0.11.*"

View File

@ -1,31 +1,33 @@
# Template file for 'lsd'
pkgname=lsd
version=0.23.1
revision=2
version=1.0.0
revision=1
build_style=cargo
hostmakedepends="pkg-config"
makedepends="libgit2-devel"
checkdepends="git"
short_desc="Next gen ls command with lots of pretty colors and awesome icons"
maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
license="Apache-2.0"
homepage="https://github.com/Peltoche/lsd"
homepage="https://github.com/lsd-rs/lsd"
changelog="https://raw.githubusercontent.com/Peltoche/lsd/master/CHANGELOG.md"
distfiles="https://github.com/Peltoche/lsd/archive/${version}.tar.gz"
checksum=9698919689178cc095f39dcb6a8a41ce32d5a1283e6fe62755e9a861232c307d
distfiles="https://github.com/lsd-rs/lsd/archive/refs/tags/v${version}.tar.gz"
checksum=ab34e9c85bc77cfa42b43bfb54414200433a37419f3b1947d0e8cfbb4b7a6325
conflicts="disputils"
# The 'cannot_access_subdir_exit_status' fails on CI
# because the runner seems to allow setting the b dir in a/b/c to readonly (0400)
# and then navigating this structure recursively (like in `tree`)
#
# The other test needs to be skipped because it incorrectly intercepts the skip arguments
# and fails the whole test (see https://github.com/Peltoche/lsd/pull/744)
if [ "$XBPS_BUILD_ENVIRONMENT" = "void-packages-ci" ]; then
make_check_args="--
--skip test_cannot_access_subdir_exit_status
--skip test_symlink_arrow_from_args_none"
make_check_args="-- --skip test_cannot_access_subdir_exit_status"
fi
export SHELL_COMPLETIONS_DIR="${wrksrc}"
post_patch() {
cargo update --package git2@0.16.1 --precise 0.17.2
}
post_install() {
vcompletion lsd.bash bash
vcompletion lsd.fish fish