Date: Sat, 26 Nov 2016 15:03:08 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 214853] enable math/py-matplotlib to build with python 3 Message-ID: <bug-214853-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214853 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@FreeBSD.org Reporter: rsmith@xs4all.nl CC: mainland@apeiron.net CC: mainland@apeiron.net Flags: maintainer-feedback?(mainland@apeiron.net) Created attachment 177417 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D177417&action= =3Dedit Patch for the math/py-matplotlib port Makefile. The recent revision 426883 restricted matplotlib to Python 2.7 because it f= ails 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 enab= led, 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. Du= ring `make PYTHON_VERSION=3Dpython3.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. --=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-214853-13>