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

Jan Steffens heftig at gemini.archlinux.org
Thu Jul 29 13:18:25 UTC 2021


    Date: Thursday, July 29, 2021 @ 13:18:24
  Author: heftig
Revision: 420675

0.20.0-1

Modified:
  cbindgen/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-29 11:42:24 UTC (rev 420674)
+++ PKGBUILD	2021-07-29 13:18:24 UTC (rev 420675)
@@ -1,7 +1,7 @@
 # Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
 
 pkgname=cbindgen
-pkgver=0.19.0
+pkgver=0.20.0
 pkgrel=1
 pkgdesc="A tool for generating C bindings to Rust code"
 url="https://github.com/eqrion/cbindgen"
@@ -9,7 +9,8 @@
 license=(MPL2)
 depends=(gcc-libs)
 makedepends=(cargo git)
-_commit=d9e490ce8b836194595bd30611253a7028059da2  # tags/v0.19.0^0
+checkdepends=(cython)
+_commit=41506d5aeb2be8d200f52d08afb0c243414eb00d  # tags/v0.20.0^0
 source=("git+https://github.com/eqrion/cbindgen#commit=$_commit")
 sha512sums=('SKIP')
 
@@ -30,8 +31,8 @@
 
 check() {
   cd $pkgname
-  # test_expand* fails; needs nightly rust
-  cargo test --release --frozen || :
+  # Tests need nightly features
+  RUSTC_BOOTSTRAP=1 cargo test --release --frozen
 }
 
 package() {



More information about the arch-commits mailing list