Accepting request 701006 from KDE:Qt5
OBS-URL: https://build.opensuse.org/request/show/701006 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python3-pyside2?expand=0&rev=4
This commit is contained in:
commit
cfa252b75d
@ -1,29 +0,0 @@
|
|||||||
From 08afddcf38ec96f2faf59c8ab548970fdc14a0b9 Mon Sep 17 00:00:00 2001
|
|
||||||
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
|
|
||||||
Date: Fri, 21 Dec 2018 16:15:26 +0100
|
|
||||||
Subject: [PATCH] Avoid creation of empty build directories in install tree
|
|
||||||
|
|
||||||
---
|
|
||||||
sources/pyside2/cmake/Macros/PySideModules.cmake | 6 +++---
|
|
||||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/sources/pyside2/cmake/Macros/PySideModules.cmake b/sources/pyside2/cmake/Macros/PySideModules.cmake
|
|
||||||
index 98efd8c7..62af767d 100644
|
|
||||||
--- a/sources/pyside2/cmake/Macros/PySideModules.cmake
|
|
||||||
+++ b/sources/pyside2/cmake/Macros/PySideModules.cmake
|
|
||||||
@@ -170,9 +170,9 @@ macro(create_pyside_module)
|
|
||||||
# install
|
|
||||||
install(TARGETS ${module_NAME} LIBRARY DESTINATION "${PYTHON_SITE_PACKAGES}/PySide2")
|
|
||||||
|
|
||||||
- install(DIRECTORY "${CMAKE_BINARY_DIR}/" DESTINATION "${PYTHON_SITE_PACKAGES}"
|
|
||||||
- OPTIONAL
|
|
||||||
- FILES_MATCHING PATTERN "*.pyi")
|
|
||||||
+ file(GLOB hinting_stub_files RELATIVE "${CMAKE_CURRENT_BINARY_DIR}/PySide2" "${CMAKE_CURRENT_BINARY_DIR}/PySide2/*.pyi")
|
|
||||||
+ install(FILES ${hinting_stub_files}
|
|
||||||
+ DESTINATION "${PYTHON_SITE_PACKAGES}/PySide2")
|
|
||||||
|
|
||||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/PySide2/${module_NAME}/pyside2_${lower_module_name}_python.h
|
|
||||||
DESTINATION include/PySide2${pyside2_SUFFIX}/${module_NAME}/)
|
|
||||||
--
|
|
||||||
2.19.2
|
|
||||||
|
|
@ -4,13 +4,13 @@ Date: Fri, 21 Dec 2018 16:20:45 +0100
|
|||||||
Subject: [PATCH] Remove unnecessary she-bang from icon-cache.py
|
Subject: [PATCH] Remove unnecessary she-bang from icon-cache.py
|
||||||
|
|
||||||
---
|
---
|
||||||
pyside2uic/icon_cache.py | 1 -
|
sources/pyside2-tools/pyside2uic/icon_cache.py | 1 -
|
||||||
1 file changed, 1 deletion(-)
|
1 file changed, 1 deletion(-)
|
||||||
|
|
||||||
diff --git a/pyside2uic/icon_cache.py b/pyside2uic/icon_cache.py
|
diff --git a/sources/pyside2-tools/pyside2uic/icon_cache.py b/sources/pyside2-tools/pyside2uic/icon_cache.py
|
||||||
index 523d207..9d0dfe2 100644
|
index 523d207..9d0dfe2 100644
|
||||||
--- a/pyside2uic/icon_cache.py
|
--- a/sources/pyside2-tools/pyside2uic/icon_cache.py
|
||||||
+++ b/pyside2uic/icon_cache.py
|
+++ b/sources/pyside2-tools/pyside2uic/icon_cache.py
|
||||||
@@ -1,4 +1,3 @@
|
@@ -1,4 +1,3 @@
|
||||||
-#!/usr/bin/env python
|
-#!/usr/bin/env python
|
||||||
# This file is part of the PySide project.
|
# This file is part of the PySide project.
|
||||||
|
15
_service
15
_service
@ -1,15 +0,0 @@
|
|||||||
<services>
|
|
||||||
<service name="obs_scm" mode="disabled">
|
|
||||||
<param name="url">https://code.qt.io/pyside/pyside-setup.git</param>
|
|
||||||
<param name="scm">git</param>
|
|
||||||
<param name="revision">v5.12.0</param>
|
|
||||||
<param name="version">5.12.0</param>
|
|
||||||
</service>
|
|
||||||
<service mode="disabled" name="set_version" />
|
|
||||||
|
|
||||||
<service mode="buildtime" name="tar" />
|
|
||||||
<service mode="buildtime" name="recompress">
|
|
||||||
<param name="file">*.tar</param>
|
|
||||||
<param name="compression">xz</param>
|
|
||||||
</service>
|
|
||||||
</services>
|
|
@ -1,10 +0,0 @@
|
|||||||
diff --git a/sources/pyside2/libpyside/PySide2Config.cmake.in b/sources/pyside2/libpyside/PySide2Config.cmake.in
|
|
||||||
index 352a8999..7969ea50 100644
|
|
||||||
--- a/sources/pyside2/libpyside/PySide2Config.cmake.in
|
|
||||||
+++ b/sources/pyside2/libpyside/PySide2Config.cmake.in
|
|
||||||
@@ -2,4 +2,4 @@ if (NOT PYTHON_CONFIG_SUFFIX)
|
|
||||||
message(STATUS "PySide2Config: Using default python: @SHIBOKEN_PYTHON_CONFIG_SUFFIX@")
|
|
||||||
SET(PYTHON_CONFIG_SUFFIX @SHIBOKEN_PYTHON_CONFIG_SUFFIX@)
|
|
||||||
endif()
|
|
||||||
-include(@LIB_INSTALL_DIR@/cmake/PySide2-@BINDING_API_VERSION@/PySide2Config${PYTHON_CONFIG_SUFFIX}.cmake)
|
|
||||||
+include("@LIB_INSTALL_DIR@/cmake/PySide2-@BINDING_API_VERSION@/PySide2Config${PYTHON_CONFIG_SUFFIX}.cmake")
|
|
60
lib64.patch
60
lib64.patch
@ -12,10 +12,10 @@ Subject: [PATCH] Lookup clang library and install in arch specific library
|
|||||||
4 files changed, 6 insertions(+), 6 deletions(-)
|
4 files changed, 6 insertions(+), 6 deletions(-)
|
||||||
|
|
||||||
diff --git a/build_scripts/platforms/unix.py b/build_scripts/platforms/unix.py
|
diff --git a/build_scripts/platforms/unix.py b/build_scripts/platforms/unix.py
|
||||||
index d3767976..63019a0a 100644
|
index 83de489..f6498c6 100644
|
||||||
--- a/build_scripts/platforms/unix.py
|
--- a/build_scripts/platforms/unix.py
|
||||||
+++ b/build_scripts/platforms/unix.py
|
+++ b/build_scripts/platforms/unix.py
|
||||||
@@ -80,7 +80,7 @@ def prepare_packages_posix(self, vars):
|
@@ -81,7 +81,7 @@ def prepare_packages_posix(self, vars):
|
||||||
|
|
||||||
# <install>/lib/lib* -> {st_package_name}/
|
# <install>/lib/lib* -> {st_package_name}/
|
||||||
copydir(
|
copydir(
|
||||||
@ -24,7 +24,7 @@ index d3767976..63019a0a 100644
|
|||||||
"{st_build_dir}/{st_package_name}",
|
"{st_build_dir}/{st_package_name}",
|
||||||
filter=[
|
filter=[
|
||||||
adjusted_lib_name("libshiboken*",
|
adjusted_lib_name("libshiboken*",
|
||||||
@@ -155,7 +155,7 @@ def prepare_packages_posix(self, vars):
|
@@ -156,7 +156,7 @@ def prepare_packages_posix(self, vars):
|
||||||
|
|
||||||
# <install>/lib/lib* -> {st_package_name}/
|
# <install>/lib/lib* -> {st_package_name}/
|
||||||
copydir(
|
copydir(
|
||||||
@ -33,43 +33,22 @@ index d3767976..63019a0a 100644
|
|||||||
"{st_build_dir}/{st_package_name}",
|
"{st_build_dir}/{st_package_name}",
|
||||||
filter=[
|
filter=[
|
||||||
adjusted_lib_name("libpyside*",
|
adjusted_lib_name("libpyside*",
|
||||||
|
|
||||||
diff --git a/sources/pyside2/CMakeLists.txt b/sources/pyside2/CMakeLists.txt
|
diff --git a/sources/pyside2/CMakeLists.txt b/sources/pyside2/CMakeLists.txt
|
||||||
index 1d563fb4..7b8d8b85 100644
|
index 1e6f017..fdfb631 100644
|
||||||
--- a/sources/pyside2/CMakeLists.txt
|
--- a/sources/pyside2/CMakeLists.txt
|
||||||
+++ b/sources/pyside2/CMakeLists.txt
|
+++ b/sources/pyside2/CMakeLists.txt
|
||||||
@@ -187,7 +187,7 @@ endif()
|
@@ -94,7 +94,7 @@ endif()
|
||||||
|
|
||||||
option(BUILD_TESTS "Build tests." TRUE)
|
option(BUILD_TESTS "Build tests." TRUE)
|
||||||
option(ENABLE_VERSION_SUFFIX "Used to use current version in suffix to generated files. This is used to allow multiples versions installed simultaneous." FALSE)
|
option(ENABLE_VERSION_SUFFIX "Used to use current version in suffix to generated files. This is used to allow multiples versions installed simultaneous." FALSE)
|
||||||
-set(LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)" )
|
-set(LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)" )
|
||||||
+set(LIB_SUFFIX "64" CACHE STRING "Define suffix of directory name (32/64)" )
|
+set(LIB_SUFFIX "64" CACHE STRING "Define suffix of directory name (32/64)" )
|
||||||
set(LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}" CACHE PATH "The subdirectory relative to the install prefix where libraries will be installed (default is /lib${LIB_SUFFIX})" FORCE)
|
set(LIB_INSTALL_DIR "lib${LIB_SUFFIX}" CACHE PATH "The subdirectory relative to the install prefix where libraries will be installed (default is /lib${LIB_SUFFIX})" FORCE)
|
||||||
if(CMAKE_HOST_APPLE)
|
if(CMAKE_HOST_APPLE)
|
||||||
set(ALTERNATIVE_QT_INCLUDE_DIR "" CACHE PATH "Deprecated. CMake now finds the proper include dir itself.")
|
set(ALTERNATIVE_QT_INCLUDE_DIR "" CACHE PATH "Deprecated. CMake now finds the proper include dir itself.")
|
||||||
diff --git a/sources/shiboken2/CMakeLists.txt b/sources/shiboken2/CMakeLists.txt
|
|
||||||
index 619c0f08..ab1dceff 100644
|
|
||||||
--- a/sources/shiboken2/CMakeLists.txt
|
|
||||||
+++ b/sources/shiboken2/CMakeLists.txt
|
|
||||||
@@ -124,7 +124,8 @@ if(MSVC)
|
|
||||||
set(CLANG_LIB_NAMES libclang)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
-find_library(CLANG_LIBRARY NAMES ${CLANG_LIB_NAMES} HINTS ${CLANG_DIR}/lib)
|
|
||||||
+set(LIB_SUFFIX "64" CACHE STRING "Define suffix of directory name (32/64)" )
|
|
||||||
+find_library(CLANG_LIBRARY NAMES ${CLANG_LIB_NAMES} HINTS ${CLANG_DIR}/lib${LIB_SUFFIX})
|
|
||||||
if (NOT EXISTS ${CLANG_LIBRARY})
|
|
||||||
string(REPLACE ";" ", " CLANG_LIB_NAMES_STRING "${CLANG_LIB_NAMES}")
|
|
||||||
message(FATAL_ERROR "Unable to find the Clang library in ${CLANG_DIR}.\
|
|
||||||
@@ -333,7 +334,6 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D QT_NO_CAST_FROM_ASCII -D QT_NO_CAST_T
|
|
||||||
set(CMAKE_CXX_STANDARD 11)
|
|
||||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
||||||
|
|
||||||
-set(LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)" )
|
|
||||||
set(LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}" CACHE PATH "The subdirectory relative to the install prefix where libraries will be installed (default is /lib${LIB_SUFFIX})" FORCE)
|
|
||||||
|
|
||||||
if (WIN32)
|
|
||||||
diff --git a/sources/shiboken2/ApiExtractor/clangparser/compilersupport.cpp b/sources/shiboken2/ApiExtractor/clangparser/compilersupport.cpp
|
diff --git a/sources/shiboken2/ApiExtractor/clangparser/compilersupport.cpp b/sources/shiboken2/ApiExtractor/clangparser/compilersupport.cpp
|
||||||
index d3d5c8da..acb1efd9 100644
|
index d3d5c8d..acb1efd 100644
|
||||||
--- a/sources/shiboken2/ApiExtractor/clangparser/compilersupport.cpp
|
--- a/sources/shiboken2/ApiExtractor/clangparser/compilersupport.cpp
|
||||||
+++ b/sources/shiboken2/ApiExtractor/clangparser/compilersupport.cpp
|
+++ b/sources/shiboken2/ApiExtractor/clangparser/compilersupport.cpp
|
||||||
@@ -243,7 +243,7 @@ static QString findClangLibDir()
|
@@ -243,7 +243,7 @@ static QString findClangLibDir()
|
||||||
@ -81,6 +60,25 @@ index d3d5c8da..acb1efd9 100644
|
|||||||
if (QFileInfo::exists(path))
|
if (QFileInfo::exists(path))
|
||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
--
|
diff --git a/sources/shiboken2/CMakeLists.txt b/sources/shiboken2/CMakeLists.txt
|
||||||
2.19.2
|
index 1e52c42..4cac3ae 100644
|
||||||
|
--- a/sources/shiboken2/CMakeLists.txt
|
||||||
|
+++ b/sources/shiboken2/CMakeLists.txt
|
||||||
|
@@ -122,7 +122,8 @@ if(MSVC)
|
||||||
|
set(CLANG_LIB_NAMES libclang)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
-find_library(CLANG_LIBRARY NAMES ${CLANG_LIB_NAMES} HINTS ${CLANG_DIR}/lib)
|
||||||
|
+set(LIB_SUFFIX "64" CACHE STRING "Define suffix of directory name (32/64)" )
|
||||||
|
+find_library(CLANG_LIBRARY NAMES ${CLANG_LIB_NAMES} HINTS ${CLANG_DIR}/lib${LIB_SUFFIX})
|
||||||
|
if (NOT EXISTS ${CLANG_LIBRARY})
|
||||||
|
string(REPLACE ";" ", " CLANG_LIB_NAMES_STRING "${CLANG_LIB_NAMES}")
|
||||||
|
message(FATAL_ERROR "Unable to find the Clang library in ${CLANG_DIR}.\
|
||||||
|
@@ -309,7 +310,6 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D QT_NO_CAST_FROM_ASCII -D QT_NO_CAST_T
|
||||||
|
set(CMAKE_CXX_STANDARD 11)
|
||||||
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||||
|
|
||||||
|
-set(LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)" )
|
||||||
|
set(LIB_INSTALL_DIR "lib${LIB_SUFFIX}" CACHE PATH "The subdirectory relative to the install prefix where libraries will be installed (default is /lib${LIB_SUFFIX})" FORCE)
|
||||||
|
set(BIN_INSTALL_DIR "bin" CACHE PATH "The subdirectory relative to the install prefix where dlls will be installed (default is /bin)" FORCE)
|
||||||
|
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:3953b92218bf680ced2f4ada4d909ed58638df08e119aff31bd659b9736de0de
|
|
||||||
size 28712974
|
|
3
pyside-setup-everywhere-src-5.12.3.tar.xz
Normal file
3
pyside-setup-everywhere-src-5.12.3.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4f7aab7d4bbaf1b3573cc989d704e87b0de55cce656ae5e23418a88baa4c6842
|
||||||
|
size 5474384
|
@ -1,3 +1,23 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 6 08:19:22 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Update to 5.12.3. No changelog available for this version.
|
||||||
|
- Fix the license tag, the shiboken2 subdir uses a different license.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Apr 6 17:08:25 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Update to 5.12.2
|
||||||
|
* Added binding for QWebEngineUrlScheme
|
||||||
|
* Fixed a crash related to multiple inheritance
|
||||||
|
* Fixed wrong METADATA for generated wheels
|
||||||
|
* Prevent Python 3.5 from crashing the build
|
||||||
|
Check the changes-* files for the complete list of changes.
|
||||||
|
- Drop fix-cmake.patch
|
||||||
|
- Drop 0001-Avoid-creation-of-empty-build-directories-in-install.patch
|
||||||
|
- Refresh lib64.patch
|
||||||
|
- Drop the unused _service file.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 28 11:38:26 UTC 2018 - Fabian Vogt <fabian@ritter-vogt.de>
|
Fri Dec 28 11:38:26 UTC 2018 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python3-pyside2
|
# spec file for package python3-pyside2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -22,20 +22,17 @@
|
|||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
Name: python3-pyside2
|
Name: python3-pyside2
|
||||||
|
Version: 5.12.3
|
||||||
Version: 5.12.0
|
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python bindings for Qt
|
Summary: Python bindings for Qt
|
||||||
License: LGPL-3.0-only OR (GPL-2.0-only OR GPL-3.0-or-later)
|
# shiboken2 is licensed under GPL-3.0-with-Qt-Company-Qt-exception-1.1
|
||||||
|
License: LGPL-3.0-only OR (GPL-2.0-only OR GPL-3.0-or-later) AND GPL-3.0-with-Qt-Company-Qt-exception-1.1
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: http://wiki.qt.io/Qt_for_Python
|
URL: http://wiki.qt.io/Qt_for_Python
|
||||||
Source0: pyside-setup-%{version}.tar.xz
|
Source0: https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-%{version}-src/pyside-setup-everywhere-src-%{version}.tar.xz
|
||||||
Patch1: fix-cmake.patch
|
Patch0: lib64.patch
|
||||||
Patch2: lib64.patch
|
|
||||||
# PATCH-FIX-UPSTREAM - PYSIDE-882
|
|
||||||
Patch3: 0001-Avoid-creation-of-empty-build-directories-in-install.patch
|
|
||||||
# PATCH-FIX-UPSTREAM - PYSIDE-881
|
# PATCH-FIX-UPSTREAM - PYSIDE-881
|
||||||
Patch4: 0001-Remove-unnecessary-she-bang-from-icon-cache.py.patch
|
Patch1: 0001-Remove-unnecessary-she-bang-from-icon-cache.py.patch
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
@ -43,53 +40,55 @@ BuildRequires: gcc-c++
|
|||||||
BuildRequires: libqt5-qtdeclarative-private-headers-devel
|
BuildRequires: libqt5-qtdeclarative-private-headers-devel
|
||||||
|
|
||||||
##### essential modules
|
##### essential modules
|
||||||
BuildRequires: pkgconfig(Qt5Concurrent)
|
BuildRequires: cmake(Qt5Concurrent)
|
||||||
BuildConflicts: pkgconfig(Qt5Core) >= 5.13
|
BuildConflicts: cmake(Qt5Core) >= 5.13
|
||||||
BuildRequires: pkgconfig(Qt5Core) >= 5.12
|
BuildRequires: cmake(Qt5Core) >= 5.12
|
||||||
BuildRequires: pkgconfig(Qt5Network)
|
BuildRequires: cmake(Qt5Network)
|
||||||
BuildRequires: pkgconfig(Qt5PrintSupport)
|
BuildRequires: cmake(Qt5PrintSupport)
|
||||||
BuildRequires: pkgconfig(Qt5Sql)
|
BuildRequires: cmake(Qt5Sql)
|
||||||
BuildRequires: pkgconfig(Qt5Test)
|
BuildRequires: cmake(Qt5Test)
|
||||||
BuildRequires: pkgconfig(Qt5Widgets)
|
BuildRequires: cmake(Qt5Widgets)
|
||||||
BuildRequires: pkgconfig(Qt5X11Extras)
|
BuildRequires: cmake(Qt5X11Extras)
|
||||||
BuildRequires: pkgconfig(Qt5Xml)
|
BuildRequires: cmake(Qt5Xml)
|
||||||
BuildRequires: pkgconfig(Qt5XmlPatterns)
|
BuildRequires: cmake(Qt5XmlPatterns)
|
||||||
|
|
||||||
##### optional modules
|
##### optional modules
|
||||||
BuildRequires: libQt53DQuickScene2D5
|
BuildRequires: libQt53DQuickScene2D5
|
||||||
BuildRequires: pkgconfig(Qt53DAnimation)
|
BuildRequires: cmake(Qt53DAnimation)
|
||||||
BuildRequires: pkgconfig(Qt53DCore)
|
BuildRequires: cmake(Qt53DCore)
|
||||||
BuildRequires: pkgconfig(Qt53DExtras)
|
BuildRequires: cmake(Qt53DExtras)
|
||||||
BuildRequires: pkgconfig(Qt53DInput)
|
BuildRequires: cmake(Qt53DInput)
|
||||||
BuildRequires: pkgconfig(Qt53DLogic)
|
BuildRequires: cmake(Qt53DLogic)
|
||||||
BuildRequires: pkgconfig(Qt53DRender)
|
BuildRequires: cmake(Qt53DRender)
|
||||||
BuildRequires: pkgconfig(Qt5Charts)
|
BuildRequires: cmake(Qt5Charts)
|
||||||
BuildRequires: pkgconfig(Qt5DataVisualization)
|
BuildRequires: cmake(Qt5DataVisualization)
|
||||||
BuildRequires: pkgconfig(Qt5Designer)
|
BuildRequires: cmake(Qt5Designer)
|
||||||
BuildRequires: pkgconfig(Qt5Multimedia)
|
BuildRequires: cmake(Qt5Multimedia)
|
||||||
BuildRequires: pkgconfig(Qt5MultimediaWidgets)
|
BuildRequires: cmake(Qt5MultimediaWidgets)
|
||||||
BuildRequires: pkgconfig(Qt5OpenGL)
|
BuildRequires: cmake(Qt5OpenGL)
|
||||||
BuildRequires: pkgconfig(Qt5QuickWidgets)
|
BuildRequires: cmake(Qt5QuickWidgets)
|
||||||
BuildRequires: pkgconfig(Qt5Script)
|
BuildRequires: cmake(Qt5RemoteObjects)
|
||||||
BuildRequires: pkgconfig(Qt5ScriptTools)
|
BuildRequires: cmake(Qt5Script)
|
||||||
BuildRequires: pkgconfig(Qt5Scxml)
|
BuildRequires: cmake(Qt5ScriptTools)
|
||||||
BuildRequires: pkgconfig(Qt5Svg)
|
BuildRequires: cmake(Qt5Scxml)
|
||||||
BuildRequires: pkgconfig(Qt5TextToSpeech)
|
BuildRequires: cmake(Qt5Sensors)
|
||||||
BuildRequires: pkgconfig(Qt5WebChannel)
|
BuildRequires: cmake(Qt5Svg)
|
||||||
BuildRequires: pkgconfig(Qt5WebEngineWidgets)
|
BuildRequires: cmake(Qt5TextToSpeech)
|
||||||
BuildRequires: pkgconfig(Qt5WebSockets)
|
BuildRequires: cmake(Qt5WebChannel)
|
||||||
BuildRequires: pkgconfig(Qt5Widgets)
|
BuildRequires: cmake(Qt5WebEngineWidgets)
|
||||||
BuildRequires: pkgconfig(Qt5Xml)
|
BuildRequires: cmake(Qt5WebSockets)
|
||||||
BuildRequires: pkgconfig(Qt5XmlPatterns)
|
BuildRequires: cmake(Qt5Widgets)
|
||||||
#BuildRequires: pkgconfig(Qt5Vector3D)
|
BuildRequires: cmake(Qt5Xml)
|
||||||
# WebKit modules is to be removed when FreeCAD 0.18 is released
|
BuildRequires: cmake(Qt5XmlPatterns)
|
||||||
BuildRequires: pkgconfig(Qt5WebKit)
|
# FreeCAD 0.18 still uses Qt5Webkit
|
||||||
|
BuildRequires: cmake(Qt5WebKit)
|
||||||
|
|
||||||
BuildRequires: clang-devel >= 3.9
|
BuildRequires: clang-devel >= 3.9
|
||||||
BuildRequires: libxslt-devel
|
BuildRequires: libxslt-devel
|
||||||
BuildRequires: python3-Sphinx
|
BuildRequires: python3-Sphinx
|
||||||
BuildRequires: python3-idna
|
BuildRequires: python3-idna
|
||||||
BuildRequires: python3-urllib3
|
BuildRequires: python3-urllib3
|
||||||
|
BuildRequires: python3-wheel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The PySide2 project provides Python bindings for the Qt
|
The PySide2 project provides Python bindings for the Qt
|
||||||
@ -113,13 +112,11 @@ Requires: %{name} = %{version}
|
|||||||
Examples and Tutorials for the PySide2 bindings for Qt.
|
Examples and Tutorials for the PySide2 bindings for Qt.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n pyside-setup-%{version}
|
%setup -q -n pyside-setup-everywhere-src-%{version}
|
||||||
%patch1 -p1
|
|
||||||
%if "%{_lib}" == "lib64"
|
%if "%{_lib}" == "lib64"
|
||||||
%patch2 -p1
|
%patch0 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch3 -p1
|
%patch1 -p1
|
||||||
%patch4 -p1 -d sources/pyside2-tools/
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export LLVM_INSTALL_DIR=%{_prefix}
|
export LLVM_INSTALL_DIR=%{_prefix}
|
||||||
@ -186,6 +183,7 @@ cd -
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE.*
|
%license LICENSE.*
|
||||||
|
%doc dist/changes*
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
%{python_sitearch}/*
|
%{python_sitearch}/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user