Subject: pkg/23999: textproc/pyxml is inconsistently named and uses expat which is propably not needed
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <dotz@irc.pl>
List: netbsd-bugs
Date: 01/06/2004 02:18:25
>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: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Jan 06 02:19:00 UTC 2004
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:
>>> import _xmlplus.parsers.pyexpat
>>> [works! no missing symbols!]