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

Stéphane Gaudreault stephane at archlinux.org
Fri Jan 28 15:13:06 EST 2011


    Date: Friday, January 28, 2011 @ 15:13:06
  Author: stephane
Revision: 107995

upgpkg: python 3.1.3-2
Add link to libpython3.1.so in /usr/lib/python3.1/config (fix FS#22552)

Modified:
  python/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-28 20:09:26 UTC (rev 107994)
+++ PKGBUILD	2011-01-28 20:13:06 UTC (rev 107995)
@@ -4,12 +4,12 @@
 
 pkgname=python
 pkgver=3.1.3
-pkgrel=1
+pkgrel=2
 _pybasever=3.1
 pkgdesc="Next generation of the python high-level scripting language"
 arch=('i686' 'x86_64')
 license=('custom')
-url="http://www.python.org"
+url="http://www.python.org/"
 depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib')
 makedepends=('tk' 'sqlite3')
 optdepends=('tk: for tkinter')
@@ -62,6 +62,10 @@
   ln -sf idle3 ${pkgdir}/usr/bin/idle
   ln -sf pydoc3 ${pkgdir}/usr/bin/pydoc
 
+  # fix FS#22552
+  ln -sf ../../libpython${_pybasever}.so \
+    ${pkgdir}/usr/lib/python${_pybasever}/config/libpython${_pybasever}.so
+
   # clean-up reference to build directory
   sed -i "s#$srcdir/Python-${pkgver}:##" $pkgdir/usr/lib/python3.1/config/Makefile
 



More information about the arch-commits mailing list