[Bug 214853] enable math/py-matplotlib to build with python 3

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Nov 26 15:03:10 UTC 2016


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

            Bug ID: 214853
           Summary: enable math/py-matplotlib to build with python 3
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: rsmith at xs4all.nl
                CC: mainland at apeiron.net
                CC: mainland at apeiron.net
             Flags: maintainer-feedback?(mainland at apeiron.net)

Created attachment 177417
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=177417&action=edit
Patch for the math/py-matplotlib port Makefile.

The recent revision 426883 restricted matplotlib to Python 2.7 because it fails
with Python 3.

However, this is *only true* in the default configuration.
When the gtk and gtkagg backends are disabled and the tkagg backend is enabled,
matplotlib builds, installs and works fine with Python 3 (tested with Python
3.5) if I change `python:2.7` back to `python` in USES.

The attached patch adds the correct python to USES after the options are
processed. But the build fails for some reason that I do not understand. During
`make PYTHON_VERSION=python3.5 build` it says that matplotlib depends on
`tkinter>0`, which it says it cannot find even though py35-tkinter-3.5.2_6 is
already installed.

Probably this needs to done differently, but I don't see how.

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


More information about the freebsd-ports-bugs mailing list