Changes between Initial Version and Version 1 of Ticket #35672


Ignore:
Timestamp:
Aug 14, 2012, 6:22:39 PM (12 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

In the future, please attach a unified diff instead of a complete new portfile; this makes it easier to review your changes.

Note that we also have py26-mx-base and py25-mx-base ports which should be kept in sync with py27-mx-base, until such a time as they are all unified into a single py-mx-base port.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35672

    • Property Status changed from new to assigned
    • Property Keywords haspatch added
    • Property Milestone changed from MacPorts Future to
    • Property Owner changed from macports-tickets@… to ryandesign@…
    • Property Port py27-mx-base added
  • Ticket #35672 – Description

    initial v1  
    11On Mountain Lion, py27-mx-base fails to compile due to an incorrect location for the "customize_compiler" call. The line:
    22
     3{{{
    34    from distutils.ccompiler import customize_compiler
     5}}}
    46
    57fails, as in the current configuration it should be:
    68
     9{{{
    710    from distutils.sysconfig import customize_compiler
     11}}}
    812
    913For the record, this is the version of py27-mx-base that fails to compile:
    1014
     15{{{
    1116py27-mx-base                   @3.2.1          python/py27-mx-base
     17}}}
    1218
    1319The latest version of egenix-mx-base (3.2.4) fixes this bug, so I would suggest that updating the port to the latest version would be the easiest fix. I attach a modified Portfile, which I have verifies builds fine on my ML/MacPorts 2.1.2 system.