package/rust: allow using python3 interpreter
authorRomain Naour <romain.naour@gmail.com>
Tue, 26 May 2020 18:20:37 +0000 (20:20 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 29 May 2020 21:11:02 +0000 (23:11 +0200)
commit02703108eca8353ff45c0842d9b882a0dc37c04b
tree725a1118febe540e1782c73c131a1a370bdb0590
parent9789f56ee3221c181b10abccd23e74969783b479
package/rust: allow using python3 interpreter

Fedora packaging use python3 as python interpreter since rust 1.24.0 [1]
by removing python2 tests from configure script [2].

Using python3 will help to remove python2 in a near future.

[1] https://src.fedoraproject.org/rpms/rust/c/216b2d27716bf1031c526dbd0e01a1fa8e6d5aa2
[2] https://src.fedoraproject.org/rpms/rust/blob/216b2d27716bf1031c526dbd0e01a1fa8e6d5aa2/f/rust.spec#_314

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Titouan Christophe <titouan.christophe@railnova.eu>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Patrick Havelange <patrick.havelange@essensium.com>
Tested-by: Titouan Christophe <titouan.christophe@railnova.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/rust/0002-configure-use-default-python-interpreter.patch [new file with mode: 0644]
package/rust/rust.mk