opnsense-ports/lang/python27/files/patch-Lib_distutils_command_build__scripts.py
Franco Fichtner cce23da8e4 lang/python27: switch to 2.7.10
We merge this ahead of FreeBSD, mostly to make use of the builtin
fixes for LibreSSL builds.  Many thanks to Bernard Spil for his
work on this!!!

Taken from: https://reviews.freebsd.org/D2637
2015-06-29 07:46:10 +02: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