[MacPorts] #40151: py-matplotlib doesn't configure variants properly
MacPorts
noreply at macports.org
Fri Aug 16 16:20:40 PDT 2013
#40151: py-matplotlib doesn't configure variants properly
------------------------------+--------------------
Reporter: irony42@… | Owner: sean@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.0
Resolution: | Keywords:
Port: py27-matplotlib |
------------------------------+--------------------
Changes (by ryandesign@…):
* cc: sean@… (removed)
* owner: macports-tickets@… => sean@…
Old description:
> `port instal py..-matplotlib` for any variants will not install the agg
> backend, which prevents about half the variants from actually working as
> advertised. A bunch more of the variants would need
>
> post-patch {
> reinplace "s|^agg=False|agg=True|" ${worksrcpath}/setup.cfg
> }
>
> in order to work properly. However, if it were my call I'd just edit
> patch-setup.cfg.diff "+agg=False" to "+agg=True" (and not give any
> options to turn agg off). Matplotlib's default is to include the agg
> backend (which does not require any additional port dependencies), and it
> works great on OSX, so there's not too much advantage to ever disabling
> it.
New description:
`port instal py..-matplotlib` for any variants will not install the agg
backend, which prevents about half the variants from actually working as
advertised. A bunch more of the variants would need
{{{
post-patch {
reinplace "s|^agg=False|agg=True|" ${worksrcpath}/setup.cfg
}
}}}
in order to work properly. However, if it were my call I'd just edit
patch-setup.cfg.diff "+agg=False" to "+agg=True" (and not give any options
to turn agg off). Matplotlib's default is to include the agg backend
(which does not require any additional port dependencies), and it works
great on OSX, so there's not too much advantage to ever disabling it.
--
--
Ticket URL: <https://trac.macports.org/ticket/40151#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list