[Fwd: python 2.5 upgrade: error in devel/py-sip]

Andriy Gapon avg at icyb.net.ua
Fri Oct 13 00:52:16 PDT 2006


Forwarding this here to get more attention. There was a number of
similar reports about failures in py-sip on ports at .

-------- Original Message --------
Subject: python 2.5 upgrade: error in devel/py-sip
Date: Wed, 11 Oct 2006 21:49:26 +0300
From: Andriy Gapon <avg at icyb.net.ua>
To: freebsd-ports at freebsd.org


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


-- 
Andriy Gapon


More information about the freebsd-python mailing list