Opened 11 years ago

Last modified 10 years ago

#40151 closed defect

py-matplotlib doesn't configure variants properly — at Version 2

Reported by: irony42@… Owned by: sean@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc:
Port: py27-matplotlib

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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.

Change History (2)

comment:1 Changed 11 years ago by irony42@…

Sorry about the formatting fail, that's

        post-patch {
            reinplace "s|^agg=False|agg=True|" ${worksrcpath}/setup.cfg
        }

comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: sean@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to sean@…
Note: See TracTickets for help on using tickets.