pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/45345 (lang/python31 wrongly builds pyexpat)

The following reply was made to PR pkg/45345; it has been noted by GNATS.

From: David Holland <>
Subject: Re: pkg/45345 (lang/python31 wrongly builds pyexpat)
Date: Mon, 14 Nov 2011 15:29:59 +0000

 On Mon, Nov 14, 2011 at 12:55:02AM +0000, OBATA Akio wrote:
  >  On Mon, 14 Nov 2011 04:13:55 +0900, <> wrote:
  >  > That seems wrong.
  >  >
  >  > reopen the PR to make sure what was just posted gets seen...
  >  It's not only for python31, but python2[4-7] also.
 I thought the disentanglement had already been done for the older
 Python versions.
  >  Then, what do you want to do about this issue?
  >  1. Merge textproc/py-expat to base python package?
  >  2. Move py-expat related files in base python package to textproc/py-expat?
 I think it's probably ok in general for Python to depend on expat;
 expat is pretty harmless.
 The problem I guess is that because expat is builtin on base if and
 only if using native X, depending on expat would make the official
 binary packages for all Python stuff useless to people using pkgsrc
 X. And that's not good.
 But in any case I don't think the base Python package should depend on
 py-expat being installed. I'm not sure how much work (2) entails; if
 it's not a lot, it's cleaner that way, but if it is, it's probably not
 worth doing and we should go ahead and adopt (1).
 The real fix for the packaging problem is for expat to be in base
 base, not base xsrc. People have been suggesting that for a while, but
 I'm not sure what the current status is.
 Meanwhile I think Jeremy Reed's immediate problem is that
 textproc/py-elementtree should depend on py-expat but doesn't. 
 (When I first saw that mail I thought py-elementtree was part of the
 base Python, meaning that doing (2) would require splitting it and
 maybe other things into their own packages. But it isn't, and even in
 python31 there doesn't seem to be anything else in the base
 distribution that depends on expat stuff.)
 David A. Holland

Home | Main Index | Thread Index | Old Index