[arch-commits] Commit in shiboken/trunk (PKGBUILD python-3.5.patch)

Felix Yan fyan at archlinux.org
Mon Sep 21 07:24:08 UTC 2015


    Date: Monday, September 21, 2015 @ 09:24:08
  Author: fyan
Revision: 141351

upgpkg: shiboken 1.2.2-6

rebuild for python 3.5

Added:
  shiboken/trunk/python-3.5.patch
Modified:
  shiboken/trunk/PKGBUILD

------------------+
 PKGBUILD         |   13 ++++++++++---
 python-3.5.patch |   11 +++++++++++
 2 files changed, 21 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-09-21 06:16:21 UTC (rev 141350)
+++ PKGBUILD	2015-09-21 07:24:08 UTC (rev 141351)
@@ -6,14 +6,21 @@
 pkgbase=shiboken
 pkgname=(python{2,}-shiboken shiboken)
 pkgver=1.2.2
-pkgrel=5
+pkgrel=6
 arch=('i686' 'x86_64')
 license=('LGPL')
 url="http://www.pyside.org"
 makedepends=('cmake' 'python2' 'python' 'qt4' 'libxslt')
-source=("http://download.qt-project.org/official_releases/pyside/$pkgbase-$pkgver.tar.bz2")
-md5sums=('9f5bee9d414ce51be07ff7a20054a48d')
+source=("http://download.qt-project.org/official_releases/pyside/$pkgbase-$pkgver.tar.bz2"
+        python-3.5.patch)
+md5sums=('9f5bee9d414ce51be07ff7a20054a48d'
+         '0433387f1716148883d15a7f6360f1e3')
 
+prepare(){
+    cd "$srcdir/shiboken-$pkgver"
+    patch -p1 -i ../python-3.5.patch
+}
+
 build(){
     cd "$srcdir/shiboken-$pkgver"
     # build python2

Added: python-3.5.patch
===================================================================
--- python-3.5.patch	                        (rev 0)
+++ python-3.5.patch	2015-09-21 07:24:08 UTC (rev 141351)
@@ -0,0 +1,11 @@
+--- a/cmake/Modules/FindPython3Libs.cmake	2014-04-22 23:42:48.000000000 +0800
++++ b/cmake/Modules/FindPython3Libs.cmake	2015-09-21 15:17:27.014598399 +0800
+@@ -27,7 +27,7 @@
+ # 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.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()



More information about the arch-commits mailing list