[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


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

            Bug ID: 225052
           Summary: lang/python: Fix PORTVERSION of this metaport
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: python at FreeBSD.org
          Reporter: kevans at freebsd.org
          Assignee: python at FreeBSD.org
             Flags: maintainer-feedback?(python at FreeBSD.org)

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-python mailing list