[arch-commits] Commit in cargo-edit/trunk (PKGBUILD)

Orhun Parmaksiz orhun at gemini.archlinux.org
Sat Apr 30 12:20:40 UTC 2022


    Date: Saturday, April 30, 2022 @ 12:20:40
  Author: orhun
Revision: 1191920

upgpkg: cargo-edit 0.9.0-2: cherry-pick a commit to fix a test failure in Cargo 1.60.x (FS#74467)

Modified:
  cargo-edit/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-30 12:16:49 UTC (rev 1191919)
+++ PKGBUILD	2022-04-30 12:20:40 UTC (rev 1191920)
@@ -4,7 +4,7 @@
 
 pkgname=cargo-edit
 pkgver=0.9.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Managing cargo dependencies from the command line'
 url='https://github.com/killercup/cargo-edit/releases'
 arch=('x86_64')
@@ -11,12 +11,16 @@
 license=('MIT' 'APACHE')
 depends=('cargo' 'libgit2.so')
 options=('debug')
-source=(https://github.com/killercup/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('45422d3a3393cb3a1ebbc155543c3ede5a5aa37c49361ee4cc57b404374381b8a5527383dc4c91ed501894b1410decff254d9e471ae21ad06209c5269831fed9')
-b2sums=('eeb1a179ea361444551d9f618076704bbc5b0cca188fe7a48fac3df9f98246ae2b88a9ef08775b60064953f42fb7a82341809a6414034d4b064fdc333e4ee591')
+source=(https://github.com/killercup/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz
+        $pkgname-fix-test-for-cargo-1.60.x.patch::https://github.com/killercup/cargo-edit/commit/39c1d0381f81c8b35afbec7cd5daae9d2896c7da.patch)
+sha512sums=('45422d3a3393cb3a1ebbc155543c3ede5a5aa37c49361ee4cc57b404374381b8a5527383dc4c91ed501894b1410decff254d9e471ae21ad06209c5269831fed9'
+            'faf6f8d045ae22193beb24ccf372f50f90bcf69419789b83cf573480f8c98deff01da2fabfa1552963e3c7421723cfc066394de030325f16e104bbedf97a24ad')
+b2sums=('eeb1a179ea361444551d9f618076704bbc5b0cca188fe7a48fac3df9f98246ae2b88a9ef08775b60064953f42fb7a82341809a6414034d4b064fdc333e4ee591'
+        'ebac457a81307cb10acad76046e0144d15e30318645bde1b17a1ee6b4fa9ca74448f9fc90d0ac387eeca07b61c2267905587277a532b24cbe233ee208ede4576')
 
 prepare() {
   cd "${pkgname}-${pkgver}"
+  patch -Np1 -i ../$pkgname-fix-test-for-cargo-1.60.x.patch
   cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
 }
 



More information about the arch-commits mailing list