mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
474ff0ec6a
In certain situations, file references (.py[co]) for Python files that fail to compile with compileall() are still added to distutils --record output. This output is used for pkg-plist generation and must only contain references to files that will be installed. One example of a failure condition is when a Python 2/3 compatible package containing a file containing Python 3.x only code is built with Python 2.x, such as Gunicorn's _gaiohttp.py [1] This change backports patches submitted against upstream issue 20397 [2] that has not yet been committed. - For Python 2.7 and 3.5, backport both install_lib and test - For Python 3.2, 3.3 and 3.4, only backport install_lib [1] https://svnweb.freebsd.org/changeset/ports/404558 [2] https://bugs.python.org/issue20397 Thank you to Brendan Molloy for producing and submitting the patches against upstream sources. Reviewed by: sbz (python) MFH: 2016Q1 Differential Revision: D4832 |
||
---|---|---|
.. | ||
patch-issue20210 | ||
patch-Lib__distutils__unixccompiler.py | ||
patch-Lib_distutils_command_install__lib.py | ||
patch-Lib_distutils_tests_test__install__lib.py | ||
patch-Makefile.pre.in | ||
patch-Modules___ctypes__libffi__src__arm__ffi.c | ||
patch-Modules-_ctypes-libffi-configure | ||
pkg-message.in |