Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Oct 2006 06:46:25 +0200
From:      Thomas Maack Nielsen <bsd-dk@svampen.dk>
To:        freebsd-ports@freebsd.org
Subject:   devel/py-utils build error
Message-ID:  <20061013064219.C8C8.BSD-DK@svampen.dk>

next in thread | raw e-mail | index | archive | help
After upgrading to python 2.5 i get the following builderror with
devel/py-utils

[root@defender /usr/ports/devel/py-utils]# make install clean
===>  Extracting for py25-utils-0.2.5
=> MD5 Checksum OK for downman.py?file=pythonutils-0.2.5.zip.
=> SHA256 Checksum OK for downman.py?file=pythonutils-0.2.5.zip.
===>   py25-utils-0.2.5 depends on executable in : unzip - found
===>  Patching for py25-utils-0.2.5
===>   py25-utils-0.2.5 depends on file: /usr/local/bin/python - found
===>  Configuring for py25-utils-0.2.5
Traceback (most recent call last):
  File "setup.py", line 25, in <module>
    from pythonutils import __version__ as VERSION
  File "/usr/ports/devel/py-utils/work/pythonutils-0.2.5/pythonutils/__init__.py", line 28, in <module>
    from pathutils import *
  File "/usr/ports/devel/py-utils/work/pythonutils-0.2.5/pythonutils/pathutils.py", line 23
    from __future__ import generators
SyntaxError: from __future__ imports must occur at the beginning of the file
*** Error code 1

Regards,

Thomas Maack Nielsen




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061013064219.C8C8.BSD-DK>