ports/149336: [PATCH] devel/py-RPyC: Restrict Python version to 2.5+

Greg Larkin glarkin at FreeBSD.org
Thu Aug 5 18:10:05 UTC 2010


>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 at 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 at 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:



More information about the freebsd-ports-bugs mailing list