Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jul 2010 19:13:35 +0100
From:      David Southwell <david@vizion2000.net>
To:        freebsd-ports@freebsd.org
Subject:   Re: net-im/telepathy-haze Build fail
Message-ID:  <201007281913.35648.david@vizion2000.net>
In-Reply-To: <BA37D8D2-6369-4041-8D02-C5C62E97A420@mac.com>
References:  <201007281800.47169.david@vizion2000.net> <BA37D8D2-6369-4041-8D02-C5C62E97A420@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> On Jul 28, 2010, at 10:00 AM, David Southwell wrote:
> > This is a python error.  Is anyone sufficiently familiar with python to
> > take a look at tools/glib-signals-marshall-gen.py.
> > Is all  the code in that script strict enough for python 3.
> 
> No, that script contains syntax that doesn't work with Python 3:
> > File "../tools/glib-signals-marshal-gen.py", line 49
> > 
> >    print 'VOID:' + ','.join(rhs)
> >    
> >                ^
> > 
> > SyntaxError: invalid syntax
> 
> See:
> 
>  
> http://docs.python.org/release/3.0.1/whatsnew/3.0.html#print-is-a-function
> 
> This one change alone is so fundamental that you should assume that almost
> no python-2 code will run under python-3 without changes....
> 
> Regards,
In that case should the port not call for 26? 

Here is an extract from my pkgdb from which you can see python26 is installed 
on the system. If the port needs 26 surely should it not call for it as a 
dependency rather than failing because python31-3.1.2_1 is present??

David

dns1# pkg_info |grep python
ap22-mod_python-3.3.1_3 Apache module that embeds the Python interpreter 
within the
boost-python-libs-1.43.0 Framework for interfacing Python and C++
libopensync-plugin-python-devel-0.36_2 Python plugin for the OpenSync 
framework
py25-kdebindings-krosspython-4.4.5 Kross Python scripting library
py26-dnspython-1.8.0 A DNS toolkit for Python
py26-gtksourceview-2.10.1 A python bindings for the version 2 of the 
GtkSourceView li
py26-notify-0.1.1_7 A python bindings for libnotify
py26-telepathy-python-0.15.17 Python bindings for the Telepathy framework
py26-xdg-0.19       A python library to access freedesktop.org standards
python25-2.5.5_1    An interpreted object-oriented programming language
python26-2.6.5_1    An interpreted object-oriented programming language
python31-3.1.2_1    An interpreted object-oriented programming language

Photographic Artist
Permanent Installations & Design
Creative Imagery and Advanced Digital Techniques
High Dynamic Range Photography & Official Portraiture
Combined darkroom & digital creations
& Systems Adminstrator for the vizion2000.net network



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