From owner-freebsd-python@FreeBSD.ORG Mon May 6 09:10:16 2013 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B51FDF14; Mon, 6 May 2013 09:10:16 +0000 (UTC) (envelope-from gavin@16degrees.com.au) Received: from nschwmtas04p.mx.bigpond.com (nschwmtas04p.mx.bigpond.com [61.9.189.146]) by mx1.freebsd.org (Postfix) with ESMTP id E7E1AFE7; Mon, 6 May 2013 09:10:15 +0000 (UTC) Received: from nschwcmgw08p ([61.9.190.168]) by nschwmtas04p.mx.bigpond.com with ESMTP id <20130506091008.CCXM2030.nschwmtas04p.mx.bigpond.com@nschwcmgw08p>; Mon, 6 May 2013 09:10:08 +0000 Received: from destiny ([58.165.58.152]) by nschwcmgw08p with BigPond Outbound id YZA71l00v3H3ywy01ZA7bM; Mon, 06 May 2013 09:10:08 +0000 X-Authority-Analysis: v=2.0 cv=LvIQOwhc c=1 sm=1 a=UyMc7yCKxiitEq2vt7XlUA==:17 a=BVCiPnrLx-MA:10 a=IkcTkHD0fZMA:10 a=dPzNn9bWAAAA:8 a=GW6oPkUQh54A:10 a=uyavkMrdAAAA:8 a=6I5d2MoRAAAA:8 a=BnQwCuanYn27MR9PpZsA:9 a=QEXdDO2ut3YA:10 a=JGX6LFFZUg8A:10 a=SV7veod9ZcQA:10 a=UyMc7yCKxiitEq2vt7XlUA==:117 From: "Gavin McDonald" To: "'Eitan Adler'" , "'Chris Rees'" References: In-Reply-To: Subject: RE: building scons with default python3 Date: Mon, 6 May 2013 19:10:08 +1000 Organization: 16 degrees complete web solutions Message-ID: <42db01ce4a39$81c892c0$8559b840$@16degrees.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQHENuio1e0l6vUBZof9tMtCwBj2RAEBXKCbAreU3ZWY7jyGcA== Content-Language: en-au Cc: 'python' X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: gavin@16degrees.com.au List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 May 2013 09:10:16 -0000 > -----Original Message----- > From: Eitan Adler [mailto:lists@eitanadler.com] > Sent: Thursday, 2 May 2013 1:24 PM > To: Chris Rees > Cc: gavin@16degrees.com.au; python > Subject: Re: building scons with default python3 >=20 > On 20 April 2013 05:56, Chris Rees wrote: > > On 20 April 2013 04:48, Eitan Adler wrote: > >> What do you think of the following? > >> > >> This fixes issue with PYTHON_DEFAULT_VERSION=3Dpython3.3 > >> > >> > >> Index: Makefile > >> > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D > >> --- Makefile (revision 315795) > >> +++ Makefile (working copy) > >> @@ -25,6 +25,8 @@ PYDISTUTILS_EGGINFODIR=3D = ${PREFIX}/lib/scons- > ${PORT > >> > >> PLIST_SUB+=3D SCONS_VER=3D${PORTVERSION} > >> > >> +USE_PYTHON=3D -2.7 > >> + > >> .include > >> > >> .if defined (NO_INSTALL_MANPAGES) > >> Index: files/patch-script__scons > >> > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D > >> --- files/patch-script__scons (revision 0) > >> +++ files/patch-script__scons (working copy) > >> @@ -0,0 +1,8 @@ > >> +--- ./script/scons.orig 2013-04-19 23:35:11.656613793 -0400 > >> ++++ ./script/scons 2013-04-19 23:35:16.127614561 -0400 > >> +@@ -1,4 +1,4 @@ > >> +-#! /usr/bin/env python > >> ++#! /usr/bin/env python2 > >> + # > >> + # SCons - a Software Constructor > >> + # > >> > >> Property changes on: files/patch-script__scons > >> > __________________________________________________________ > _________ > >> Added: fbsd:nokeywords > >> ## -0,0 +1 ## > >> +yes > >> \ No newline at end of property > >> Added: svn:eol-style > >> ## -0,0 +1 ## > >> +native > >> \ No newline at end of property > >> Added: svn:mime-type > >> ## -0,0 +1 ## > >> +text/plain > >> \ No newline at end of property > > > > The port is very out of date; the latest version claims to only > > support Python 2.7, they are hoping to support Python 3. > > > > What does the maintainer think? >=20 > Gavin, Any thoughts? Looks good to me, can we incorporate this into the current patch ? http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/178277 (I'd love to commit the patch myself btw) fwiw, yeah scons list still debating how to deal with 3.0 So that the PR doesn=E2=80=99t time out I will respond to that = independent of this, suggesting the addition above. Thanks Gav... >=20 > -- > Eitan Adler