File afdko-opensuse-custom-build.patch of Package python-afdko

+++ afdko-3.8.1.patched/CMakeLists.txt	2022-03-12 08:29:01.319204781 +0100
@@ -66,8 +66,10 @@
 include(CheckLibraryExists)
 CHECK_LIBRARY_EXISTS(m floor "" HAVE_M_LIB)
 
-include(CTest)
-include(AddAFDKOTests)
+# openSUSE: We don't use ctest in the obs _multibuild :test package
+#include(CTest)
+# prevent overriding the found python flavors above with the generic find_package in this include
+#include(AddAFDKOTests)
 
 add_subdirectory(c/shared/source)
 add_subdirectory(c/detype1/source)
diff -ur afdko-3.8.1/setup.py afdko-3.8.1.patched/setup.py
--- afdko-3.8.1/setup.py	2022-02-24 20:28:27.000000000 +0100
+++ afdko-3.8.1.patched/setup.py	2022-03-12 08:17:26.817322500 +0100
@@ -197,8 +197,6 @@
               'wheel',
               'setuptools_scm',
               'scikit-build',
-              'cmake',
-              'ninja'
           ],
           tests_require=[
               'pytest',
openSUSE Build Service is sponsored by