Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Apr 2013 10:56:11 +0100
From:      Chris Rees <crees@FreeBSD.org>
To:        Eitan Adler <lists@eitanadler.com>, gavin@16degrees.com.au
Cc:        python <python@freebsd.org>
Subject:   Re: building scons with default python3
Message-ID:  <CADLo838p4NtVG4z579oAFWh_BWsCtMXtWzpK_nMQTvfxER4Ddw@mail.gmail.com>
In-Reply-To: <CAF6rxgmKbEdG=hOjuSHkjQb4q_yRTbWjxBkzNLF9spg-OA1Wpw@mail.gmail.com>
References:  <CAF6rxgmKbEdG=hOjuSHkjQb4q_yRTbWjxBkzNLF9spg-OA1Wpw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 20 April 2013 04:48, Eitan Adler <lists@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?

Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo838p4NtVG4z579oAFWh_BWsCtMXtWzpK_nMQTvfxER4Ddw>