[MacPorts] #25346: mapnik: mapnik.has_pycairo is False

MacPorts noreply at macports.org
Sat Jun 19 03:03:37 PDT 2010


#25346: mapnik: mapnik.has_pycairo is False
----------------------------------+-----------------------------------------
 Reporter:  software@…            |       Owner:  macports-tickets@…                   
     Type:  defect                |      Status:  new                                  
 Priority:  Normal                |   Milestone:                                       
Component:  ports                 |     Version:  1.9.1                                
 Keywords:                        |        Port:  py26-mapnik                          
----------------------------------+-----------------------------------------
 The portfile of py26-mapnik contains a small bug.

 I've installed mapnik with cairo support:
 port install py26-mapnik +cairo

 This only partly works:

 $ python
 >>> import mapnik
 >>> mapnik.has_cairo()
 True
 >>> mapnik.has_pycairo()
 False

 pycairo is Falso, because the headers for cairo were not found while
 installing mapnik:

 $ port -v configure + py26-mapnik cairo
 [...]
 Checking for pycairo... no

 Attsched is a fix for the Portfile, so that the cairo headers are
 correctly found.

-- 
Ticket URL: <http://trac.macports.org/ticket/25346>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list