From glarkin@sourcehosting.net  Tue Aug  3 21:19:25 2010
Return-Path: <glarkin@sourcehosting.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 0BAB01065677
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  3 Aug 2010 21:19:25 +0000 (UTC)
	(envelope-from glarkin@sourcehosting.net)
Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11])
	by mx1.freebsd.org (Postfix) with ESMTP id DA8AB8FC0C
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  3 Aug 2010 21:19:24 +0000 (UTC)
Received: from 68-189-245-235.dhcp.oxfr.ma.charter.com ([68.189.245.235] helo=cube.entropy.prv)
	by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD))
	(envelope-from <glarkin@sourcehosting.net>)
	id 1OgOtJ-000FYA-2D; Tue, 03 Aug 2010 17:19:23 -0400
Received: from fbsd70.entropy.prv (fbsd70.entropy.prv [192.168.1.14])
	by cube.entropy.prv (Postfix) with ESMTP
	id C1E504340AB3; Tue,  3 Aug 2010 17:19:16 -0400 (EDT)
Received: from fbsd70.entropy.prv (localhost [127.0.0.1])
	by fbsd70.entropy.prv (8.14.2/8.14.2) with ESMTP id o73LJGiF063946;
	Tue, 3 Aug 2010 17:19:16 -0400 (EDT)
	(envelope-from glarkin@fbsd70.entropy.prv)
Received: (from glarkin@localhost)
	by fbsd70.entropy.prv (8.14.2/8.14.2/Submit) id o73LJFMZ063945;
	Tue, 3 Aug 2010 17:19:15 -0400 (EDT)
	(envelope-from glarkin)
Message-Id: <201008032119.o73LJFMZ063945@fbsd70.entropy.prv>
Date: Tue, 3 Aug 2010 17:19:15 -0400 (EDT)
From: Greg Larkin <glarkin@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: gslin@gslin.org
Subject: [PATCH] databases/py-pylibmc: Restrict Python version to 2.5+
X-Send-Pr-Version: 3.113
X-GNATS-Notify: gslin@gslin.org

>Number:         149252
>Category:       ports
>Synopsis:       [PATCH] databases/py-pylibmc: Restrict Python version to 2.5+
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-python
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 03 21:20:06 UTC 2010
>Closed-Date:    Wed Aug 04 06:10:04 UTC 2010
>Last-Modified:  Wed Aug  4 06:20:09 UTC 2010
>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:
pylibmc fails to build with Python forced to version 2.4:

copying build/lib.freebsd-8.0-RC2-i386-2.4/pylibmc.py -> /usr/local/lib/python2.4/site-packages
copying build/lib.freebsd-8.0-RC2-i386-2.4/_pylibmc.so -> /usr/local/lib/python2.4/site-packages
byte-compiling /usr/local/lib/python2.4/site-packages/pylibmc.py to pylibmc.pyc
SyntaxError: ('future feature with_statement is not defined',)
writing byte-compilation script '/tmp/tmp1TnhkC.py'
/usr/local/bin/python2.4 -O /tmp/tmp1TnhkC.py
SyntaxError: ('future feature with_statement is not defined',)
removing /tmp/tmp1TnhkC.py

I changed USE_PYTHON to 2.5+ to restrict the Python version.

Port maintainer (gslin@gslin.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- py25-pylibmc-1.1.1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/databases/py-pylibmc/Makefile,v
retrieving revision 1.5
diff -u -u -r1.5 Makefile
--- Makefile	6 Jul 2010 02:30:03 -0000	1.5
+++ Makefile	3 Aug 2010 21:17:35 -0000
@@ -17,7 +17,7 @@
 LIB_DEPENDS=	memcached:${PORTSDIR}/databases/libmemcached
 
 MAKE_ENV+=	LIBMEMCACHED="${LOCALBASE}"
-USE_PYTHON=	yes
+USE_PYTHON=	2.5+
 USE_PYDISTUTILS=	yes
 
 .include <bsd.port.mk>
--- py25-pylibmc-1.1.1.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Aug 3 21:20:18 UTC 2010 
Responsible-Changed-Why:  
freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=149252 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Tue Aug 3 21:20:24 UTC 2010 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=149252 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: gslin@gslin.org
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/149252: [PATCH] databases/py-pylibmc: Restrict Python version to 2.5+
Date: Tue, 3 Aug 2010 21:20:22 UT

 Maintainer of databases/py-pylibmc,
 
 Please note that PR ports/149252 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/149252
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Gea-Suan Lin <gslin@gslin.org>
To: bug-followup@FreeBSD.org
Cc: gslin@gslin.org
Subject: Re: ports/149252: [PATCH] databases/py-pylibmc: Restrict Python
 version to 2.5+
Date: Wed, 4 Aug 2010 12:12:15 +0800

 Thanks, please commit it.
 
State-Changed-From-To: feedback->open 
State-Changed-By: linimon 
State-Changed-When: Wed Aug 4 04:45:18 UTC 2010 
State-Changed-Why:  
Maintainer approved. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=149252 
State-Changed-From-To: open->closed 
State-Changed-By: lwhsu 
State-Changed-When: Wed Aug 4 06:10:03 UTC 2010 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=149252 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/149252: commit references a PR
Date: Wed,  4 Aug 2010 06:10:11 +0000 (UTC)

 lwhsu       2010-08-04 06:09:50 UTC
 
   FreeBSD ports repository
 
   Modified files:
     databases/py-pylibmc Makefile 
   Log:
   - Restrict Python version to 2.5+
   
   PR:             ports/149252
   Submitted by:   glarkin
   Approved by:    Gea-Suan Lin <gslin AT gslin.org> (maintainer)
   
   Revision  Changes    Path
   1.6       +1 -1      ports/databases/py-pylibmc/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"
 
>Unformatted:
