Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jan 2018 14:41:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 225052] lang/python: Fix PORTVERSION of this metaport
Message-ID:  <bug-225052-21822-zSXlwF6kPg@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-225052-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-225052-21822@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

Kyle Evans <kevans@freebsd.org> has reassigned Bugzilla Automation
<bugzilla@FreeBSD.org>'s request for maintainer-feedback to FreeBSD Python
<python@FreeBSD.org>:
Bug 225052: lang/python: Fix PORTVERSION of this metaport
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225052



--- Description ---
Created attachment 189591
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=189591&action=edit
svn(1) diff of lang/python

Assume that you specify DEFAULT_VERSIONS+= python=3.6 

The PORTVERSION of this metaport goes to 3.6, but it's still installing python2
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.


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225052-21822-zSXlwF6kPg>