From owner-freebsd-python@FreeBSD.ORG Thu May 2 03:24:06 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 2C12D8E8 for ; Thu, 2 May 2013 03:24:06 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-we0-x232.google.com (mail-we0-x232.google.com [IPv6:2a00:1450:400c:c03::232]) by mx1.freebsd.org (Postfix) with ESMTP id B884811AE for ; Thu, 2 May 2013 03:24:05 +0000 (UTC) Received: by mail-we0-f178.google.com with SMTP id t11so109212wey.23 for ; Wed, 01 May 2013 20:24:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=lVXKplL9TcGYBh1uND/6kLnYh5uZtQClVln95ek/h1w=; b=fYg9v78aWLcqawIqoqitcyEyEgCTJ3zGodyjQRftYNiBDDAKYZklYDSEskA0lMmkxt 2mxCkQQW9iWfORhr5F9Y5995m4k80W73yRhUdX45x5Gje2y42z7mjvvAmyMAUP6htk3X WE+nIsX+ZFh4ZDAYjuAn6RM0/ru96Jg+88t3I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:x-gm-message-state; bh=lVXKplL9TcGYBh1uND/6kLnYh5uZtQClVln95ek/h1w=; b=GbFGxoPuZ8Tg7WClTiJ+5pxEtn5YZTJKGEKQhtYdsBlBxlxGySazddXo0SFyWBDgJl /ImSIxmZEvcC86rmVmS6yQ9iamsaxeTZcSODY5I/eeKuzvxt+ZNKMqCevb+AS6EGfwrG gEcUvWESii6td5vuUkrOW26LWqtMnnAYspMmu6oEJmklIKw9ClUfdfYn4aYwFob0X/sq rFw0Yo8x+HmVVuH5EoJ6Tz6CfHvnqh3pR50cJgeIR9yUYGyCMkdN4EbdieHf5icZ4ZbJ 4CTBC8D8sNN7PjFzlEFjHd7oFK1S+E8I/Sx2vlPoFBZI8xun27L3R9Su6TtadmKO9uiy Y/Sw== X-Received: by 10.194.47.176 with SMTP id e16mr5288674wjn.46.1367465044724; Wed, 01 May 2013 20:24:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.122.74 with HTTP; Wed, 1 May 2013 20:23:34 -0700 (PDT) In-Reply-To: References: From: Eitan Adler Date: Wed, 1 May 2013 23:23:34 -0400 Message-ID: Subject: Re: building scons with default python3 To: Chris Rees Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQkO3P3O83ZWrBH0dwR/hGM5IhIWlzogCvKiXtPxL3WzvJpo1a9Gjv2muMGtse1VY9HHogEF Cc: gavin@16degrees.com.au, 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: Thu, 02 May 2013 03:24:06 -0000 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=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? Gavin, Any thoughts? -- Eitan Adler