From owner-freebsd-python@freebsd.org Thu Oct 24 12:28:48 2019 Return-Path: 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 A8D2216B6AA for ; Thu, 24 Oct 2019 12:28:48 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 46zRPD1Z1cz3C0V for ; Thu, 24 Oct 2019 12:28:48 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: by mailman.nyi.freebsd.org (Postfix) id 33F1416B6A6; Thu, 24 Oct 2019 12:28:48 +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 339D116B6A5; Thu, 24 Oct 2019 12:28:48 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp-relay-int.realworks.nl (smtp-relay-int.realworks.nl [194.109.157.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46zRPB64k2z3C0T; Thu, 24 Oct 2019 12:28:46 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Date: Thu, 24 Oct 2019 14:28:44 +0200 (CEST) From: Ronald Klop To: Sunpoet Po-Chuan Hsieh , freebsd-ports@freebsd.org, Eir Nym , python@FreeBSD.org Message-ID: <1115438667.1.1571920124420@localhost> In-Reply-To: <325146469.1.1571911745408@localhost> References: <325146469.1.1571911745408@localhost> Subject: Re: scons and python3? MIME-Version: 1.0 X-Mailer: Realworks (481.1429.e6f667d16eb) Importance: Normal X-Priority: 3 (Normal) X-Rspamd-Queue-Id: 46zRPB64k2z3C0T X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of ronald-lists@klop.ws designates 194.109.157.24 as permitted sender) smtp.mailfrom=ronald-lists@klop.ws X-Spamd-Result: default: False [1.86 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.09)[-0.086,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:194.109.157.0/24]; NEURAL_HAM_LONG(-0.22)[-0.224,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_NA(0.00)[klop.ws]; TO_DN_SOME(0.00)[]; URI_COUNT_ODD(1.00)[17]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[24.157.109.194.list.dnswl.org : 127.0.15.0]; HAS_X_PRIO_THREE(0.00)[3]; IP_SCORE(-0.03)[ipnet: 194.109.0.0/16(-0.16), asn: 3265(-0.00), country: NL(0.02)]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL]; MIME_TRACE(0.00)[0:+,1:+,2:~] Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2019 12:28:48 -0000 I created PR 241463 with my changes. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241463 This works for me to create a new port (mongodb42) using scons+python3. And it is backwards compatible for existing ports with python2 AFAIK. If this needs more work from my side, please tell. Regards, Ronald. Van: Ronald Klop Datum: donderdag, 24 oktober 2019 12:09 Aan: freebsd-ports@freebsd.org, Sunpoet Po-Chuan Hsieh , Eir Nym Onderwerp: Re: scons and python3? > > Cc-ing some of the people from the PRs. I don't know if they are still interested. > > Would a master ports construction be a possible solution to the scons+python3 problem? > > diff -urN /usr/ports/devel/scons/Makefile devel/scons/Makefile > --- /usr/ports/devel/scons/Makefile 2019-10-02 21:51:04.000000000 +0200 > +++ devel/scons/Makefile 2019-10-24 11:48:48.997995000 +0200 > @@ -14,7 +14,7 @@ > > RUN_DEPENDS= gm4:devel/m4 > > -USES= python:2.7 shebangfix > +USES?= python:2.7 shebangfix > USE_PYTHON= autoplist distutils > > NO_ARCH= yes > > > And the sub-port: > $ cat devel/scons-py3/Makefile > # $FreeBSD: head/devel/scons/Makefile 513618 2019-10-02 19:51:04Z sunpoet $ > > MASTERDIR= ${.CURDIR}/../scons > PKGNAMESUFFIX= -py3 > USES= python:3.5+ shebangfix > > .include "${MASTERDIR}/Makefile" > > > With a little adjustment of /usr/ports/Mk/Uses/scons.mk this might work or not? > Addition of ${scons_ARGS}=py3 maybe? > (I'm not a master of the ports system, so please enlighten me if I miss something.) > > Regards, > Ronald. > > PS: My goal is still a port of mongodb42 which requires python3 for SCons. > > > Van: Ronald Klop > Datum: maandag, 21 oktober 2019 22:22 > Aan: freebsd-ports@freebsd.org > Onderwerp: scons and python3? > > > > Hi, > > > > For porting mongodb42 I need scons with python3. > > There are some attempts on making the scons port flavored, but that did > > not work out. > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237122 > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230734 > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239792 > > > > What is the way forward? > > - A port like scons-py3 as a slave port of scons? > > - If I could overwrite MAKE_CMD to "MAKE_CMD=python3 ${SCONS}" it would > > help, but it is fixed in /usr/ports/Mk/Uses/scons.mk > > > > Any thoughts? > > > > Regards, > > > > Ronald. > > _______________________________________________ > > freebsd-ports@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > > > > > > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > > > From owner-freebsd-python@freebsd.org Thu Oct 24 18:26:47 2019 Return-Path: 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 38C56176A00 for ; Thu, 24 Oct 2019 18:26:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 46zbLH0mrFz4RHZ for ; Thu, 24 Oct 2019 18:26:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 188551769FF; Thu, 24 Oct 2019 18:26:47 +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 173E81769FE for ; Thu, 24 Oct 2019 18:26:47 +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 46zbLG6q8Zz4RHY for ; Thu, 24 Oct 2019 18:26:46 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CD88A1A474 for ; Thu, 24 Oct 2019 18:26:46 +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 x9OIQkxr085970 for ; Thu, 24 Oct 2019 18:26:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x9OIQkJj085918 for python@FreeBSD.org; Thu, 24 Oct 2019 18:26:46 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 241416] [NEW PORT] lang/python38 Date: Thu, 24 Oct 2019 18:26:46 +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 Only Me X-Bugzilla-Who: amdmi3@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: amdmi3@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2019 18:26:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241416 --- Comment #2 from Dmitry Marakasov --- > Need to integrate this with https://reviews.freebsd.org/D19822 Umm, why? This patch supersedes that review completely, it could just be dropped. --=20 You are receiving this mail because: You are on the CC list for the bug.=