File reproducible.patch of Package gpick
Index: gpick_0.2.5/tools/gpick.py
===================================================================
--- gpick_0.2.5.orig/tools/gpick.py
+++ gpick_0.2.5/tools/gpick.py
@@ -147,8 +147,8 @@ class GpickEnvironment(SConsEnvironment)
revision = 'not under version control system'
self.Replace(GPICK_BUILD_REVISION = revision,
- GPICK_BUILD_DATE = time.strftime ("%Y-%m-%d"),
- GPICK_BUILD_TIME = time.strftime ("%H:%M:%S"));
+ GPICK_BUILD_DATE = time.strftime ("%Y-%m-%d", time.gmtime(int(os.environ.get('SOURCE_DATE_EPOCH', time.time())))),
+ GPICK_BUILD_TIME = time.strftime ("%H:%M:%S"));
def RegexEscape(str):
return str.replace('\\', '\\\\')