[packages/shiboken] - rel 4; detect newer pythons
arekm
arekm at pld-linux.org
Tue Sep 15 15:21:35 CEST 2015
commit e19fa77b4797b3a7208dbc1771fcdcf21d39646d
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Sep 15 15:21:32 2015 +0200
- rel 4; detect newer pythons
shiboken-python.patch | 11 +++++++++++
shiboken.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/shiboken.spec b/shiboken.spec
index 487bce3..5af9759 100644
--- a/shiboken.spec
+++ b/shiboken.spec
@@ -7,12 +7,13 @@ Summary: CPython bindings generator for C++ libraries
Summary(pl.UTF-8): Generator wiązań CPythona dla bibliotek C++
Name: shiboken
Version: 1.2.2
-Release: 3
+Release: 4
License: LGPL v2.1+ (libraries), GPL v2 (tools)
Group: Development/Tools
#Source0Download: http://qt-project.org/wiki/category:LanguageBindings::PySide::Downloads
Source0: http://download.qt-project.org/official_releases/pyside/%{name}-%{version}.tar.bz2
# Source0-md5: 9f5bee9d414ce51be07ff7a20054a48d
+Patch0: %{name}-python.patch
URL: http://qt-project.org/PySide/
BuildRequires: QtCore-devel >= 4.5.0
BuildRequires: QtXml-devel >= 4.5.0
@@ -93,6 +94,7 @@ Biblioteka uruchomieniowa shiboken dla Pythona 3.x.
%prep
%setup -q
+%patch0 -p1
%build
%if %{with python2}
diff --git a/shiboken-python.patch b/shiboken-python.patch
new file mode 100644
index 0000000..0bfd251
--- /dev/null
+++ b/shiboken-python.patch
@@ -0,0 +1,11 @@
+--- shiboken-1.2.2/cmake/Modules/FindPython3Libs.cmake~ 2014-04-22 17:42:48.000000000 +0200
++++ shiboken-1.2.2/cmake/Modules/FindPython3Libs.cmake 2015-09-15 15:20:22.415743347 +0200
+@@ -27,7 +27,7 @@ INCLUDE(CMakeFindFrameworks)
+ # Search for the python framework on Apple.
+ # CMAKE_FIND_FRAMEWORKS(Python)
+
+-FOREACH(_CURRENT_VERSION 3.4 3.3 3.2 3.1 3.0)
++FOREACH(_CURRENT_VERSION 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
+ IF(_CURRENT_VERSION GREATER 3.1)
+ SET(_32FLAGS "m" "u" "mu" "dm" "du" "dmu" "")
+ ELSE()
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/shiboken.git/commitdiff/e19fa77b4797b3a7208dbc1771fcdcf21d39646d
More information about the pld-cvs-commit
mailing list