Date: Sunday, January 1, 2017 @ 22:16:27
  Author: arojas
Revision: 285169

Fix building python3 backend with Python 3.6

Modified:
  cantor/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2017-01-01 22:14:40 UTC (rev 285168)
+++ PKGBUILD    2017-01-01 22:16:27 UTC (rev 285169)
@@ -4,7 +4,7 @@
 
 pkgname=cantor
 pkgver=16.12.0
-pkgrel=2
+pkgrel=3
 pkgdesc="KDE Frontend to Mathematical Software"
 url="http://kde.org/applications/education/cantor/";
 arch=('i686' 'x86_64')
@@ -22,13 +22,19 @@
             'julia: Julia backend')
 conflicts=('kdeedu-cantor')
 replaces=('kdeedu-cantor')
-source=("http://download.kde.org/stable/applications/${pkgver}/src/cantor-${pkgver}.tar.xz"{,.sig})
+source=("http://download.kde.org/stable/applications/${pkgver}/src/cantor-${pkgver}.tar.xz"{,.sig}
+        
cantor-python3.6.patch::"https://cgit.kde.org/cantor.git/patch/?id=2c67377";)
 sha1sums=('58498ba930688dd948c9796e06998bde9ec5c160'
-          'SKIP')
+          'SKIP'
+          '4778cda4f5289f0bd9ab1c7943c9e16c7f82197a')
 validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7) # Albert Astals Cid 
<aa...@kde.org>
 
 prepare() {
   mkdir -p build
+
+# Fix python3 backend build with python 3.6
+  cd $pkgname-$pkgver
+  patch -p1 -i ../cantor-python3.6.patch
 }
 
 build() {

Reply via email to