py-dbf fails to byte-compile with the Python version forced to 2.4: byte-compiling /usr/local/lib/python2.4/site-packages/dbf/tables.py to tables.pyc File "/usr/local/lib/python2.4/site-packages/dbf/tables.py", line 1731 result._current = 0 if result else -1 ^ SyntaxError: invalid syntax byte-compiling /usr/local/lib/python2.4/site-packages/dbf/_io.py to _io.pyc byte-compiling /usr/local/lib/python2.4/site-packages/dbf/__init__.py to __init__.pyc writing byte-compilation script '/tmp/tmpJaSBOf.py' /usr/local/bin/python2.4 -O /tmp/tmpJaSBOf.py File "/ usr/local/lib/python2.4/site-packages/dbf/tables.py", line 1731 result._current = 0 if result else -1 ^ SyntaxError: invalid syntax removing /tmp/tmpJaSBOf.py USE_PYTHON is updated to require Python version 2.5+. This was noticed during a tinderbox build with the following options set: PYTHON_VERSION=python2.4 PYTHON_DEFAULT_VERSION=python2.4 Port maintainer (wen@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99
Responsible Changed From-To: freebsd-ports-bugs->wen Over to maintainer (via the GNATS Auto Assign Tool)
State Changed From-To: open->closed Committed.
glarkin 2010-08-18 14:10:54 UTC FreeBSD ports repository Modified files: databases/py-dbf Makefile Log: - Restrict USE_PYTHON to 2.5+ due to compilation errors with Python 2.4 PR: ports/149253 Submitted by: glarkin Approved by: wen (via email) Revision Changes Path 1.3 +1 -1 ports/databases/py-dbf/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"