[Bug 220302] security/zeronet: Incorrectly (implicitly) specifies support for any/all Python versions Python

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jul 3 04:56:55 UTC 2017


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

--- Comment #4 from Kubilay Kocak <koobs at FreeBSD.org> ---
(In reply to Yuri Victorovich from comment #3)

No, it (only) means depend on python2 (the command/symlink) via lang/python2
port, exactly and only the same as if the following was declared:

RUN_DEPENDS= python2:lang/python2

The reason it's used is that it just 'happens' to result in 'a' version of
Python 2.x being installed, again only implicitly via lang/python2 ->
lang/pythonXY.

The root cause is a design/implementation/documentation issue in python.mk,
which ended up conflating imperative dependencies with declarative version
specifications and causing the ambiguity, and ultimate incorrectness in usage.

Versions should be explicitly included/listed as supported/compatible, rather
than implicitly (USE=python, USE=python:2, USE=python:3), *unless* they cannot
be given the current limitations of the current version specification syntax
(X+, -Y, X-Y, etc).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-python mailing list