diff options
author | Bernard Spil <brnrd@FreeBSD.org> | 2015-07-03 13:27:40 +0000 |
---|---|---|
committer | Bernard Spil <brnrd@FreeBSD.org> | 2015-07-03 13:27:40 +0000 |
commit | 9390be9165c7248208eb40596ee57ee9a9ae2175 (patch) | |
tree | a3bb027b3755b181927204f8d9d39d61af6cd430 /lang/python27/files/patch-Lib_distutils_command_build__scripts.py | |
parent | - Add missing change in 1.32.0 update (diff) |
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)
Diffstat (limited to 'lang/python27/files/patch-Lib_distutils_command_build__scripts.py')
-rw-r--r-- | lang/python27/files/patch-Lib_distutils_command_build__scripts.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lang/python27/files/patch-Lib_distutils_command_build__scripts.py b/lang/python27/files/patch-Lib_distutils_command_build__scripts.py new file mode 100644 index 000000000000..78b3dd6e2791 --- /dev/null +++ b/lang/python27/files/patch-Lib_distutils_command_build__scripts.py @@ -0,0 +1,17 @@ +# 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 |