[MacPorts] #50279: gtk-doc: Add python34 and python35 variants

MacPorts noreply at macports.org
Fri Jan 22 14:49:10 PST 2016


#50279: gtk-doc: Add python34 and python35 variants
--------------------------+----------------------
  Reporter:  mf2k@…       |      Owner:  devans@…
      Type:  enhancement  |     Status:  closed
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:  fixed        |   Keywords:
      Port:  gtk-doc      |
--------------------------+----------------------
Changes (by devans@…):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 gtk-doc provides some useful m4 macros as well as a set of 12 tools that
 are composed of a combination of shell and perl scripts and just one
 python script, gtkdoc-depscan.

 Attempts to run this script using python3 show that it definitely is not
 python3 compatible and a review of gtk-doc's git repository shows that
 there has been no hint of any work on upgrading to python3.  Rather, one
 recent commit removed the use of newer python2 constructs to maintain
 compatibility with python2 versions back to 2.3. I assume the upstream
 philosophy is to maintain compatibility with commonly installed system
 perl versions in the wild.

 Because of this, it seems more appropriate to reconfigure the port to use
 our system perl instead of requiring python27.  The runtime dependency on
 py27-libxml2 is unnecessary with the current version of gtk-doc. I've done
 some testing using real world cases (for instance, generating the gtk-docs
 for gtk3) using this configuration back to 10.8 without problems.

 Committed these changes in r144970.  Hope this meets your needs.

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


More information about the macports-tickets mailing list