Codebase list rust-libslirp / 25b6092
cbindgen: switch tests from cython to cython3 Peter Michael Green 3 years ago
4 changed file(s) with 25 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
0 rust-cbindgen (0.17.0-3) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
1
2 * Team upload.
3 * Package cbindgen 0.17.0 from crates.io using debcargo 2.4.4
4 * Change build and test dependencies from cython to cython3
5 * Use cython3 for tests
6
7 -- Peter Michael Green <plugwash@debian.org> Thu, 11 Feb 2021 23:55:22 +0000
8
09 rust-cbindgen (0.17.0-2) unstable; urgency=medium
110
211 * Team upload.
33
44 [source]
55 section = "utils"
6 build_depends = ["help2man", "librust-serial-test-dev", "cython"]
6 build_depends = ["help2man", "librust-serial-test-dev", "cython3"]
77
88 [packages.bin]
99 summary = "Generates C bindings from Rust code"
2828 """
2929
3030 [packages.lib]
31 test_depends = ["cython"]
31 test_depends = ["cython3"]
3232 test_is_broken = true
3333
3434 [packages."lib+clap"]
0 use-cython3-for-tests.patch
0 Index: build/cbindgen/tests/tests.rs
1 ===================================================================
2 --- cbindgen/tests/tests.rs
3 +++ cbindgen/tests/tests.rs
4 @@ -71,7 +71,7 @@ fn compile(
5 let cc = match language {
6 Language::Cxx => env::var("CXX").unwrap_or_else(|_| "g++".to_owned()),
7 Language::C => env::var("CC").unwrap_or_else(|_| "gcc".to_owned()),
8 - Language::Cython => env::var("CYTHON").unwrap_or_else(|_| "cython".to_owned()),
9 + Language::Cython => env::var("CYTHON").unwrap_or_else(|_| "cython3".to_owned()),
10 };
11
12 let file_name = cbindgen_output