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

David Naylor <d...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |d...@freebsd.org

--- Comment #16 from David Naylor <d...@freebsd.org> ---
I would like to add my 2c on PYTHON_VERSION: 

There are, I think, two situations where PYTHON_VERSION adds functionality that
FLAVORS does not provide:
 - if a port supports multiple versions of python but does not support FLAVORS
(for example end user programs[1]).  
 - if a port supports multiple versions of python but is only a consumer of
python (be it for building or for support scripts at runtime)

In both these cases if someone wants to use a different version of python,
without changing the default version of python, then PYTHON_VERSION is the
recommended (and currently supported) way.  

I do, however, think FLAVORS and PYTHON_VERSION need to be enhanced,
specifically:
 - setting PYTHON_VERSION then forces the default FLAVOR, and
 - setting PYTHON_VERSION outside the range of FLAVORS gets that version added
to FLAVORS

Alternatively, we need to drop support for using using non-default versions of
python (and correctly handle when a port does not support a default version).

[1] See the discussion around textproc/meld:
https://lists.freebsd.org/pipermail/svn-ports-head/2018-January/165377.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"

Reply via email to