mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-15 05:37:01 +02:00
exa: transition to eza
This commit is contained in:
parent
de57303d1c
commit
27bcfc5447
4 changed files with 11 additions and 161 deletions
1
srcpkgs/exa
Symbolic link
1
srcpkgs/exa
Symbolic link
|
@ -0,0 +1 @@
|
|||
eza
|
|
@ -1,129 +0,0 @@
|
|||
From 90b97753adb630513d68be7e66410e2b149ea446 Mon Sep 17 00:00:00 2001
|
||||
From: Haren S <harens@macports.org>
|
||||
Date: Mon, 26 Apr 2021 22:37:32 +0100
|
||||
Subject: [PATCH] Update lockfile (#854)
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Update lockfile (exa now requires Rust 1.45.2 or higher)
|
||||
|
||||
Co-authored-by: Mélanie Chauvel <perso@hack-libre.org>
|
||||
---
|
||||
.travis.yml | 2 +-
|
||||
Cargo.lock | 22 +++++++++++-----------
|
||||
README.md | 6 +++---
|
||||
3 files changed, 15 insertions(+), 15 deletions(-)
|
||||
|
||||
diff --git a/.travis.yml b/.travis.yml
|
||||
index cc98081..1f08108 100644
|
||||
--- a/.travis.yml
|
||||
+++ b/.travis.yml
|
||||
@@ -1,6 +1,6 @@
|
||||
language: rust
|
||||
rust:
|
||||
- - 1.42.0
|
||||
+ - 1.45.2
|
||||
- stable
|
||||
- beta
|
||||
- nightly
|
||||
diff --git a/Cargo.lock b/Cargo.lock
|
||||
index df94188..6a0665d 100644
|
||||
--- a/Cargo.lock
|
||||
+++ b/Cargo.lock
|
||||
@@ -57,7 +57,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "exa"
|
||||
-version = "0.11.0-pre"
|
||||
+version = "0.10.1"
|
||||
dependencies = [
|
||||
"ansi_term",
|
||||
"datetime",
|
||||
@@ -90,9 +90,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "git2"
|
||||
-version = "0.13.17"
|
||||
+version = "0.13.18"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
-checksum = "1d250f5f82326884bd39c2853577e70a121775db76818ffa452ed1e80de12986"
|
||||
+checksum = "b483c6c2145421099df1b4efd50e0f6205479a072199460eff852fa15e5603c7"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"libc",
|
||||
@@ -119,9 +119,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "idna"
|
||||
-version = "0.2.2"
|
||||
+version = "0.2.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
-checksum = "89829a5d69c23d348314a7ac337fe39173b61149a9864deabd260983aed48c21"
|
||||
+checksum = "418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8"
|
||||
dependencies = [
|
||||
"matches",
|
||||
"unicode-bidi",
|
||||
@@ -130,9 +130,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "jobserver"
|
||||
-version = "0.1.21"
|
||||
+version = "0.1.22"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
-checksum = "5c71313ebb9439f74b00d9d2dcec36440beaf57a6aa0623068441dd7cd81a7f2"
|
||||
+checksum = "972f5ae5d1cb9c6ae417789196c803205313edde988685da5e3aae0827b9e7fd"
|
||||
dependencies = [
|
||||
"libc",
|
||||
]
|
||||
@@ -151,9 +151,9 @@ checksum = "9385f66bf6105b241aa65a61cb923ef20efc665cb9f9bb50ac2f0c4b7f378d41"
|
||||
|
||||
[[package]]
|
||||
name = "libgit2-sys"
|
||||
-version = "0.12.18+1.1.0"
|
||||
+version = "0.12.19+1.1.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
-checksum = "3da6a42da88fc37ee1ecda212ffa254c25713532980005d5f7c0b0fbe7e6e885"
|
||||
+checksum = "f322155d574c8b9ebe991a04f6908bb49e68a79463338d24a43d6274cb6443e6"
|
||||
dependencies = [
|
||||
"cc",
|
||||
"libc",
|
||||
@@ -357,9 +357,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "vcpkg"
|
||||
-version = "0.2.11"
|
||||
+version = "0.2.12"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
-checksum = "b00bca6106a5e23f3eee943593759b7fcddb00554332e856d990c893966879fb"
|
||||
+checksum = "cbdbff6266a24120518560b5dc983096efb98462e51d0d68169895b237be3e5d"
|
||||
|
||||
[[package]]
|
||||
name = "winapi"
|
||||
diff --git a/README.md b/README.md
|
||||
index 1939928..898394d 100644
|
||||
--- a/README.md
|
||||
+++ b/README.md
|
||||
@@ -201,8 +201,8 @@ To build without Git support, run `cargo install --no-default-features exa` is a
|
||||
<a id="development">
|
||||
<h1>Development
|
||||
|
||||
-<a href="https://blog.rust-lang.org/2020/03/12/Rust-1.42.html">
|
||||
- <img src="https://img.shields.io/badge/rustc-1.42+-lightgray.svg" alt="Rust 1.42+" />
|
||||
+<a href="https://blog.rust-lang.org/2020/08/03/Rust-1.45.2.html">
|
||||
+ <img src="https://img.shields.io/badge/rustc-1.45.2+-lightgray.svg" alt="Rust 1.45.2+" />
|
||||
</a>
|
||||
|
||||
<a href="https://github.com/ogham/exa/blob/master/LICENCE">
|
||||
@@ -211,7 +211,7 @@ To build without Git support, run `cargo install --no-default-features exa` is a
|
||||
</h1></a>
|
||||
|
||||
exa is written in [Rust](https://www.rust-lang.org/).
|
||||
-You will need rustc version 1.42.0 or higher.
|
||||
+You will need rustc version 1.45.2 or higher.
|
||||
The recommended way to install Rust for development is from the [official download page](https://www.rust-lang.org/tools/install), using rustup.
|
||||
|
||||
Once Rust is installed, you can compile exa with Cargo:
|
||||
--
|
||||
2.40.0
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
# Template file for 'exa'
|
||||
pkgname=exa
|
||||
version=0.10.1
|
||||
revision=4
|
||||
create_wrksrc=yes
|
||||
build_wrksrc="${pkgname}-${version}"
|
||||
build_style=cargo
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="libgit2-devel"
|
||||
short_desc="Modern replacement for ls"
|
||||
maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
|
||||
license="MIT"
|
||||
homepage="https://the.exa.website/"
|
||||
distfiles="https://github.com/ogham/exa/archive/refs/tags/v${version}.tar.gz
|
||||
https://github.com/ogham/exa/releases/download/v${version}/exa-accoutrements-v${version}.zip"
|
||||
checksum="ff0fa0bfc4edef8bdbbb3cabe6fdbd5481a71abbbcc2159f402dea515353ae7c
|
||||
531596a1ef2a757c7728087529528150e6eb52bb8224fe575aa00a5f1b762849"
|
||||
patch_args="-Np1 -d ${build_wrksrc}"
|
||||
|
||||
post_extract() {
|
||||
mkdir "${build_wrksrc}/accoutrements"
|
||||
mv man "${build_wrksrc}/accoutrements/"
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vcompletion completions/completions.bash bash
|
||||
vcompletion completions/completions.fish fish
|
||||
vcompletion completions/completions.zsh zsh
|
||||
vlicense LICENCE
|
||||
vman accoutrements/man/exa.1
|
||||
vman accoutrements/man/exa_colors.5
|
||||
}
|
|
@ -28,4 +28,14 @@ post_install() {
|
|||
done
|
||||
|
||||
vlicense LICENCE
|
||||
|
||||
ln -s eza ${DESTDIR}/usr/bin/exa
|
||||
}
|
||||
|
||||
exa_package() {
|
||||
depends="eza>=${version}_${revision}"
|
||||
short_desc+=" - transitional dummy package"
|
||||
pkg_install() {
|
||||
vmove usr/bin/exa
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue