Date: Thu, 5 Aug 2010 14:00:30 -0400 (EDT) From: Greg Larkin <glarkin@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: wenheping@gmail.com Subject: ports/149336: [PATCH] devel/py-RPyC: Restrict Python version to 2.5+ Message-ID: <201008051800.o75I0U1X005506@fbsd70.entropy.prv> Resent-Message-ID: <201008051810.o75IA4c8090032@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 149336 >Category: ports >Synopsis: [PATCH] devel/py-RPyC: Restrict Python version to 2.5+ >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Aug 05 18:10:04 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Greg Larkin >Release: FreeBSD 7.0-RELEASE i386 >Organization: The FreeBSD Project >Environment: System: FreeBSD fbsd70.entropy.prv 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 >Description: py-RPyC fails to build correctly with Python 2.4 installed as the default Python version: creating /usr/local/lib/python2.4/site-packages/rpyc-3.0.6-py2.4.egg Extracting rpyc-3.0.6-py2.4.egg to /usr/local/lib/python2.4/site-packages File "/usr/local/lib/python2.4/site-packages/rpyc-3.0.6-py2.4.egg/rpyc/utils/server.py", line 217 finally: ^ SyntaxError: invalid syntax File "/usr/local/lib/python2.4/site-packages/rpyc-3.0.6-py2.4.egg/rpyc/utils/server.py", line 217 finally: ^ SyntaxError: invalid syntax Adding rpyc 3.0.6 to easy-install.pth file 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 (wenheping@gmail.com) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- py25-rpyc-3.0.6.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/devel/py-RPyC/Makefile,v retrieving revision 1.5 diff -u -u -r1.5 Makefile --- Makefile 22 Aug 2009 00:18:24 -0000 1.5 +++ Makefile 5 Aug 2010 17:58:21 -0000 @@ -14,7 +14,7 @@ MAINTAINER= wenheping@gmail.com COMMENT= Remote Python Call -USE_PYTHON= yes +USE_PYTHON= 2.5+ USE_PYDISTUTILS= easy_install .include <bsd.port.mk> --- py25-rpyc-3.0.6.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008051800.o75I0U1X005506>