Mercurial > gub
changeset 6214:473498b9a8e9 python-2.6
pysqlite: build fixes.
author | Jan Nieuwenhuizen <janneke@gnu.org> |
---|---|
date | Tue, 28 Aug 2012 13:54:18 +0200 |
parents | 206b4eb30ef6 |
children | efede36d5b4b |
files | gub/specs/pysqlite.py |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gub/specs/pysqlite.py Tue Aug 28 11:53:03 2012 +0200 +++ b/gub/specs/pysqlite.py Tue Aug 28 13:54:18 2012 +0200 @@ -1,3 +1,5 @@ +import re +# from gub import target from gub import tools @@ -23,10 +25,12 @@ ''' setup = self.expand ('%(srcdir)s/setup.py') s = open (setup).read () + s = re.sub (' H..?ring ', 'Haering', s) open (setup, 'w').write (self.expand (dist_fix) + s) self.func (defer) install_command = 'cd %(srcdir)s && SO=%(so_extension)s LDSHARED="$CC -shared" LDFLAGS="-L%(system_prefix)s/bin -lpython%(python_version)s" CFLAGS="--verbose" python %(srcdir)s/setup.py install --prefix=%(prefix_dir)s --root=%(install_root)s' dependencies = [ + 'python', 'sqlite', 'tools::setuptools', ]