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:   [Bug 225052] lang/python: Fix PORTVERSION of this metaport
Message-ID:  <bug-225052-21822@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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@FreeBSD.org
          Reporter: kevans@freebsd.org
          Assignee: python@FreeBSD.org
             Flags: maintainer-feedback?(python@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.

help

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