7 Commits

Author SHA1 Message Date
Thomas Petazzoni e0beecec56 package: update cargo suffix to -cargo4 and fix hashes
Following the "support/download: replace deprecated .cargo/config"
change, the hashes of all Cargo-fetched packages need to be
updated. This commit therefore changes the suffix of Cargo packages
from -cargo3 to -cargo4, and updates all hashes.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>
2025-05-16 20:00:37 +02:00
El Mehdi YOUNES 3615b2cd04 package: update all hashes after cargo3 switch
This updates all SHA256 hashes for Rust packages that previously used
cargo2.tar.gz archives, following the switch to cargo3 naming in my last
patch.

Signed-off-by: El Mehdi YOUNES <elmehdi.younes@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-05-16 13:26:33 +02:00
Julien Olivain 9021b261c6 package/hyperfine: bump version to 1.19.0
Changelog:
https://github.com/sharkdp/hyperfine/blob/v1.19.0/CHANGELOG.md

Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-04-21 16:26:11 +02:00
Thomas Petazzoni 1dace793ba package: fix filename/hashes of Cargo-fetched packages
Commit de5ed80212 ("{boot, package}:
update hashes for generated archives") forgot to update the filename
and hashes of Cargo-fetched packages.

This commit therefore updates the incorrect filenames and hashes. It
allows to run:

make bat-legal-info \
     dust-legal-info \
     eza-legal-info \
     hyperfine-legal-info \
     nushell-legal-info \
     procs-legal-info \
     ripgrep-legal-info \
     host-rust-bindgen-legal-info \
     host-sentry-cli-legal-info \
     tealdeer-legal-info

successfully.

Also fixes:

  http://autobuild.buildroot.net/results/1ff5ccf5ee6029669af1413c95827f670ae212b3/ (dust)
  http://autobuild.buildroot.net/results/f887adebe611f0021d5ee85acb95cced7c8b71c0/ (sentry-cli)
  http://autobuild.buildroot.net/results/b95093c618eafeb3726513a3ef6199488406093d/ (bat)
  (and probably some other similar issues)

Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2024-05-14 17:33:17 +02:00
Yann E. MORIN d8000791e3 {boot, package}: update hashes of git, svn, go, and cargo archives
Replace all git and svn packages archive names in hash files:

    $ sed -r -i -e 's/-br2/-git3/; s/-br3/-svn4/' $(
        git grep -l -E -- '-br2|-br3' '*.hash'
    )

    $ sed -r -i -e 's/(\.tar\.gz)$/-go1\1/' $(
        git grep -l -E '\$\(eval \$\((host-)?golang-package\)\)' '*.mk' \
        |sed -r -e 's/\.mk$/.hash/' \
        |sort -u
    )

    $ sed -r -i -e 's/(\.tar\.gz)$/-cargo1\1/' $(
        git grep -l -E '\$\(eval \$\((host-)?cargo-package\)\)' '*.mk' \
        |sed -r -e 's/\.mk$/.hash/' \
        |sort -u
    )

Then a bit of make source (based on: git diff --name-only), a lot of
sweat, and carefully checking the new archives to verify that only
modes have changed...

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
2024-05-09 22:45:02 +02:00
Antoine Coutant b4625a19fa package/hyperfine: bump version to 1.18.0
Changelog:
https://github.com/sharkdp/hyperfine/blob/master/CHANGELOG.md

Signed-off-by: Antoine Coutant <antoine.coutant@smile.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2024-01-23 22:11:51 +01:00
Nicolas Tran 321cec7b9c package/hyperfine: new package
hyperfine is a benchmark tool written in Rust. It evaluates
execution time of a command passed in arguments and make
a relative comparison if multiple arguments are used at the
same time.
It can be convinient for purposes of Rust-written systems as
it runs in a stable version of Rust.

The package has been checked with correct formatting and
without typos:
./utils/check-package package/hyperfine/*

A CI test was run on gitlab.com to verify toolchain compatibilities.

Signed-off-by: Nicolas Tran <nicolas.tran@smile.fr>
Reviewed-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022-07-25 08:30:12 +02:00