From a0a79a695930c3192ec4db0bf546a57932448b2d Mon Sep 17 00:00:00 2001 From: Leo Date: Wed, 23 Oct 2019 14:34:05 -0300 Subject: testing/opencc: switch to python3 --- testing/opencc/python3.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 testing/opencc/python3.patch (limited to 'testing/opencc/python3.patch') diff --git a/testing/opencc/python3.patch b/testing/opencc/python3.patch new file mode 100644 index 0000000000..46e1198685 --- /dev/null +++ b/testing/opencc/python3.patch @@ -0,0 +1,14 @@ +diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt +index 1516775..3989bad 100644 +--- a/data/CMakeLists.txt ++++ b/data/CMakeLists.txt +@@ -1,6 +1,6 @@ + set(OPENCC_DICT_BIN opencc_dict) +-set(DICT_MERGE_BIN python ${CMAKE_CURRENT_SOURCE_DIR}/scripts/merge.py) +-set(DICT_REVERSE_BIN python ${CMAKE_CURRENT_SOURCE_DIR}/scripts/reverse.py) ++set(DICT_MERGE_BIN python3 ${CMAKE_CURRENT_SOURCE_DIR}/scripts/merge.py) ++set(DICT_REVERSE_BIN python3 ${CMAKE_CURRENT_SOURCE_DIR}/scripts/reverse.py) + set(DICT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/dictionary) + set(DICT_GENERATED_DIR ${CMAKE_CURRENT_BINARY_DIR}) + + -- cgit v1.2.3