NetBSD Problem Report #23999
Received: (qmail 28465 invoked by uid 605); 6 Jan 2004 02:18:26 -0000
Message-Id: <20040106021825.64D1711153@narn.netbsd.org>
Date: Tue, 6 Jan 2004 02:18:25 +0000 (UTC)
From: dotz@irc.pl
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: dotz@irc.pl
To: gnats-bugs@gnats.NetBSD.org
Subject: textproc/pyxml is inconsistently named and uses expat which is propably not needed
X-Send-Pr-Version: www-1.0
>Number: 23999
>Category: pkg
>Synopsis: textproc/pyxml is inconsistently named and uses expat which is propably not needed
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Jan 06 02:19:00 +0000 2004
>Closed-Date: Fri Jan 23 15:44:05 +0000 2004
>Last-Modified: Fri Jan 23 15:44:05 +0000 2004
>Originator: Michal Pasternak
>Release: N/A
>Organization:
>Environment:
N/A
>Description:
pyxml is inconsistently named.
In pkgsrc, Python modules are named with py- prefix.
pyxml includes buildlinks for expat. As I have tested -- I can't be
sure, but large chances are that it does NOT use expat (eg. comes
with expat already).
Compiled by hand, outside pkgsrc (and I don't have expat in basesystem):
mainframe# ldd /site-packages/_xmlplus/parsers/pyexpat.so
/site-packages/_xmlplus/parsers/pyexpat.so:
ainframe# python2p3
Python 2p3.2 (#1, Dec 21 2003, 01:25:53)
[GCC 2.95.4 20020320 [FreeBSD]] on freebsd4
Type "help", "copyright", "credits" or "license" for more information.
>How-To-Repeat:
-
>Fix:
Remove and re-import as py-xml.
Test if it needs expat, it propably doesn't. If it doesn't, remove expat
dependency.
Update its buildlink.
Update those packages to match rename:
net/py-soappy/Makefile:.include "../../textproc/pyxml/buildlink2.mk"
print/py-reportlab/Makefile:.include "../../textproc/pyxml/buildlink2.mk"
textproc/py-FourSuite/Makefile:#pyxml is needed at runtime to get pyexpat
textproc/py-FourSuite/Makefile:#.include "../../textproc/pyxml/buildlink2.mk"
textproc/py-xmltools/Makefile:.include "../../textproc/pyxml/buildlink2.mk"
time/gdeskcal/Makefile:.include "../../textproc/pyxml/buildlink2.mk"
wip/fluxspace/Makefile:.include "../../textproc/pyxml/buildlink2.mk"
wip/freevo/Makefile:.include "../../textproc/pyxml/buildlink2.mk"
wip/gramps/Makefile:.include "../../textproc/pyxml/buildlink2.mk"
wip/py-generateDS/Makefile:#.include "../../textproc/pyxml/buildlink2.mk"
wip/py-gnosis-utils/Makefile:.include "../../textproc/pyxml/buildlink2.mk"
www/zope25-ParsedXML/Makefile:.include "../../textproc/pyxml/buildlink2.mk"
>Release-Note:
>Audit-Trail:
From: Michal Pasternak <michal@pasternak.w.lub.pl>
To: dotz@irc.pl
Cc: gnats-bugs@gnats.NetBSD.org
Subject: Re: pkg/23999: textproc/pyxml is inconsistently named and uses expat which is propably not needed
Date: Tue, 6 Jan 2004 02:35:46 +0100
dotz@irc.pl [Tue, Jan 06, 2004 at 02:18:25AM +0000]:
> ainframe# python2p3
> Python 2p3.2 (#1, Dec 21 2003, 01:25:53)
> [GCC 2.95.4 20020320 [FreeBSD]] on freebsd4
> Type "help", "copyright", "credits" or "license" for more information.
Hah, seems like GNATS doesn't like default Python prompt. I demonstrated
here, that I am able to import module compiled without any references to
expat.
From: Marc Recht <recht@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: pr/23999 CVS commit: pkgsrc/textproc/py-xml
Date: Fri, 23 Jan 2004 15:25:53 +0000 (UTC)
Module Name: pkgsrc
Committed By: recht
Date: Fri Jan 23 15:25:53 UTC 2004
Update of /cvsroot/pkgsrc/textproc/py-xml
In directory ivanova.netbsd.org:/tmp/cvs-serv16806
Log Message:
Re-import of pyxml as py-xml to match Python module naming convention.
Addresses PR pkg/23999 by Michal Pasternak.
ok'ed by drochner@
The PyXML package is a collection of libraries to process XML with Python. It
contains, among other things
xmlproc: a validating XML parser.
sgmlop: a C helper module that can speed-up xmllib.py and sgmllib.py by a
factor of 5.
PySAX: SAX 1 and SAX2 libraries with drivers for most of the parsers.
4DOM: A fully compliant DOM Level 2 implementation
javadom: An adapter from Java DOM implementations to the standard Python
DOM binding.
pulldom: a DOM implementation that supports lazy instantiation of nodes.
marshal: a module with several options for serializing Python objects to
XML, including WDDX and XML-RPC.
unicode: a helper module for Python 1.5 users who need conversions between
UTF-8 and ISO-8859-?.
Status:
Vendor Tag: TNF
Release Tags: pkgsrc-base
N pkgsrc/textproc/py-xml/buildlink2.mk
N pkgsrc/textproc/py-xml/distinfo
N pkgsrc/textproc/py-xml/Makefile
N pkgsrc/textproc/py-xml/PLIST
N pkgsrc/textproc/py-xml/DESCR
N pkgsrc/textproc/py-xml/patches/patch-aa
No conflicts created by this import
State-Changed-From-To: open->closed
State-Changed-By: recht
State-Changed-When: Fri Jan 23 15:42:28 UTC 2004
State-Changed-Why:
Name changed in pkgsrc. The dependency on expat stays, though.
We want pkgsrc's pyxml to used pkgsrc expat. (Even though pyxml comes
with it's very own expat.)
Thanks for the PR!
>Unformatted:
>>> import _xmlplus.parsers.pyexpat
>>> [works! no missing symbols!]
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.