summaryrefslogtreecommitdiffstats
path: root/lang/python/python3/patches-setuptools/003-PKG-INFO-output-reproducible.patch
blob: 15f34dcdb82cf33deae8cf3c77bc8a253b3893b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=894215
https://sources.debian.org/patches/python-setuptools/40.8.0-1/PKG-INFO-output-reproducible.diff/

--- a/setuptools/dist.py
+++ b/setuptools/dist.py
@@ -191,7 +191,7 @@ def write_pkg_file(self, file):
             self.long_description_content_type
         )
     if self.provides_extras:
-        for extra in self.provides_extras:
+        for extra in sorted(self.provides_extras):
             write_field('Provides-Extra', extra)