From owner-freebsd-python@freebsd.org  Sat Apr 18 19:03:06 2020
Return-Path: <owner-freebsd-python@freebsd.org>
Delivered-To: freebsd-python@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5569F2AA7FB
 for <freebsd-python@mailman.nyi.freebsd.org>;
 Sat, 18 Apr 2020 19:03:06 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org
 [IPv6:2610:1c1:1:606c::50:13])
 by mx1.freebsd.org (Postfix) with ESMTP id 494MmV1gqmz3FNq
 for <freebsd-python@freebsd.org>; Sat, 18 Apr 2020 19:03:06 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: by mailman.nyi.freebsd.org (Postfix)
 id 398B62AA7FA; Sat, 18 Apr 2020 19:03:06 +0000 (UTC)
Delivered-To: python@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 395472AA7F9
 for <python@mailman.nyi.freebsd.org>; Sat, 18 Apr 2020 19:03:06 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org
 [IPv6:2610:1c1:1:606c::19:3])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 server-signature RSA-PSS (4096 bits)
 client-signature RSA-PSS (4096 bits) client-digest SHA256)
 (Client CN "mxrelay.nyi.freebsd.org",
 Issuer "Let's Encrypt Authority X3" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 494MmV0s8mz3FNp
 for <python@FreeBSD.org>; Sat, 18 Apr 2020 19:03:06 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2610:1c1:1:606c::50:1d])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 server-signature RSA-PSS (4096 bits))
 (Client did not present a certificate)
 by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 18DC1192F6
 for <python@FreeBSD.org>; Sat, 18 Apr 2020 19:03:06 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: from kenobi.freebsd.org ([127.0.1.5])
 by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 03IJ35pX005894
 for <python@FreeBSD.org>; Sat, 18 Apr 2020 19:03:05 GMT
 (envelope-from bugzilla-noreply@freebsd.org)
Received: (from www@localhost)
 by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 03IJ35Ni005893
 for python@FreeBSD.org; Sat, 18 Apr 2020 19:03:05 GMT
 (envelope-from bugzilla-noreply@freebsd.org)
X-Authentication-Warning: kenobi.freebsd.org: www set sender to
 bugzilla-noreply@freebsd.org using -f
From: bugzilla-noreply@freebsd.org
To: python@FreeBSD.org
Subject: [Bug 241463] devel/scons: flavor scons for python3
Date: Sat, 18 Apr 2020 19:03:04 +0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Ports & Packages
X-Bugzilla-Component: Individual Port(s)
X-Bugzilla-Version: Latest
X-Bugzilla-Keywords: feature, needs-qa
X-Bugzilla-Severity: Affects Some People
X-Bugzilla-Who: ronald-lists@klop.ws
X-Bugzilla-Status: Open
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: sunpoet@FreeBSD.org
X-Bugzilla-Flags: maintainer-feedback? exp-run?
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-241463-21822-tpW0oUzs30@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-241463-21822@https.bugs.freebsd.org/bugzilla/>
References: <bug-241463-21822@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-python@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-python>, 
 <mailto:freebsd-python-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python/>
List-Post: <mailto:freebsd-python@freebsd.org>
List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-python>,
 <mailto:freebsd-python-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 18 Apr 2020 19:03:06 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241463

--- Comment #25 from Ronald Klop <ronald-lists@klop.ws> ---
To all cc's on this issue.

The difficulty is not to run scons with python 2 or 3. Since scons 3.x supp=
orts
both python versions. See https://scons.org/tag/releases.html.

The difficulty is that the SConstruct files of other ports are written in
python 2 (like mongodb36) or 3 (like upcoming mongodb42). Our current ports
framework has no way to create both versions of scons.

We can't create ports using scons with python3 as long as there are ports
needing scons with python2.

The first line of /usr/local/bin/scons says "#!/usr/local/bin/python2.7". T=
hat
is the only line which need to be changed to run with python3. But we curre=
ntly
can't do that.

My solution would be to flavor the port and create a py27-scons and py37-sc=
ons.
The pkg build infrastructure can than use the one it needs.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=