Source: grokevt Version: 0.5.0-5 Severity: wishlist Tags: patch User: [email protected] Usertags: timestamps X-Debbugs-Cc: [email protected]
Hi, Whilst working on the Reproducible Builds effort [0], we noticed that grokevt could not be built reproducibly. This is because it ships an .egg file in the binary package that contains files varying by timezone.. A patch is attached that follows dh-python by specifying --single-version-externally-managed and --root=/ such that the .egg file is not created. [0] https://reproducible-builds.org/ Regards, -- ,''`. : :' : Chris Lamb `. `'` [email protected] / chris-lamb.co.uk `-
--- a/debian/patches/no_egg.patch 1970-01-01 01:00:00.000000000 +0100 --- b/debian/patches/no_egg.patch 2024-04-04 10:25:05.795926508 +0100 @@ -0,0 +1,17 @@ +Description: Make the build reproducible +Author: Chris Lamb <[email protected]> +Last-Update: 2024-04-04 + +--- grokevt-0.5.0.orig/Makefile ++++ grokevt-0.5.0/Makefile +@@ -35,8 +35,8 @@ install: all + cp -r $(BUILD_BIN)/* $(BIN_PREFIX) + cp -r $(BUILD_ETC)/* $(ETC_PREFIX) + cp -r $(BUILD_DOC)/* $(DOC_PREFIX) +- if [ "x$(PYTHON_PATH)" != "x" ]; then $(PYTHON_PATH) grokevt-distutils.py install --install-layout=deb --prefix $(PREFIX); fi +- if [ "x$(PYTHON3_PATH)" != "x" ]; then $(PYTHON3_PATH) grokevt-distutils.py install --install-layout=deb --prefix $(PREFIX); fi ++ if [ "x$(PYTHON_PATH)" != "x" ]; then $(PYTHON_PATH) grokevt-distutils.py install --install-layout=deb --single-version-externally-managed --root=/ --prefix $(PREFIX); fi ++ if [ "x$(PYTHON3_PATH)" != "x" ]; then $(PYTHON3_PATH) grokevt-distutils.py install --install-layout=deb --single-version-externally-managed --root=/ --prefix $(PREFIX); fi + $(MAKE) -C doc install + + --- a/debian/patches/series 2024-04-04 10:19:06.124553201 +0100 --- b/debian/patches/series 2024-04-04 10:24:30.719654371 +0100 @@ -1,3 +1,4 @@ example_configuration_path makefile.patch python3-shebang.patch +no_egg.patch

