Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Aug 2017 13:40:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 213636] math/py-matplotlib: Fails to build with python3
Message-ID:  <bug-213636-13-V72lnag1Vl@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-213636-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-213636-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=3D213636

--- Comment #12 from rsmith@xs4all.nl ---
(In reply to Kubilay Kocak from comment #11)

1) Yes.

2) No. As far as I know, OPTIONS_DEFAULT should only include TKAGGBACKEND f=
or
it to work with both Python 2 and 3, since GTKBACKEND and GTKAGGBACKEND do =
not
work with Python 3.

3) Looking at Freshports for the active ports that require this port, few of
them seem to *require* a specific GUI toolkit to be enabled when looking at
their Makefiles. Only math/cadabra2 uses gtkmm30 and gdkpixbuf2, which *mig=
ht*
imply a need for GTKBACKEND or GTKAGGBACKEND. But this port is limited to
Python 2.

Would it be allowed to set different OPTIONS_DEFAULT depending on the Python
version? Set it conditionally in the main port and override it in a py3 sla=
ve
port?

--=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-213636-13-V72lnag1Vl>