[arch-commits] Commit in inkscape/trunk (PKGBUILD)

Gaetan Bisson bisson at archlinux.org
Mon Sep 20 15:50:29 UTC 2010


    Date: Monday, September 20, 2010 @ 11:50:29
  Author: bisson
Revision: 91010

replace python by python2 (pyxml depends on it and most extensions are not python3-compatible)

Modified:
  inkscape/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-09-20 14:49:35 UTC (rev 91009)
+++ PKGBUILD	2010-09-20 15:50:29 UTC (rev 91010)
@@ -4,12 +4,12 @@
 
 pkgname=inkscape
 pkgver=0.48.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Vector graphics editor using the SVG file format'
 url='http://inkscape.sourceforge.net/'
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL')
-depends=('gc' 'gtkmm' 'poppler-glib' 'pyxml' 'libxslt' 'gsl' 'popt'
+depends=('gc' 'gtkmm' 'poppler-glib' 'pyxml' 'libxslt' 'gsl' 'popt' 'python2'
          'gtkspell' 'imagemagick' 'desktop-file-utils' 'hicolor-icon-theme')
 makedepends=('boost' 'pkg-config' 'intltool')
 options=('!libtool')
@@ -27,6 +27,13 @@
     --enable-lcms \
     --enable-poppler-cairo \
     --disable-dependency-tracking
+
+  sed -i 's|/usr/bin/python\>|/usr/bin/python2|g' cxxtest/*.py
+  sed -i 's|/usr/bin/env python\>|/usr/bin/env python2|g' share/*/{test/,}*.py
+  sed -i 's|"python" },|"python2" },|g' src/extension/implementation/script.cpp
+  sed -i 's|\<python -c |python2 -c|g' share/extensions/uniconv*.py
+  sed -i 's|"python"|"python2"|g' src/main.cpp
+
   make
 }
 




More information about the arch-commits mailing list