ports/lang/python27/files/patch-Lib_distutils_command_build__scripts.py
Bernard Spil 9390be9165 lang/python: Update to 2.7.10
The FreeBSD Python team welcomes Python 2.7.10 to the Ports tree!

Announcement:	https://www.python.org/downloads/release/python-2710/
Changelog:	https://hg.python.org/cpython/raw-file/v2.7.10/Misc/NEWS

Important changes for this release:
 - Python 2.7.10 is a bug fix release of the Python 2.7.x series.
 - Fixes issues with LibreSSL 2.2+

PR: 		192511, 201088
Differentialr Revision:	D2637
Reviewed by:	koobs (mentor), vsevolod (mentor), antoine
Approved by:	koobs (mentor)
2015-07-03 13:27:40 +00:00

17 lines
643 B
Python

# Description: A non-invasive partial backport of the Python3 distutils behaviour.
# This allows Python's scripts to be properly suffixed (similar to Python 3.x) on
# installation.
# Submitted by: mva
--- Lib/distutils/command/build_scripts.py.orig 2014-07-26 09:52:20.000000000 UTC
+++ Lib/distutils/command/build_scripts.py 2014-07-26 09:52:56.000000000 UTC
@@ -126,6 +126,9 @@ class build_scripts (Command):
file, oldmode, newmode)
os.chmod(file, newmode)
+ # XXX should we modify self.outfiles?
+ return outfiles
+
# copy_scripts ()
# class build_scripts