Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Jul 2017 04:56:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 220302] security/zeronet: Incorrectly (implicitly) specifies support for any/all Python versions Python
Message-ID:  <bug-220302-13-0HPePytXLN@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-220302-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-220302-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220302

--- Comment #4 from Kubilay Kocak <koobs@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=3D 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 usa=
ge.

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220302-13-0HPePytXLN>