You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
616 B

  1. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=804249
  2. https://sources.debian.org/patches/python-setuptools/40.8.0-1/sorted-requires.diff/
  3. Index: b/setuptools/command/egg_info.py
  4. ===================================================================
  5. --- a/setuptools/command/egg_info.py
  6. +++ b/setuptools/command/egg_info.py
  7. @@ -621,7 +621,7 @@ def warn_depends_obsolete(cmd, basename,
  8. def _write_requirements(stream, reqs):
  9. lines = yield_lines(reqs or ())
  10. append_cr = lambda line: line + '\n'
  11. - lines = map(append_cr, lines)
  12. + lines = map(append_cr, sorted(lines))
  13. stream.writelines(lines)