[MacPorts] #34271: python27 2.7.3_0 py27-gtk 2.22.0_1 etc -- pkg-config files not installed correctly for python 2.6 and 2.7 versions of pygtk and pygobject

MacPorts noreply at macports.org
Tue May 1 17:14:13 PDT 2012


#34271: python27 2.7.3_0 py27-gtk 2.22.0_1 etc -- pkg-config files not installed
correctly for python 2.6 and 2.7 versions of pygtk and pygobject
-------------------------------------+--------------------------------------
 Reporter:  stephen.langer@…         |       Owner:  macports-tickets@…                                                                 
     Type:  defect                   |      Status:  new                                                                                
 Priority:  Normal                   |   Milestone:                                                                                     
Component:  ports                    |     Version:  2.0.4                                                                              
 Keywords:                           |        Port:  py25-gtk py27-gtk py26-gtk py27-gobject py26-gobject py25-gobject python26 python27
-------------------------------------+--------------------------------------

Comment(by michaelld@…):

 I just came upon this issue as well, and it certainly is an issue.  I
 think the "select" files for "python" should be able to link the -python-
 .pc files into ${prefix}/lib/pkgconfig from the Python Framework's
 pkgconfig directory. For the others there needs to be a naming scheme such
 that multiple versions can be installed into ${prefix}/lib/pkgconfig at
 the same time -- e.g., gtk+-2.0-python25.pc, gkt+-2.0-python26.pc and so
 forth (or, something like this).  Ugly, but at least there would not be
 conflicts in the installed .pc files' names. Each actual .pc file would
 probably be best installed into the Python Framework's pkgconfig
 directory, but there's no good way to dynamically "select" every single
 Python package that I know of & hence the linking into
 ${prefix}/lib/pkgconfig would require some odd naming convention.

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


More information about the macports-tickets mailing list