[MacPorts] #30187: py27-mapnik 0.7.1 Support python 2.7 for Mapnik

MacPorts noreply at macports.org
Thu Jul 14 16:06:59 PDT 2011


#30187: py27-mapnik 0.7.1 Support python 2.7 for Mapnik
----------------------------------+-----------------------------------------
 Reporter:  jon.tirsen@…          |       Owner:  macports-tickets@…                   
     Type:  submission            |      Status:  new                                  
 Priority:  Normal                |   Milestone:                                       
Component:  ports                 |     Version:  1.9.2                                
 Keywords:                        |        Port:  py26-mapnik, py27-mapnik             
----------------------------------+-----------------------------------------

Comment(by dbsgeo@…):

 Replying to [comment:1 ryandesign@…]:
 > This new py27-mapnik port installs tons of files that conflict with the
 existing py26-mapnik port, which is not how py* ports are supposed to
 behave; they're supposed to be simultaneously installable.
 >
 > I'm rather confused why the existing port is called py26-mapnik at all.
 Why isn't it just called mapnik?

 because mapnik's python binding are written in C++ (using boost python)
 and only one version of boost python (per python version) can be installed
 (at least that is what I though back when the port was submitted). Ideally
 their should be a libmapnik pure C++ port and a python-mapnik (just the
 bindings) port.

 >
 > We could then discuss whether it should have variants allowing the user
 to choose the desired python version. The problem with doing so is that it
 depends on boost having been installed with the corresponding python
 variant.

 having boost python be a separate port (or a separate port per python
 version) would begin to solve this perhaps.

 > And of course only one variant of a given port can be active at once.
 But mapnik is not the only software that uses boost's python features.
 Therefore all ports using boost's python features must simultaneously be
 updated to have such python variants. Or we could just decide to update
 all such ports from python26 to python27 and not give the user a choice.

 btw, I no longer use macports because I found it way easier to install
 boost (just the bits mapnik needs) and I know provide binaries for users:
 http://dbsgeo.com/downloads/#mapnik-0.7.1. So, trying to help here but I'm
 not an active macports users to not going to be of much help.

-- 
Ticket URL: <https://trac.macports.org/ticket/30187#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list