python 2.5 upgrade: error in devel/py-sip
Andriy Gapon
avg at icyb.net.ua
Wed Oct 11 11:49:34 PDT 2006
devel/py-sip port failed to get upgraded to python 2.5 using standard
procedure. This port is used by py-qt which is used by some python GUI
applications.
The reason for the failure is changes in object.h, struct
PyHeapTypeObject: fields type and name were renamed in 2.5 to ht_type
and ht_name correspondingly. I was able to get the port updated and
working [tested] by simply blanket replacing occurrences of "super.type"
and "super.name" with "super.ht_type" and "super.ht_name".
Thus the port probably needs to have a python-version-specific patch.
P.S. the port doesn't seem to have a maintainer.
--
Andriy Gapon
More information about the freebsd-ports
mailing list