--- a/debian/patches/reproducible-build.patch 1970-01-01 01:00:00.000000000 +0100 --- b/debian/patches/reproducible-build.patch 2020-10-01 10:05:00.801345622 +0100 @@ -0,0 +1,15 @@ +Description: Make the build reproducible +Author: Chris Lamb +Last-Update: 2020-10-01 + +--- libsass-python-0.20.1.orig/sassutils/builder.py ++++ libsass-python-0.20.1/sassutils/builder.py +@@ -22,7 +22,7 @@ SUFFIXES = frozenset(('sass', 'scss')) + + #: (:class:`re.RegexObject`) The regular expression pattern which matches to + #: filenames of supported :const:`SUFFIXES`. +-SUFFIX_PATTERN = re.compile('[.](' + '|'.join(map(re.escape, SUFFIXES)) + ')$') ++SUFFIX_PATTERN = re.compile('[.](' + '|'.join(map(re.escape, sorted(SUFFIXES))) + ')$') + + + def build_directory( --- a/debian/patches/series 2020-10-01 10:02:09.063064025 +0100 --- b/debian/patches/series 2020-10-01 10:04:59.489328235 +0100 @@ -1 +1,2 @@ pysassc-man.patch +reproducible-build.patch