aboutsummaryrefslogtreecommitdiffstats
path: root/community/ktoblzcheck/disable-python-tests.patch
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2020-02-04 18:31:44 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2020-02-04 18:31:44 +0100
commitf332e82a457c3ae9decf7c8675277ce14a6867d7 (patch)
tree4b8e246a07ed3f9f977fd83231077454eb530d3c /community/ktoblzcheck/disable-python-tests.patch
parent1f693f6a98b4915a1bfd830643ce30468ab7869f (diff)
downloadaports-f332e82a457c3ae9decf7c8675277ce14a6867d7.tar.bz2
aports-f332e82a457c3ae9decf7c8675277ce14a6867d7.tar.xz
community/ktoblzcheck: upgrade to 1.52
Diffstat (limited to 'community/ktoblzcheck/disable-python-tests.patch')
-rw-r--r--community/ktoblzcheck/disable-python-tests.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/community/ktoblzcheck/disable-python-tests.patch b/community/ktoblzcheck/disable-python-tests.patch
new file mode 100644
index 0000000000..8b193113a5
--- /dev/null
+++ b/community/ktoblzcheck/disable-python-tests.patch
@@ -0,0 +1,16 @@
+The test_ktoblzcheck.py python script does not seem to work with
+python3. Nonetheless, python is required to be installed as it
+is used to convert the bankdata elsewhere during the build process.
+
+diff -upr ktoblzcheck-1.52.orig/src/python/CMakeLists.txt ktoblzcheck-1.52/src/python/CMakeLists.txt
+--- ktoblzcheck-1.52.orig/src/python/CMakeLists.txt 2020-02-04 18:27:25.485349055 +0100
++++ ktoblzcheck-1.52/src/python/CMakeLists.txt 2020-02-04 18:28:11.732029981 +0100
+@@ -1,7 +1,7 @@
+
+ install(FILES ktoblzcheck.py DESTINATION ${Python_SITEARCH})
+
+-if(Python_Interpreter_FOUND)
++if(FALSE)
+ add_test(
+ NAME test-python
+ COMMAND ${Python_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/test_ktoblzcheck.py