Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#16765 closed defect (fixed)

python26-2.6 numerous improvements

Reported by: blb@… Owned by: macports-tickets@…
Priority: Normal Milestone:
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 (7)

0001-Whitespace-changes.patch (6.2 KB) - added by blb@… 12 years ago.
0001-Whitespace-changes.patch
0002-Basic-housekeeping-not-affecting-final-result.patch (3.6 KB) - added by blb@… 12 years ago.
0002-Basic-housekeeping-not-affecting-final-result.patch
0003-Fix-framework-and-application-installation-locations.patch (5.5 KB) - added by blb@… 12 years ago.
0003-Fix-framework-and-application-installation-locations.patch
0004-Fix-library-and-framework-install-discrepancy-ticke.patch (1.2 KB) - added by blb@… 12 years 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@… 12 years 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 (629 bytes) - added by blb@… 12 years ago.
0006-Fix-universal-SDK-location-python-s-configure-wants.patch
patches_0001-0006.tar.bz2 (5.9 KB) - added by blb@… 12 years ago.
tarball of patches 0001 - 0006 for convenience

Download all attachments as: .zip

Change History (13)

Changed 12 years ago by blb@…

0001-Whitespace-changes.patch

Changed 12 years ago by blb@…

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

Changed 12 years ago by blb@…

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

Changed 12 years ago by blb@…

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

Changed 12 years ago by blb@…

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

Changed 12 years ago by blb@…

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

comment:1 Changed 12 years ago by myschizobuddy@…

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

comment:2 Changed 12 years ago by myschizobuddy@…

how many of these patches can benefit 2.5 as well

Changed 12 years ago by blb@…

Attachment: patches_0001-0006.tar.bz2 added

tarball of patches 0001 - 0006 for convenience

comment:3 in reply to:  2 Changed 12 years 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.

comment:4 Changed 12 years 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.

comment:5 Changed 12 years ago by blb@…

Resolution: fixed
Status: newclosed

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

comment:6 Changed 11 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.