From owner-freebsd-python@FreeBSD.ORG Sat Apr 20 09:56:42 2013 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 289CFF4 for ; Sat, 20 Apr 2013 09:56:42 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-ie0-x235.google.com (mail-ie0-x235.google.com [IPv6:2607:f8b0:4001:c03::235]) by mx1.freebsd.org (Postfix) with ESMTP id 00FB51588 for ; Sat, 20 Apr 2013 09:56:41 +0000 (UTC) Received: by mail-ie0-f181.google.com with SMTP id tp5so3131346ieb.12 for ; Sat, 20 Apr 2013 02:56:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=iuEKN5bRh1pE85NGfzvPor/T/tkCwjw5YxcJxaEzOBE=; b=Hlw/ynp09QtVu72S7L3madB33AGuIy3byfeItEfeXeXHKNFatZ1CDpj1iEDftx8oYB CfdsAG1tuiA3mo4HyL3fr5k9b8HPYxTz7lNON0GyKZK/O7rucof5d4G/zqhpw/rWvXsP x1SI3+dd76zjzTfIR3/yrje8XTkigV/ptLGq20xBQyB8Lp+XriBwL2QfuaDHe5ESM2Ab v+Ludl//NTmOFvbyz0jVChTVjg+mhTf0P8FygnF4CQb/TE/nLRAGRC84KXqRsqe0ccb/ AqILXKCnJHBb6rd+bfIT+K0roHkcbQEIoG7yAsrLdNuhzQu8I3dMG9Bey98j2cOqpqYO Dqrw== X-Received: by 10.50.197.170 with SMTP id iv10mr17146635igc.62.1366451801170; Sat, 20 Apr 2013 02:56:41 -0700 (PDT) MIME-Version: 1.0 Sender: utisoft@gmail.com Received: by 10.64.58.52 with HTTP; Sat, 20 Apr 2013 02:56:11 -0700 (PDT) In-Reply-To: References: From: Chris Rees Date: Sat, 20 Apr 2013 10:56:11 +0100 X-Google-Sender-Auth: FzwEtJ7UU2e6wLmDFznhzE-ik6I Message-ID: Subject: Re: building scons with default python3 To: Eitan Adler , gavin@16degrees.com.au Content-Type: text/plain; charset=ISO-8859-1 Cc: python X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Apr 2013 09:56:42 -0000 On 20 April 2013 04:48, Eitan Adler 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 > > .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