[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/41098: lang/python25 installs broken cElementTree module
The following reply was made to PR pkg/41098; it has been noted by GNATS.
From: "OBATA Akio" <obache%netbsd.org@localhost>
Subject: Re: pkg/41098: lang/python25 installs broken cElementTree module
Date: Fri, 25 Sep 2009 21:30:02 +0900
On Tue, 31 Mar 2009 03:45:02 +0900, Hasso Tepper <hasso%estpak.ee@localhost>
> Thomas Klausner wrote:
> > Does this incur an expat dependency?
> Builds and works fine without external expat dependency. Working with
> internal pyexpat?
In setup.py (for python26, almost same as python25's one):
# Fredrik Lundh's cElementTree module. Note that this also
# uses expat (via the CAPI hook in pyexpat).
if os.path.isfile(os.path.join(srcdir, 'Modules', '_elementtree.c')):
define_macros = define_macros,
include_dirs = [expatinc],
sources = ['_elementtree.c'],
So it will be compiled as used with pyexpat, I think.
Without textproc/py-expat, is it still works fine for you?
I've just created wip/py-cElementTree, it may be another solution.
Main Index |
Thread Index |