[arch-commits] Commit in cantor/repos (8 files)

Evangelos Foutras foutrelis at archlinux.org
Tue Dec 8 12:54:40 UTC 2015


    Date: Tuesday, December 8, 2015 @ 13:54:40
  Author: foutrelis
Revision: 253796

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  cantor/repos/staging-i686/
  cantor/repos/staging-i686/PKGBUILD
    (from rev 253795, cantor/trunk/PKGBUILD)
  cantor/repos/staging-i686/cantor.install
    (from rev 253795, cantor/trunk/cantor.install)
  cantor/repos/staging-i686/python-3.5.patch
    (from rev 253795, cantor/trunk/python-3.5.patch)
  cantor/repos/staging-x86_64/
  cantor/repos/staging-x86_64/PKGBUILD
    (from rev 253795, cantor/trunk/PKGBUILD)
  cantor/repos/staging-x86_64/cantor.install
    (from rev 253795, cantor/trunk/cantor.install)
  cantor/repos/staging-x86_64/python-3.5.patch
    (from rev 253795, cantor/trunk/python-3.5.patch)

---------------------------------+
 staging-i686/PKGBUILD           |   53 ++++++++++++++++++++++++++++++++++++++
 staging-i686/cantor.install     |   12 ++++++++
 staging-i686/python-3.5.patch   |   12 ++++++++
 staging-x86_64/PKGBUILD         |   53 ++++++++++++++++++++++++++++++++++++++
 staging-x86_64/cantor.install   |   12 ++++++++
 staging-x86_64/python-3.5.patch |   12 ++++++++
 6 files changed, 154 insertions(+)

Copied: cantor/repos/staging-i686/PKGBUILD (from rev 253795, cantor/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-12-08 12:54:40 UTC (rev 253796)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=cantor
+pkgver=15.08.3
+pkgrel=2
+pkgdesc="KDE Frontend to Mathematical Software"
+url="http://kde.org/applications/education/cantor/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdeedu')
+depends=('analitza' 'libspectre' 'kdelibs4support' 'kpty' 'ktexteditor' 'knewstuff' 'libqalculate')
+makedepends=('extra-cmake-modules' 'python' 'python2' 'kdoctools' 'luajit' 'r')
+optdepends=('maxima: Maxima backend'
+            'octave: Octave backend'
+            'r: R backend'
+            'luajit: LUA backend'
+            'python: Python 3 backend'
+	    'python2: Python 2 backend'
+            'sagemath: SageMath backend')
+conflicts=('kdeedu-cantor')
+replaces=('kdeedu-cantor')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/cantor-${pkgver}.tar.xz" python-3.5.patch)
+sha1sums=('4e9f5632f16417e9ded39a46829420063bb2fc3e'
+          'd6d04b323e4d301587ebb82e88672c0cee923bc1')
+
+prepare() {
+  mkdir -p build
+
+# Fix build against python 3.5
+  cd $pkgname-$pkgver
+  patch -p1 -i ../python-3.5.patch
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+    -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \
+    -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Copied: cantor/repos/staging-i686/cantor.install (from rev 253795, cantor/trunk/cantor.install)
===================================================================
--- staging-i686/cantor.install	                        (rev 0)
+++ staging-i686/cantor.install	2015-12-08 12:54:40 UTC (rev 253796)
@@ -0,0 +1,12 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+    update-desktop-database -q
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: cantor/repos/staging-i686/python-3.5.patch (from rev 253795, cantor/trunk/python-3.5.patch)
===================================================================
--- staging-i686/python-3.5.patch	                        (rev 0)
+++ staging-i686/python-3.5.patch	2015-12-08 12:54:40 UTC (rev 253796)
@@ -0,0 +1,12 @@
+diff -ru cantor.orig/cmake/FindPythonLibs3.cmake cantor/cmake/FindPythonLibs3.cmake
+--- cantor.orig/cmake/FindPythonLibs3.cmake	2015-09-20 11:54:42.206749420 +0200
++++ cantor/cmake/FindPythonLibs3.cmake	2015-09-20 11:55:00.896859349 +0200
+@@ -5,7 +5,7 @@
+ find_path(PYTHONLIBS3_INCLUDE_DIR Python.h
+           HINTS ${PYTHONLIBS3_INCLUDEDIR} ${PYTHONLIBS3_INCLUDE_DIRS})
+ 
+-find_library(PYTHONLIBS3_LIBRARY NAMES python3.2m python3.3m python3.4m
++find_library(PYTHONLIBS3_LIBRARY NAMES python3.2m python3.3m python3.4m python3.5m
+              HINTS ${PYTHONLIBS3_LIBDIR} ${PYTHONLIBS3_LIBRARY_DIRS} )
+ 
+ set(PYTHONLIBS3_LIBRARIES ${PYTHONLIBS3_LIBRARY} )

Copied: cantor/repos/staging-x86_64/PKGBUILD (from rev 253795, cantor/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-12-08 12:54:40 UTC (rev 253796)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=cantor
+pkgver=15.08.3
+pkgrel=2
+pkgdesc="KDE Frontend to Mathematical Software"
+url="http://kde.org/applications/education/cantor/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdeedu')
+depends=('analitza' 'libspectre' 'kdelibs4support' 'kpty' 'ktexteditor' 'knewstuff' 'libqalculate')
+makedepends=('extra-cmake-modules' 'python' 'python2' 'kdoctools' 'luajit' 'r')
+optdepends=('maxima: Maxima backend'
+            'octave: Octave backend'
+            'r: R backend'
+            'luajit: LUA backend'
+            'python: Python 3 backend'
+	    'python2: Python 2 backend'
+            'sagemath: SageMath backend')
+conflicts=('kdeedu-cantor')
+replaces=('kdeedu-cantor')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/cantor-${pkgver}.tar.xz" python-3.5.patch)
+sha1sums=('4e9f5632f16417e9ded39a46829420063bb2fc3e'
+          'd6d04b323e4d301587ebb82e88672c0cee923bc1')
+
+prepare() {
+  mkdir -p build
+
+# Fix build against python 3.5
+  cd $pkgname-$pkgver
+  patch -p1 -i ../python-3.5.patch
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+    -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \
+    -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Copied: cantor/repos/staging-x86_64/cantor.install (from rev 253795, cantor/trunk/cantor.install)
===================================================================
--- staging-x86_64/cantor.install	                        (rev 0)
+++ staging-x86_64/cantor.install	2015-12-08 12:54:40 UTC (rev 253796)
@@ -0,0 +1,12 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+    update-desktop-database -q
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: cantor/repos/staging-x86_64/python-3.5.patch (from rev 253795, cantor/trunk/python-3.5.patch)
===================================================================
--- staging-x86_64/python-3.5.patch	                        (rev 0)
+++ staging-x86_64/python-3.5.patch	2015-12-08 12:54:40 UTC (rev 253796)
@@ -0,0 +1,12 @@
+diff -ru cantor.orig/cmake/FindPythonLibs3.cmake cantor/cmake/FindPythonLibs3.cmake
+--- cantor.orig/cmake/FindPythonLibs3.cmake	2015-09-20 11:54:42.206749420 +0200
++++ cantor/cmake/FindPythonLibs3.cmake	2015-09-20 11:55:00.896859349 +0200
+@@ -5,7 +5,7 @@
+ find_path(PYTHONLIBS3_INCLUDE_DIR Python.h
+           HINTS ${PYTHONLIBS3_INCLUDEDIR} ${PYTHONLIBS3_INCLUDE_DIRS})
+ 
+-find_library(PYTHONLIBS3_LIBRARY NAMES python3.2m python3.3m python3.4m
++find_library(PYTHONLIBS3_LIBRARY NAMES python3.2m python3.3m python3.4m python3.5m
+              HINTS ${PYTHONLIBS3_LIBDIR} ${PYTHONLIBS3_LIBRARY_DIRS} )
+ 
+ set(PYTHONLIBS3_LIBRARIES ${PYTHONLIBS3_LIBRARY} )



More information about the arch-commits mailing list