testing/cargo-sort: upgrade to 1.1.0

This commit is contained in:
Matthias Ahouansou 2025-03-23 11:28:56 +00:00 committed by Kevin Daudt
parent 883ce6a707
commit ce90ae2d91
2 changed files with 22 additions and 7 deletions

View File

@ -1,21 +1,19 @@
# Contributor: Matthias Ahouansou <matthias@ahouansou.cz>
# Maintainer: Matthias Ahouansou <matthias@ahouansou.cz>
pkgname=cargo-sort
pkgver=1.0.9_git20240110
_gitrev=55ec89082466f6bb246d870a8d56d166a8e1f08b
pkgver=1.1.0
pkgrel=0
pkgdesc="Check if tables and items in a .toml file are lexically sorted"
url="https://github.com/DevinR528/cargo-sort"
# loongarch64: blocked by libc crate
arch="all !loongarch64"
arch="all"
license="MIT OR Apache-2.0"
makedepends="cargo-auditable"
depends="cargo"
source="
$pkgname-$_gitrev.tar.gz::https://github.com/DevinR528/cargo-sort/archive/$_gitrev.tar.gz
$pkgname-$pkgver.tar.gz::https://github.com/DevinR528/cargo-sort/archive/refs/tags/v$pkgver.tar.gz
bump-libc.patch
"
options="net"
builddir="$srcdir/$pkgname-$_gitrev"
prepare() {
default_prepare
@ -35,5 +33,6 @@ package() {
}
sha512sums="
064ccafb11d250bb20453eba55eb1b108f1cb6ef3dda4728f0462a2d4c011da884443c7fd4de7b7d2a1cc8ac3ac4cf0ca1658c08f0be561844fc9e7553a430a1 cargo-sort-55ec89082466f6bb246d870a8d56d166a8e1f08b.tar.gz
5ed7e3d1ded56f59fcb13f29b1716b339f8159746263b8b027519032fb80c5f44641d8a43e86e0eff55f7a9aa97cb65e5ee2519772767cdd575cd922f4c819ba cargo-sort-1.1.0.tar.gz
89da611f0387c279dfc4d54f4828c09135f9542e33fe8c429e56b5d9c54ee8e845e8647da3bc98d6c072cc2b2e02dc35bb2bf71870fe185271ffc6db1a5e8c5e bump-libc.patch
"

View File

@ -0,0 +1,16 @@
diff --git a/Cargo.lock b/Cargo.lock
index 555fd6c..b203541 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -183,9 +183,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
[[package]]
name = "libc"
-version = "0.2.150"
+version = "0.2.171"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "89d92a4743f9a61002fae18374ed11e7973f530cb3a3255fb354818118b2203c"
+checksum = "c19937216e9d3aa9956d9bb8dfc0b0c8beb6058fc4f7a4dc4d850edf86a237d6"
[[package]]
name = "linux-raw-sys"