maintainer-feedback requested: [Bug 225052] lang/python: Fix PORTVERSION of this metaport

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 10 14:41:19 UTC 2018


Kyle Evans <kevans at freebsd.org> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to FreeBSD Python
<python at 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.


More information about the freebsd-python mailing list