[Bug 213636] math/py-matplotlib: Fails to build with python3

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Aug 6 14:08:12 UTC 2017


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

--- Comment #13 from Kubilay Kocak <koobs at FreeBSD.org> ---
(In reply to rsmith from comment #12)

It's possible (and I believe there are existing cases in the tree), but that
may or may not be the correct, right or best way to address the issue, say
versus slave ports (port per backend or similar, or other methods.

Other options to consider:

- Scope/set USES=python:<version-spec> per OPTION rather than un-conditionally
- Scope/set OPTIONS_DEFINE based on python version (only adding them for
relevant versions)
- Creative use of OPTION_IMPLIES and/or OPTIONS_PREVENTS

I haven't researched this to the point where I know the entire matrix of
backends and their dependencies, so I can't comment too much on which of the
above (or combination of the above) would best suit, but the port (and ports in
general) should be as declarative as possible with regard to options,
dependencies and their relationships.

On py3-* ports, they are temporary workarounds so they cant be considered as an
ultimate/final solution to this "backend option mutual exclusion of python
support" issue.

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


More information about the freebsd-python mailing list