mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
lsd: update to 1.0.0
This commit is contained in:
parent
e1c82ed419
commit
97e6b1d710
2 changed files with 26 additions and 11 deletions
13
srcpkgs/lsd/patches/bump-git2.patch
Normal file
13
srcpkgs/lsd/patches/bump-git2.patch
Normal 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.*"
|
|
@ -1,31 +1,33 @@
|
||||||
# Template file for 'lsd'
|
# Template file for 'lsd'
|
||||||
pkgname=lsd
|
pkgname=lsd
|
||||||
version=0.23.1
|
version=1.0.0
|
||||||
revision=2
|
revision=1
|
||||||
build_style=cargo
|
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"
|
short_desc="Next gen ls command with lots of pretty colors and awesome icons"
|
||||||
maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
|
maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
|
||||||
license="Apache-2.0"
|
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"
|
changelog="https://raw.githubusercontent.com/Peltoche/lsd/master/CHANGELOG.md"
|
||||||
distfiles="https://github.com/Peltoche/lsd/archive/${version}.tar.gz"
|
distfiles="https://github.com/lsd-rs/lsd/archive/refs/tags/v${version}.tar.gz"
|
||||||
checksum=9698919689178cc095f39dcb6a8a41ce32d5a1283e6fe62755e9a861232c307d
|
checksum=ab34e9c85bc77cfa42b43bfb54414200433a37419f3b1947d0e8cfbb4b7a6325
|
||||||
conflicts="disputils"
|
conflicts="disputils"
|
||||||
|
|
||||||
# The 'cannot_access_subdir_exit_status' fails on CI
|
# 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)
|
# 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`)
|
# 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
|
if [ "$XBPS_BUILD_ENVIRONMENT" = "void-packages-ci" ]; then
|
||||||
make_check_args="--
|
make_check_args="-- --skip test_cannot_access_subdir_exit_status"
|
||||||
--skip test_cannot_access_subdir_exit_status
|
|
||||||
--skip test_symlink_arrow_from_args_none"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export SHELL_COMPLETIONS_DIR="${wrksrc}"
|
export SHELL_COMPLETIONS_DIR="${wrksrc}"
|
||||||
|
|
||||||
|
post_patch() {
|
||||||
|
cargo update --package git2@0.16.1 --precise 0.17.2
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vcompletion lsd.bash bash
|
vcompletion lsd.bash bash
|
||||||
vcompletion lsd.fish fish
|
vcompletion lsd.fish fish
|
||||||
|
|
Loading…
Add table
Reference in a new issue