From owner-freebsd-python@freebsd.org Wed Jan 10 14:41:19 2018 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 011BEE5C542 for ; Wed, 10 Jan 2018 14:41:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id D5AE577CBC for ; Wed, 10 Jan 2018 14:41:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id D22FAE5C540; Wed, 10 Jan 2018 14:41:18 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D1DE8E5C53D for ; Wed, 10 Jan 2018 14:41:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B97C077CBA for ; Wed, 10 Jan 2018 14:41:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id AE5681C2B4 for ; Wed, 10 Jan 2018 14:41:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0AEfIPp067769 for ; Wed, 10 Jan 2018 14:41:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0AEfIdq067764 for python@FreeBSD.org; Wed, 10 Jan 2018 14:41:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: maintainer-feedback requested: [Bug 225052] lang/python: Fix PORTVERSION of this metaport Date: Wed, 10 Jan 2018 14:41:18 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: 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.25 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jan 2018 14:41:19 -0000 Kyle Evans has reassigned Bugzilla Automation 's request for maintainer-feedback to FreeBSD Python : Bug 225052: lang/python: Fix PORTVERSION of this metaport https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225052 --- Description --- Created attachment 189591 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D189591&action= =3Dedit svn(1) diff of lang/python Assume that you specify DEFAULT_VERSIONS+=3D python=3D3.6=20 The PORTVERSION of this metaport goes to 3.6, but it's still installing pyt= hon2 as /usr/local/bin/python. This seems nonsensical, and possibly misleading, since I would expect that to mean the /usr/local/bin/python it installs is = 3.6. Use PYTHON_PORTVERSION instead, which lines up with all of the uses of PYTHON_MAJOR_VER. Eventually it would be nice to switch all of this over to reflecting the default python version so that python3 can be installed as /usr/local/bin/python, but I'd guess we would need to do an audit of all of= the python2 ports and make sure they're not doing "/usr/bin/env python" and expecting python 2.