summaryrefslogtreecommitdiffstats
path: root/debian/patches/use-cython3-for-tests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/use-cython3-for-tests.patch')
-rw-r--r--debian/patches/use-cython3-for-tests.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/use-cython3-for-tests.patch b/debian/patches/use-cython3-for-tests.patch
new file mode 100644
index 0000000..7ba5269
--- /dev/null
+++ b/debian/patches/use-cython3-for-tests.patch
@@ -0,0 +1,13 @@
+Index: build/cbindgen/tests/tests.rs
+===================================================================
+--- cbindgen/tests/tests.rs
++++ cbindgen/tests/tests.rs
+@@ -71,7 +71,7 @@ fn compile(
+ let cc = match language {
+ Language::Cxx => env::var("CXX").unwrap_or_else(|_| "g++".to_owned()),
+ Language::C => env::var("CC").unwrap_or_else(|_| "gcc".to_owned()),
+- Language::Cython => env::var("CYTHON").unwrap_or_else(|_| "cython".to_owned()),
++ Language::Cython => env::var("CYTHON").unwrap_or_else(|_| "cython3".to_owned()),
+ };
+
+ let file_name = cbindgen_output