Source

pyside_aur / python-libshiboken / py3build.patch

Full commit
diff --git a/libshiboken/CMakeLists.txt b/libshiboken/CMakeLists.txt
index feb8498..594d6d1 100644
--- a/libshiboken/CMakeLists.txt
+++ b/libshiboken/CMakeLists.txt
@@ -7,6 +7,10 @@ else()
     set(shiboken_SUFFIX "")
 endif()
 
+if (USE_PYTHON3)
+    set(shiboken_SUFFIX "-py3")
+endif()
+
 configure_file("${CMAKE_CURRENT_SOURCE_DIR}/sbkversion.h.in"
                "${CMAKE_CURRENT_BINARY_DIR}/sbkversion.h" @ONLY)