building scons with default python3

Gavin McDonald gavin at 16degrees.com.au
Tue May 7 00:06:48 UTC 2013


Ok so I see this was already committed in r317412.

Apologies for missing a mail, I only saw this last week.

Ignore my comment to wait for the other patch.

Gav...

> -----Original Message-----
> From: Gavin McDonald [mailto:gavin at 16degrees.com.au]
> Sent: Monday, 6 May 2013 7:10 PM
> To: 'Eitan Adler'; 'Chris Rees'
> Cc: 'python'
> Subject: RE: building scons with default python3
> 
> 
> 
> > -----Original Message-----
> > From: Eitan Adler [mailto:lists at eitanadler.com]
> > Sent: Thursday, 2 May 2013 1:24 PM
> > To: Chris Rees
> > Cc: gavin at 16degrees.com.au; python
> > Subject: Re: building scons with default python3
> >
> > On 20 April 2013 05:56, Chris Rees <crees at freebsd.org> wrote:
> > > On 20 April 2013 04:48, Eitan Adler <lists at eitanadler.com> wrote:
> > >> What do you think of the following?
> > >>
> > >> This fixes issue with PYTHON_DEFAULT_VERSION=python3.3
> > >>
> > >>
> > >> Index: Makefile
> > >>
> >
> ==========================================================
> > =========
> > >> --- Makefile    (revision 315795)
> > >> +++ Makefile    (working copy)
> > >> @@ -25,6 +25,8 @@ PYDISTUTILS_EGGINFODIR=
> ${PREFIX}/lib/scons-
> > ${PORT
> > >>
> > >>  PLIST_SUB+=    SCONS_VER=${PORTVERSION}
> > >>
> > >> +USE_PYTHON=    -2.7
> > >> +
> > >>  .include <bsd.port.pre.mk>
> > >>
> > >>  .if defined (NO_INSTALL_MANPAGES)
> > >> Index: files/patch-script__scons
> > >>
> >
> ==========================================================
> > =========
> > >> --- 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?
> >
> > Gavin, Any thoughts?
> 
> Looks good to me, can we incorporate this into the current patch ?
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/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’t time out I will respond to that independent of this,
> suggesting the addition above.
> 
> Thanks
> 
> Gav...
> >
> > --
> > Eitan Adler



More information about the freebsd-python mailing list