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: ports/149252: [PATCH] databases/py-pylibmc: Restrict Python version to 2.5+ Message-ID: <201008032119.o73LJFMZ063945@fbsd70.entropy.prv> Resent-Message-ID: <201008032120.o73LK6uP060695@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 149252 >Category: ports >Synopsis: [PATCH] databases/py-pylibmc: 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: Tue Aug 03 21:20:06 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: 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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008032119.o73LJFMZ063945>