[arch-commits] Commit in kdeedu/trunk (PKGBUILD python-2.6.patch)
Pierre Schmitz
pierre at archlinux.org
Fri Oct 31 03:06:35 UTC 2008
Date: Thursday, October 30, 2008 @ 23:06:35
Author: pierre
Revision: 17572
prepare for 4.1.3 release
Added:
kdeedu/trunk/python-2.6.patch
Modified:
kdeedu/trunk/PKGBUILD
------------------+
PKGBUILD | 14 ++++++++------
python-2.6.patch | 12 ++++++++++++
2 files changed, 20 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2008-10-31 03:06:31 UTC (rev 17571)
+++ PKGBUILD 2008-10-31 03:06:35 UTC (rev 17572)
@@ -2,22 +2,24 @@
# Maintainer: Pierre Schmitz <pierre at archlinux.de>
pkgname=kdeedu
-pkgver=4.1.2
-pkgrel=2
+pkgver=4.1.3
+pkgrel=1
pkgdesc="KDE Educational programs"
arch=('i686' 'x86_64')
url='http://www.kde.org'
license=('GPL' 'LGPL' 'FDL')
groups=('kde')
-depends=('kdebase-workspace' 'boost' 'openbabel' 'indilib' 'libnova' 'libqalculate' 'gsl')
+depends=('kdebase-workspace' 'openbabel' 'indilib' 'libnova' 'libqalculate' 'gsl' 'boost')
makedepends=('pkgconfig' 'cmake' 'automoc4' 'ocaml' 'facile' 'eigen' 'cfitsio' 'gmm++')
options=('docs')
install='kdeedu.install'
-source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('7319ea65180451d1ecfed158714a4fd3')
+source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2" 'python-2.6.patch')
+md5sums=('8b513d6dde79119842eef059550c0123' 'b02494e14cfb969faed5a279b0ee4aa2')
build() {
- cd $srcdir
+ cd $srcdir/${pkgname}-${pkgver}
+ patch -p1 -i $srcdir/python-2.6.patch || return 1
+ cd ../
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
Added: python-2.6.patch
===================================================================
--- python-2.6.patch (rev 0)
+++ python-2.6.patch 2008-10-31 03:06:35 UTC (rev 17572)
@@ -0,0 +1,12 @@
+diff -Nura kdeedu-4.1.3.orig/cmake/modules/FindBoostPython.cmake kdeedu-4.1.3/cmake/modules/FindBoostPython.cmake
+--- kdeedu-4.1.3.orig/cmake/modules/FindBoostPython.cmake 2008-01-29 10:17:21.000000000 +0100
++++ kdeedu-4.1.3/cmake/modules/FindBoostPython.cmake 2008-10-31 03:20:55.000000000 +0100
+@@ -25,7 +25,7 @@
+ set(BOOST_PYTHON_LIBS)
+
+ # handy arrays
+-set(PYTHON_VERSIONS "python;python2.5;python2.4;python2.3;python2.2")
++set(PYTHON_VERSIONS "python;python2.6;python2.5;python2.4;python2.3;python2.2")
+ set(PYTHON_INCLUDE_DIRS "/usr/include/$pyver;/usr/local/include/$pyver;/usr/$pyver/include;/usr/local/$pyver/include;$prefix/include/$pyver;$prefix/$pyver/include")
+ set(PYTHON_LIBRARY_DIRS "/usr/lib${LIB_SUFFIX};/usr/local/lib${LIB_SUFFIX};/usr/lib${LIB_SUFFIX}/$pyver/config")
+ set(PYTHON_LIBS "boost_python-gcc-mt;boost_python-mt;boost_python-gcc-mt-1_33;boost_python-gcc-mt-1_33_1;boost_python;boost_python-gcc-mt-1_32;boost_python")
More information about the arch-commits
mailing list