Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #16765 (closed defect: fixed)

Opened 2 months ago

Last modified 7 weeks ago

python26-2.6 numerous improvements

Reported by: blb@… Owned by: macports-tickets@…
Priority: Normal Milestone: Port Bugs
Component: ports Version: 1.7.0
Keywords: Cc:
Port: python26

Description

Will attach six patch files to python26, each to be applied in the lang/python26 directory successively (using patch -p1 < ...). There are six in order to be logically contained.

Each patch description:

  • 0001-Whitespace-changes.patch:
    Whitespace changes
    
  • 0002-Basic-housekeeping-not-affecting-final-result.patch:
    Basic housekeeping, not affecting final result:
     - calculate major and branch numbers instead of hardcoding
     - take maintainer
     - cleanup master_sites (including removing / at end of homepage)
     - add paths to several files which were relative to worksrcpath, in
       case port is not in that directory
     - remove duplicated file in reinplace
     - remove unneeded post-build piece for case-sensitive FS (tested on
       HFS+ case sensitive to verify)
     - fix the python_select file name
     - obfuscate an email address
    
  • 0003-Fix-framework-and-application-installation-locations.patch:
    Fix framework and application installation locations to use
    applications_dir and frameworks_dir (and define if not already, for
    MacPorts 1.6 compatibility); ticket #16761
    
  • 0004-Fix-library-and-framework-install-discrepancy-ticke.patch:
    Fix library and framework install discrepancy; ticket #16111, for 2.5
    
  • 0005-Add-a-no-user-cfg-option-to-distutils-to-ignore-a-us.patch:
    Add a no-user-cfg option to distutils to ignore a user's pydistutils.cfg;
    ticket #9831, for 2.5
    
  • 0006-Fix-universal-SDK-location-python-s-configure-wants.patch:
    Fix universal SDK location (python's configure wants to use 10.4 by default,
    but MacPorts sets MACOSX_DEPLOYMENT_TARGET to 10.5 on 10.5 systems, and
    that causes errors); no ticket for 2.5, but this could be needed there as well
    
    Bump revision
    

Attachments

0001-Whitespace-changes.patch (6.2 KB) - added by blb@… 2 months ago.
0001-Whitespace-changes.patch
0002-Basic-housekeeping-not-affecting-final-result.patch (3.6 KB) - added by blb@… 2 months ago.
0002-Basic-housekeeping-not-affecting-final-result.patch
0003-Fix-framework-and-application-installation-locations.patch (5.5 KB) - added by blb@… 2 months ago.
0003-Fix-framework-and-application-installation-locations.patch
0004-Fix-library-and-framework-install-discrepancy-ticke.patch (1.2 KB) - added by blb@… 2 months ago.
0004-Fix-library-and-framework-install-discrepancy-ticke.patch
0005-Add-a-no-user-cfg-option-to-distutils-to-ignore-a-us.patch (5.5 KB) - added by blb@… 2 months ago.
0005-Add-a-no-user-cfg-option-to-distutils-to-ignore-a-us.patch
0006-Fix-universal-SDK-location-python-s-configure-wants.patch (0.6 KB) - added by blb@… 2 months ago.
0006-Fix-universal-SDK-location-python-s-configure-wants.patch
patches_0001-0006.tar.bz2 (5.9 KB) - added by blb@… 2 months ago.
tarball of patches 0001 - 0006 for convenience

Change History

Changed 2 months ago by blb@…

0001-Whitespace-changes.patch

Changed 2 months ago by blb@…

0002-Basic-housekeeping-not-affecting-final-result.patch

Changed 2 months ago by blb@…

0003-Fix-framework-and-application-installation-locations.patch

Changed 2 months ago by blb@…

0004-Fix-library-and-framework-install-discrepancy-ticke.patch

Changed 2 months ago by blb@…

0005-Add-a-no-user-cfg-option-to-distutils-to-ignore-a-us.patch

Changed 2 months ago by blb@…

0006-Fix-universal-SDK-location-python-s-configure-wants.patch

  Changed 2 months ago by myschizobuddy@…

can we have all of the patches in one tarball. thanks

follow-up: ↓ 3   Changed 2 months ago by myschizobuddy@…

how many of these patches can benefit 2.5 as well

Changed 2 months ago by blb@…

tarball of patches 0001 - 0006 for convenience

in reply to: ↑ 2   Changed 2 months ago by blb@…

Replying to myschizobuddy@…:

how many of these patches can benefit 2.5 as well

Some already can be found in tickets against python25 (#9831 and #16111); the applications and frameworks issue is present in 2.5 but has no ticket as yet; the universal option may also be an issue, and the fix here should be the same for 2.5.

  Changed 2 months ago by afb@…

The python26 port was just a clone of python25, so aside from some things that changed (like some new Makefiles) everything that is wrong with it (2.5) is also inherited by this (2.6) and vice-versa.

  Changed 7 weeks ago by blb@…

  • status changed from new to closed
  • resolution set to fixed

Patches applied in r40883, r40884, r40885, r40886, r40887, and r40888 (to match the six parts here).

Note: See TracTickets for help on using tickets.