A new user interface for you!

File reproducible-distutils.patch of Package python3

commit 5c3dc35ce8c3aff56800939717e2a73c9950e7ef
Author: Bernhard M. Wiedemann <bwiedemann@suse.de>
Date:   Mon Jun 5 17:33:33 2017 +0200

    sort source file list
    when building packages (e.g. for openSUSE Linux)
    (random) filesystem order of input files
    influences ordering of functions in the output .so files,
    thus without the patch, builds (in disposable VMs) would usually differ.
    See https://reproducible-builds.org/ for why this matters.

diff --git a/Lib/distutils/extension.py b/Lib/distutils/extension.py
index c507da360a..1543fe312c 100644
--- a/Lib/distutils/extension.py
+++ b/Lib/distutils/extension.py
@@ -107,7 +107,7 @@ class Extension:
             raise AssertionError("'sources' must be a list of strings")
         self.name = name
-        self.sources = sources
+        self.sources = sorted(sources)
         self.include_dirs = include_dirs or []
         self.define_macros = define_macros or []
         self.undef_macros = undef_macros or []