Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: eza-0.11.0, transition from exa
@ 2023-09-08 11:59 tranzystorek-io
  2023-09-13 12:23 ` [PR PATCH] [Updated] " tranzystorek-io
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: tranzystorek-io @ 2023-09-08 11:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1305 bytes --]

There is a new pull request by tranzystorek-io against master on the void-packages repository

https://github.com/tranzystorek-io/void-packages eza
https://github.com/void-linux/void-packages/pull/45972

New package: eza-0.11.0, transition from exa
- New package: eza-0.11.0
- exa: transition to eza

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/45972.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-eza-45972.patch --]
[-- Type: text/x-diff, Size: 8900 bytes --]

From 44ed4878e2404a703fc8f4af26e5bb60e5198fc3 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Fri, 8 Sep 2023 13:49:53 +0200
Subject: [PATCH 1/2] New package: eza-0.11.0

---
 srcpkgs/eza/patches/downgrade-git2.patch | 13 ++++++++++++
 srcpkgs/eza/template                     | 26 ++++++++++++++++++++++++
 2 files changed, 39 insertions(+)
 create mode 100644 srcpkgs/eza/patches/downgrade-git2.patch
 create mode 100644 srcpkgs/eza/template

diff --git a/srcpkgs/eza/patches/downgrade-git2.patch b/srcpkgs/eza/patches/downgrade-git2.patch
new file mode 100644
index 0000000000000..9f4eb5bee96aa
--- /dev/null
+++ b/srcpkgs/eza/patches/downgrade-git2.patch
@@ -0,0 +1,13 @@
+diff --git a/Cargo.toml b/Cargo.toml
+index e6c3e0e..39a34d0 100644
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -59,7 +59,7 @@ default-features = false
+ features = ["format"]
+ 
+ [dependencies.git2]
+-version = "0.18"
++version = "0.17"
+ optional = true
+ default-features = false
+ 
diff --git a/srcpkgs/eza/template b/srcpkgs/eza/template
new file mode 100644
index 0000000000000..f996aa4ca68fa
--- /dev/null
+++ b/srcpkgs/eza/template
@@ -0,0 +1,26 @@
+# Template file for 'eza'
+pkgname=eza
+version=0.11.0
+revision=1
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libgit2-devel"
+short_desc="Modern, maintained replacement for ls"
+maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
+license="MIT"
+homepage="https://github.com/eza-community/eza"
+changelog="https://raw.githubusercontent.com/eza-community/eza/main/CHANGELOG.md"
+distfiles="https://github.com/eza-community/eza/archive/refs/tags/v${version}.tar.gz"
+checksum=fdaaf450cfaaa41d6ea8ae12fbb8e41e955e255b1169022a7675ca29d7d621c0
+
+post_patch() {
+	cargo update --package git2@0.18.0 --precise 0.17.2
+}
+
+post_install() {
+	vcompletion completions/bash/eza bash
+	vcompletion completions/fish/eza.fish fish
+	vcompletion completions/zsh/_eza zsh
+
+	vlicense LICENCE
+}

From a11edb8b654fa67fc009957e96d5a20cecc956df Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Fri, 8 Sep 2023 13:53:36 +0200
Subject: [PATCH 2/2] exa: transition to eza

---
 srcpkgs/exa                                   |   1 +
 .../patches/0001-Update-lockfile-854.patch    | 129 ------------------
 srcpkgs/exa/template                          |  32 -----
 srcpkgs/eza/template                          |  10 ++
 4 files changed, 11 insertions(+), 161 deletions(-)
 create mode 120000 srcpkgs/exa
 delete mode 100644 srcpkgs/exa/patches/0001-Update-lockfile-854.patch
 delete mode 100644 srcpkgs/exa/template

diff --git a/srcpkgs/exa b/srcpkgs/exa
new file mode 120000
index 0000000000000..5144458cfc4aa
--- /dev/null
+++ b/srcpkgs/exa
@@ -0,0 +1 @@
+eza
\ No newline at end of file
diff --git a/srcpkgs/exa/patches/0001-Update-lockfile-854.patch b/srcpkgs/exa/patches/0001-Update-lockfile-854.patch
deleted file mode 100644
index 6b44fa814a490..0000000000000
--- a/srcpkgs/exa/patches/0001-Update-lockfile-854.patch
+++ /dev/null
@@ -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
-
diff --git a/srcpkgs/exa/template b/srcpkgs/exa/template
deleted file mode 100644
index 89bf6611d9fbc..0000000000000
--- a/srcpkgs/exa/template
+++ /dev/null
@@ -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
-}
diff --git a/srcpkgs/eza/template b/srcpkgs/eza/template
index f996aa4ca68fa..1cf13bfddedf5 100644
--- a/srcpkgs/eza/template
+++ b/srcpkgs/eza/template
@@ -23,4 +23,14 @@ post_install() {
 	vcompletion completions/zsh/_eza zsh
 
 	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
+	}
 }

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PR PATCH] [Updated] New package: eza-0.11.0, transition from exa
  2023-09-08 11:59 [PR PATCH] New package: eza-0.11.0, transition from exa tranzystorek-io
@ 2023-09-13 12:23 ` tranzystorek-io
  2023-09-16 13:51 ` tranzystorek-io
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: tranzystorek-io @ 2023-09-13 12:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1310 bytes --]

There is an updated pull request by tranzystorek-io against master on the void-packages repository

https://github.com/tranzystorek-io/void-packages eza
https://github.com/void-linux/void-packages/pull/45972

New package: eza-0.11.0, transition from exa
- New package: eza-0.11.0
- exa: transition to eza

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/45972.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-eza-45972.patch --]
[-- Type: text/x-diff, Size: 8900 bytes --]

From 50f5faa73bfb00cc9ef0d0388017624cd82fe760 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Fri, 8 Sep 2023 13:49:53 +0200
Subject: [PATCH 1/2] New package: eza-0.11.0

---
 srcpkgs/eza/patches/downgrade-git2.patch | 13 ++++++++++++
 srcpkgs/eza/template                     | 26 ++++++++++++++++++++++++
 2 files changed, 39 insertions(+)
 create mode 100644 srcpkgs/eza/patches/downgrade-git2.patch
 create mode 100644 srcpkgs/eza/template

diff --git a/srcpkgs/eza/patches/downgrade-git2.patch b/srcpkgs/eza/patches/downgrade-git2.patch
new file mode 100644
index 0000000000000..9f4eb5bee96aa
--- /dev/null
+++ b/srcpkgs/eza/patches/downgrade-git2.patch
@@ -0,0 +1,13 @@
+diff --git a/Cargo.toml b/Cargo.toml
+index e6c3e0e..39a34d0 100644
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -59,7 +59,7 @@ default-features = false
+ features = ["format"]
+ 
+ [dependencies.git2]
+-version = "0.18"
++version = "0.17"
+ optional = true
+ default-features = false
+ 
diff --git a/srcpkgs/eza/template b/srcpkgs/eza/template
new file mode 100644
index 0000000000000..f996aa4ca68fa
--- /dev/null
+++ b/srcpkgs/eza/template
@@ -0,0 +1,26 @@
+# Template file for 'eza'
+pkgname=eza
+version=0.11.0
+revision=1
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libgit2-devel"
+short_desc="Modern, maintained replacement for ls"
+maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
+license="MIT"
+homepage="https://github.com/eza-community/eza"
+changelog="https://raw.githubusercontent.com/eza-community/eza/main/CHANGELOG.md"
+distfiles="https://github.com/eza-community/eza/archive/refs/tags/v${version}.tar.gz"
+checksum=fdaaf450cfaaa41d6ea8ae12fbb8e41e955e255b1169022a7675ca29d7d621c0
+
+post_patch() {
+	cargo update --package git2@0.18.0 --precise 0.17.2
+}
+
+post_install() {
+	vcompletion completions/bash/eza bash
+	vcompletion completions/fish/eza.fish fish
+	vcompletion completions/zsh/_eza zsh
+
+	vlicense LICENCE
+}

From 61ce9ee34ae4a5e4866961b015491ed02c4f3e40 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Fri, 8 Sep 2023 13:53:36 +0200
Subject: [PATCH 2/2] exa: transition to eza

---
 srcpkgs/exa                                   |   1 +
 .../patches/0001-Update-lockfile-854.patch    | 129 ------------------
 srcpkgs/exa/template                          |  32 -----
 srcpkgs/eza/template                          |  10 ++
 4 files changed, 11 insertions(+), 161 deletions(-)
 create mode 120000 srcpkgs/exa
 delete mode 100644 srcpkgs/exa/patches/0001-Update-lockfile-854.patch
 delete mode 100644 srcpkgs/exa/template

diff --git a/srcpkgs/exa b/srcpkgs/exa
new file mode 120000
index 0000000000000..5144458cfc4aa
--- /dev/null
+++ b/srcpkgs/exa
@@ -0,0 +1 @@
+eza
\ No newline at end of file
diff --git a/srcpkgs/exa/patches/0001-Update-lockfile-854.patch b/srcpkgs/exa/patches/0001-Update-lockfile-854.patch
deleted file mode 100644
index 6b44fa814a490..0000000000000
--- a/srcpkgs/exa/patches/0001-Update-lockfile-854.patch
+++ /dev/null
@@ -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
-
diff --git a/srcpkgs/exa/template b/srcpkgs/exa/template
deleted file mode 100644
index 89bf6611d9fbc..0000000000000
--- a/srcpkgs/exa/template
+++ /dev/null
@@ -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
-}
diff --git a/srcpkgs/eza/template b/srcpkgs/eza/template
index f996aa4ca68fa..1cf13bfddedf5 100644
--- a/srcpkgs/eza/template
+++ b/srcpkgs/eza/template
@@ -23,4 +23,14 @@ post_install() {
 	vcompletion completions/zsh/_eza zsh
 
 	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
+	}
 }

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PR PATCH] [Updated] New package: eza-0.11.0, transition from exa
  2023-09-08 11:59 [PR PATCH] New package: eza-0.11.0, transition from exa tranzystorek-io
  2023-09-13 12:23 ` [PR PATCH] [Updated] " tranzystorek-io
@ 2023-09-16 13:51 ` tranzystorek-io
  2023-09-16 15:07 ` [PR REVIEW] New package: eza-0.12.0, " classabbyamp
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: tranzystorek-io @ 2023-09-16 13:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1325 bytes --]

There is an updated pull request by tranzystorek-io against master on the void-packages repository

https://github.com/tranzystorek-io/void-packages eza
https://github.com/void-linux/void-packages/pull/45972

New package: eza-0.11.0, transition from exa
- New package: eza-0.11.0
- exa: transition to eza

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

closes #45958

A patch file from https://github.com/void-linux/void-packages/pull/45972.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-eza-45972.patch --]
[-- Type: text/x-diff, Size: 8900 bytes --]

From d29c7bf5dd9f351abbdd842c4ceea01778f41dd7 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Fri, 8 Sep 2023 13:49:53 +0200
Subject: [PATCH 1/2] New package: eza-0.12.0

---
 srcpkgs/eza/patches/downgrade-git2.patch | 13 ++++++++++++
 srcpkgs/eza/template                     | 26 ++++++++++++++++++++++++
 2 files changed, 39 insertions(+)
 create mode 100644 srcpkgs/eza/patches/downgrade-git2.patch
 create mode 100644 srcpkgs/eza/template

diff --git a/srcpkgs/eza/patches/downgrade-git2.patch b/srcpkgs/eza/patches/downgrade-git2.patch
new file mode 100644
index 0000000000000..9f4eb5bee96aa
--- /dev/null
+++ b/srcpkgs/eza/patches/downgrade-git2.patch
@@ -0,0 +1,13 @@
+diff --git a/Cargo.toml b/Cargo.toml
+index e6c3e0e..39a34d0 100644
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -59,7 +59,7 @@ default-features = false
+ features = ["format"]
+ 
+ [dependencies.git2]
+-version = "0.18"
++version = "0.17"
+ optional = true
+ default-features = false
+ 
diff --git a/srcpkgs/eza/template b/srcpkgs/eza/template
new file mode 100644
index 0000000000000..9a94658f2022d
--- /dev/null
+++ b/srcpkgs/eza/template
@@ -0,0 +1,26 @@
+# Template file for 'eza'
+pkgname=eza
+version=0.12.0
+revision=1
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libgit2-devel"
+short_desc="Modern, maintained replacement for ls"
+maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
+license="MIT"
+homepage="https://github.com/eza-community/eza"
+changelog="https://raw.githubusercontent.com/eza-community/eza/main/CHANGELOG.md"
+distfiles="https://github.com/eza-community/eza/archive/refs/tags/v${version}.tar.gz"
+checksum=766e754c9f4632b92e4a773ac496dee8b6b83fdc9b8ed9514750058039fc5a83
+
+post_patch() {
+	cargo update --package git2@0.18.0 --precise 0.17.2
+}
+
+post_install() {
+	vcompletion completions/bash/eza bash
+	vcompletion completions/fish/eza.fish fish
+	vcompletion completions/zsh/_eza zsh
+
+	vlicense LICENCE
+}

From b98d62cc44d60b80ec605df898cf145fe1784f96 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Fri, 8 Sep 2023 13:53:36 +0200
Subject: [PATCH 2/2] exa: transition to eza

---
 srcpkgs/exa                                   |   1 +
 .../patches/0001-Update-lockfile-854.patch    | 129 ------------------
 srcpkgs/exa/template                          |  32 -----
 srcpkgs/eza/template                          |  10 ++
 4 files changed, 11 insertions(+), 161 deletions(-)
 create mode 120000 srcpkgs/exa
 delete mode 100644 srcpkgs/exa/patches/0001-Update-lockfile-854.patch
 delete mode 100644 srcpkgs/exa/template

diff --git a/srcpkgs/exa b/srcpkgs/exa
new file mode 120000
index 0000000000000..5144458cfc4aa
--- /dev/null
+++ b/srcpkgs/exa
@@ -0,0 +1 @@
+eza
\ No newline at end of file
diff --git a/srcpkgs/exa/patches/0001-Update-lockfile-854.patch b/srcpkgs/exa/patches/0001-Update-lockfile-854.patch
deleted file mode 100644
index 6b44fa814a490..0000000000000
--- a/srcpkgs/exa/patches/0001-Update-lockfile-854.patch
+++ /dev/null
@@ -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
-
diff --git a/srcpkgs/exa/template b/srcpkgs/exa/template
deleted file mode 100644
index 89bf6611d9fbc..0000000000000
--- a/srcpkgs/exa/template
+++ /dev/null
@@ -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
-}
diff --git a/srcpkgs/eza/template b/srcpkgs/eza/template
index 9a94658f2022d..32d8d01749595 100644
--- a/srcpkgs/eza/template
+++ b/srcpkgs/eza/template
@@ -23,4 +23,14 @@ post_install() {
 	vcompletion completions/zsh/_eza zsh
 
 	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
+	}
 }

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PR REVIEW] New package: eza-0.12.0, transition from exa
  2023-09-08 11:59 [PR PATCH] New package: eza-0.11.0, transition from exa tranzystorek-io
  2023-09-13 12:23 ` [PR PATCH] [Updated] " tranzystorek-io
  2023-09-16 13:51 ` tranzystorek-io
@ 2023-09-16 15:07 ` classabbyamp
  2023-09-16 15:13 ` [PR PATCH] [Updated] " tranzystorek-io
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: classabbyamp @ 2023-09-16 15:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 211 bytes --]

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/45972#discussion_r1327972271

Comment:
```suggestion
	depends="eza>=${version}_${revision}"
```

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PR PATCH] [Updated] New package: eza-0.12.0, transition from exa
  2023-09-08 11:59 [PR PATCH] New package: eza-0.11.0, transition from exa tranzystorek-io
                   ` (2 preceding siblings ...)
  2023-09-16 15:07 ` [PR REVIEW] New package: eza-0.12.0, " classabbyamp
@ 2023-09-16 15:13 ` tranzystorek-io
  2023-09-16 16:06 ` tranzystorek-io
  2023-09-17  1:16 ` [PR PATCH] [Merged]: " classabbyamp
  5 siblings, 0 replies; 7+ messages in thread
From: tranzystorek-io @ 2023-09-16 15:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1325 bytes --]

There is an updated pull request by tranzystorek-io against master on the void-packages repository

https://github.com/tranzystorek-io/void-packages eza
https://github.com/void-linux/void-packages/pull/45972

New package: eza-0.12.0, transition from exa
- New package: eza-0.11.0
- exa: transition to eza

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

closes #45958

A patch file from https://github.com/void-linux/void-packages/pull/45972.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-eza-45972.patch --]
[-- Type: text/x-diff, Size: 8901 bytes --]

From 7c241c5a80ccff4a9d95fcf28ea4a328061f849d Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Fri, 8 Sep 2023 13:49:53 +0200
Subject: [PATCH 1/2] New package: eza-0.12.0

---
 srcpkgs/eza/patches/downgrade-git2.patch | 13 ++++++++++++
 srcpkgs/eza/template                     | 26 ++++++++++++++++++++++++
 2 files changed, 39 insertions(+)
 create mode 100644 srcpkgs/eza/patches/downgrade-git2.patch
 create mode 100644 srcpkgs/eza/template

diff --git a/srcpkgs/eza/patches/downgrade-git2.patch b/srcpkgs/eza/patches/downgrade-git2.patch
new file mode 100644
index 0000000000000..9f4eb5bee96aa
--- /dev/null
+++ b/srcpkgs/eza/patches/downgrade-git2.patch
@@ -0,0 +1,13 @@
+diff --git a/Cargo.toml b/Cargo.toml
+index e6c3e0e..39a34d0 100644
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -59,7 +59,7 @@ default-features = false
+ features = ["format"]
+ 
+ [dependencies.git2]
+-version = "0.18"
++version = "0.17"
+ optional = true
+ default-features = false
+ 
diff --git a/srcpkgs/eza/template b/srcpkgs/eza/template
new file mode 100644
index 0000000000000..9a94658f2022d
--- /dev/null
+++ b/srcpkgs/eza/template
@@ -0,0 +1,26 @@
+# Template file for 'eza'
+pkgname=eza
+version=0.12.0
+revision=1
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libgit2-devel"
+short_desc="Modern, maintained replacement for ls"
+maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
+license="MIT"
+homepage="https://github.com/eza-community/eza"
+changelog="https://raw.githubusercontent.com/eza-community/eza/main/CHANGELOG.md"
+distfiles="https://github.com/eza-community/eza/archive/refs/tags/v${version}.tar.gz"
+checksum=766e754c9f4632b92e4a773ac496dee8b6b83fdc9b8ed9514750058039fc5a83
+
+post_patch() {
+	cargo update --package git2@0.18.0 --precise 0.17.2
+}
+
+post_install() {
+	vcompletion completions/bash/eza bash
+	vcompletion completions/fish/eza.fish fish
+	vcompletion completions/zsh/_eza zsh
+
+	vlicense LICENCE
+}

From 3c5f13b8776e61b8f84b035e2aa286a4c29cc297 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Fri, 8 Sep 2023 13:53:36 +0200
Subject: [PATCH 2/2] exa: transition to eza

---
 srcpkgs/exa                                   |   1 +
 .../patches/0001-Update-lockfile-854.patch    | 129 ------------------
 srcpkgs/exa/template                          |  32 -----
 srcpkgs/eza/template                          |  10 ++
 4 files changed, 11 insertions(+), 161 deletions(-)
 create mode 120000 srcpkgs/exa
 delete mode 100644 srcpkgs/exa/patches/0001-Update-lockfile-854.patch
 delete mode 100644 srcpkgs/exa/template

diff --git a/srcpkgs/exa b/srcpkgs/exa
new file mode 120000
index 0000000000000..5144458cfc4aa
--- /dev/null
+++ b/srcpkgs/exa
@@ -0,0 +1 @@
+eza
\ No newline at end of file
diff --git a/srcpkgs/exa/patches/0001-Update-lockfile-854.patch b/srcpkgs/exa/patches/0001-Update-lockfile-854.patch
deleted file mode 100644
index 6b44fa814a490..0000000000000
--- a/srcpkgs/exa/patches/0001-Update-lockfile-854.patch
+++ /dev/null
@@ -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
-
diff --git a/srcpkgs/exa/template b/srcpkgs/exa/template
deleted file mode 100644
index 89bf6611d9fbc..0000000000000
--- a/srcpkgs/exa/template
+++ /dev/null
@@ -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
-}
diff --git a/srcpkgs/eza/template b/srcpkgs/eza/template
index 9a94658f2022d..fe730808c0839 100644
--- a/srcpkgs/eza/template
+++ b/srcpkgs/eza/template
@@ -23,4 +23,14 @@ post_install() {
 	vcompletion completions/zsh/_eza zsh
 
 	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
+	}
 }

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PR PATCH] [Updated] New package: eza-0.12.0, transition from exa
  2023-09-08 11:59 [PR PATCH] New package: eza-0.11.0, transition from exa tranzystorek-io
                   ` (3 preceding siblings ...)
  2023-09-16 15:13 ` [PR PATCH] [Updated] " tranzystorek-io
@ 2023-09-16 16:06 ` tranzystorek-io
  2023-09-17  1:16 ` [PR PATCH] [Merged]: " classabbyamp
  5 siblings, 0 replies; 7+ messages in thread
From: tranzystorek-io @ 2023-09-16 16:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1325 bytes --]

There is an updated pull request by tranzystorek-io against master on the void-packages repository

https://github.com/tranzystorek-io/void-packages eza
https://github.com/void-linux/void-packages/pull/45972

New package: eza-0.12.0, transition from exa
- New package: eza-0.11.0
- exa: transition to eza

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

closes #45958

A patch file from https://github.com/void-linux/void-packages/pull/45972.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-eza-45972.patch --]
[-- Type: text/x-diff, Size: 9040 bytes --]

From cabd745b39d1f640d8dcdf3dcbd90ddd3a3cc3e0 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Fri, 8 Sep 2023 13:49:53 +0200
Subject: [PATCH 1/2] New package: eza-0.12.0

---
 srcpkgs/eza/patches/downgrade-git2.patch | 13 ++++++++++
 srcpkgs/eza/template                     | 31 ++++++++++++++++++++++++
 2 files changed, 44 insertions(+)
 create mode 100644 srcpkgs/eza/patches/downgrade-git2.patch
 create mode 100644 srcpkgs/eza/template

diff --git a/srcpkgs/eza/patches/downgrade-git2.patch b/srcpkgs/eza/patches/downgrade-git2.patch
new file mode 100644
index 0000000000000..9f4eb5bee96aa
--- /dev/null
+++ b/srcpkgs/eza/patches/downgrade-git2.patch
@@ -0,0 +1,13 @@
+diff --git a/Cargo.toml b/Cargo.toml
+index e6c3e0e..39a34d0 100644
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -59,7 +59,7 @@ default-features = false
+ features = ["format"]
+ 
+ [dependencies.git2]
+-version = "0.18"
++version = "0.17"
+ optional = true
+ default-features = false
+ 
diff --git a/srcpkgs/eza/template b/srcpkgs/eza/template
new file mode 100644
index 0000000000000..638c63de41f35
--- /dev/null
+++ b/srcpkgs/eza/template
@@ -0,0 +1,31 @@
+# Template file for 'eza'
+pkgname=eza
+version=0.12.0
+revision=1
+build_style=cargo
+hostmakedepends="pandoc pkg-config"
+makedepends="libgit2-devel"
+short_desc="Modern, maintained replacement for ls"
+maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
+license="MIT"
+homepage="https://github.com/eza-community/eza"
+changelog="https://raw.githubusercontent.com/eza-community/eza/main/CHANGELOG.md"
+distfiles="https://github.com/eza-community/eza/archive/refs/tags/v${version}.tar.gz"
+checksum=766e754c9f4632b92e4a773ac496dee8b6b83fdc9b8ed9514750058039fc5a83
+
+post_patch() {
+	cargo update --package git2@0.18.0 --precise 0.17.2
+}
+
+post_install() {
+	vcompletion completions/bash/eza bash
+	vcompletion completions/fish/eza.fish fish
+	vcompletion completions/zsh/_eza zsh
+
+	for manpage in eza.1 eza_colors.5 eza_colors-explanation.5; do
+		pandoc --standalone -f markdown -t man man/${manpage}.md > ${manpage}
+		vman ${manpage}
+	done
+
+	vlicense LICENCE
+}

From 7f70e38f411ca9de020f5eb4eefbac1503704316 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Fri, 8 Sep 2023 13:53:36 +0200
Subject: [PATCH 2/2] exa: transition to eza

---
 srcpkgs/exa                                   |   1 +
 .../patches/0001-Update-lockfile-854.patch    | 129 ------------------
 srcpkgs/exa/template                          |  32 -----
 srcpkgs/eza/template                          |  10 ++
 4 files changed, 11 insertions(+), 161 deletions(-)
 create mode 120000 srcpkgs/exa
 delete mode 100644 srcpkgs/exa/patches/0001-Update-lockfile-854.patch
 delete mode 100644 srcpkgs/exa/template

diff --git a/srcpkgs/exa b/srcpkgs/exa
new file mode 120000
index 0000000000000..5144458cfc4aa
--- /dev/null
+++ b/srcpkgs/exa
@@ -0,0 +1 @@
+eza
\ No newline at end of file
diff --git a/srcpkgs/exa/patches/0001-Update-lockfile-854.patch b/srcpkgs/exa/patches/0001-Update-lockfile-854.patch
deleted file mode 100644
index 6b44fa814a490..0000000000000
--- a/srcpkgs/exa/patches/0001-Update-lockfile-854.patch
+++ /dev/null
@@ -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
-
diff --git a/srcpkgs/exa/template b/srcpkgs/exa/template
deleted file mode 100644
index 89bf6611d9fbc..0000000000000
--- a/srcpkgs/exa/template
+++ /dev/null
@@ -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
-}
diff --git a/srcpkgs/eza/template b/srcpkgs/eza/template
index 638c63de41f35..dc1b3839c389b 100644
--- a/srcpkgs/eza/template
+++ b/srcpkgs/eza/template
@@ -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
+	}
 }

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PR PATCH] [Merged]: New package: eza-0.12.0, transition from exa
  2023-09-08 11:59 [PR PATCH] New package: eza-0.11.0, transition from exa tranzystorek-io
                   ` (4 preceding siblings ...)
  2023-09-16 16:06 ` tranzystorek-io
@ 2023-09-17  1:16 ` classabbyamp
  5 siblings, 0 replies; 7+ messages in thread
From: classabbyamp @ 2023-09-17  1:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1157 bytes --]

There's a merged pull request on the void-packages repository

New package: eza-0.12.0, transition from exa
https://github.com/void-linux/void-packages/pull/45972

Description:
- New package: eza-0.11.0
- exa: transition to eza

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

closes #45958

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-09-17  1:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-08 11:59 [PR PATCH] New package: eza-0.11.0, transition from exa tranzystorek-io
2023-09-13 12:23 ` [PR PATCH] [Updated] " tranzystorek-io
2023-09-16 13:51 ` tranzystorek-io
2023-09-16 15:07 ` [PR REVIEW] New package: eza-0.12.0, " classabbyamp
2023-09-16 15:13 ` [PR PATCH] [Updated] " tranzystorek-io
2023-09-16 16:06 ` tranzystorek-io
2023-09-17  1:16 ` [PR PATCH] [Merged]: " classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).