[arch-commits] Commit in python/trunk (PKGBUILD python-2.6-gdbm.patch)
Allan McRae
allan at archlinux.org
Sun Dec 7 06:58:23 UTC 2008
Date: Sunday, December 7, 2008 @ 01:58:23
Author: allan
Revision: 20902
upgpkg: python 2.6-3
fix gdbm build issue
fix md5sum (FS#12360)
build with fixed modulator/pynche launchers
Added:
python/trunk/python-2.6-gdbm.patch
Modified:
python/trunk/PKGBUILD
-----------------------+
PKGBUILD | 8 ++++++--
python-2.6-gdbm.patch | 12 ++++++++++++
2 files changed, 18 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2008-12-07 06:20:34 UTC (rev 20901)
+++ PKGBUILD 2008-12-07 06:58:23 UTC (rev 20902)
@@ -4,7 +4,7 @@
pkgname=python
pkgver=2.6
-pkgrel=2
+pkgrel=3
_pybasever=2.6
pkgdesc="A high-level scripting language"
arch=('i686' 'x86_64')
@@ -17,17 +17,21 @@
replaces=('python-elementtree' 'python-ctypes')
source=(http://www.python.org/ftp/python/${pkgver}/Python-${pkgver}.tar.bz2
python-2.6-internal-expat.patch
+ python-2.6-gdbm.patch
modulator-launcher
pynche-launcher)
-md5sums=('1b3c31fc54be2250ed18eb089b4d2779'
+md5sums=('837476958702cb386c657b5dba61cdc5'
'993800dbcc0c4f199c1ceee998a06e71'
+ ''
'b4a531570415280dc406c8d5c1fa8d83'
'9f731b9033db285132a3524fb36409e7')
+
build() {
cd ${srcdir}/Python-${pkgver}
patch -Np0 -i ${srcdir}/python-2.6-internal-expat.patch
+ patch -Np1 -i ${srcdir}/python-2.6-gdbm.patch
./configure --prefix=/usr --enable-shared --with-threads --enable-unicode
Added: python-2.6-gdbm.patch
===================================================================
--- python-2.6-gdbm.patch (rev 0)
+++ python-2.6-gdbm.patch 2008-12-07 06:58:23 UTC (rev 20902)
@@ -0,0 +1,12 @@
+diff -Naur Python-2.6-old/setup.py Python-2.6/setup.py
+--- Python-2.6-old/setup.py 2008-09-30 10:15:45.000000000 +1000
++++ Python-2.6/setup.py 2008-12-07 16:04:01.000000000 +1000
+@@ -1013,7 +1013,7 @@
+ if self.compiler.find_library_file(lib_dirs, 'ndbm'):
+ ndbm_libs = ['ndbm']
+ else:
+- ndbm_libs = []
++ ndbm_libs = ['gdbm', 'gdbm_compat']
+ exts.append( Extension('dbm', ['dbmmodule.c'],
+ define_macros=[('HAVE_NDBM_H',None)],
+ libraries = ndbm_libs ) )
More information about the arch-commits
mailing list