From owner-freebsd-ports-bugs@freebsd.org Sat Nov 26 15:03:10 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0B11EC56B31 for ; Sat, 26 Nov 2016 15:03:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D5EE0E18 for ; Sat, 26 Nov 2016 15:03:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uAQF39eu063688 for ; Sat, 26 Nov 2016 15:03:09 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 214853] enable math/py-matplotlib to build with python 3 Date: Sat, 26 Nov 2016 15:03:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: rsmith@xs4all.nl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Nov 2016 15:03:10 -0000 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.=