[MacPorts] #39205: py27-yaml links with libyaml even if the libyaml variant is not selected

MacPorts noreply at macports.org
Tue May 28 12:50:36 PDT 2013


#39205: py27-yaml links with libyaml even if the libyaml variant is not selected
---------------------------+---------------------
  Reporter:  ryandesign@…  |      Owner:  deric@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.1.3
Resolution:                |   Keywords:
      Port:  py-yaml       |
---------------------------+---------------------

Comment (by ryandesign@…):

 Replying to [comment:5 deric@…]:
 > Alright I've but some more work into fixing this. PyYAML 3.09 which is
 the latest version supported on Python 2.4 can actually link against
 LibYAML as well so there's no reason to treat it differently. So the
 actual change boils down to removing 'noarch' , always adding libyaml as a
 library dependency and removing the variant. Portfile is attached,

 Looks good to me!

 > should I revbump this?

 Yes, since it changes how the port installs, for users who did not already
 have libyaml installed. You should change the "revision 1" line to
 "revision 2" under the version line at the top of the portfile, and add a
 "revision 1" line under the version line in the python 2.4 section of the
 portfile.

-- 
Ticket URL: <https://trac.macports.org/ticket/39205#comment:6>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list