Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Oct 2006 10:52:09 +0300
From:      Andriy Gapon <avg@icyb.net.ua>
To:        python@FreeBSD.org
Subject:   [Fwd: python 2.5 upgrade: error in devel/py-sip]
Message-ID:  <452F45A9.3020203@icyb.net.ua>

next in thread | raw e-mail | index | archive | help

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

-------- 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@icyb.net.ua>
To: freebsd-ports@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?452F45A9.3020203>