--- a/debian/patches/reproducible-builds.patch 1970-01-01 01:00:00.000000000 +0100 --- b/debian/patches/reproducible-builds.patch 2021-09-28 16:37:45.666272543 +0100 @@ -0,0 +1,24 @@ +Description: Make the build reproducible +Author: Chris Lamb +Last-Update: 2021-09-28 + +--- python-pybedtools-0.8.0.orig/setup.py ++++ python-pybedtools-0.8.0/setup.py +@@ -199,7 +199,7 @@ extensions = [ + depends=glob.glob('pybedtools/include/*h'), + libraries=['stdc++', 'z'], + include_dirs=['pybedtools/include/'], +- sources=['pybedtools/cbedtools' + EXT] + glob.glob('pybedtools/include/*.cpp'), ++ sources=['pybedtools/cbedtools' + EXT] + sorted(glob.glob('pybedtools/include/*.cpp')), + language='c++'), + + Extension( +@@ -207,7 +207,7 @@ extensions = [ + depends=glob.glob('pybedtools/include/*h'), + libraries=['stdc++', 'z'], + include_dirs=['pybedtools/include/'], +- sources=['pybedtools/featurefuncs' + EXT] + glob.glob('pybedtools/include/*.cpp'), ++ sources=['pybedtools/featurefuncs' + EXT] + sorted(glob.glob('pybedtools/include/*.cpp')), + language='c++'), + ] + --- a/debian/patches/series 2021-09-28 16:33:12.425681025 +0100 --- b/debian/patches/series 2021-09-28 16:37:44.886270948 +0100 @@ -8,3 +8,4 @@ remove_badges_from_documentation.patch parseDebianVersions.patch add_missing_shebang.patch +reproducible-builds.patch