[X2Go-Commits] [pyhoca-gui] 01/01: Facilitate reproducible builds on non-Windows platforms. Don't append the build's date to the program version string. (Closes Debian Bug #792668).

git-admin at x2go.org git-admin at x2go.org
Mon Feb 1 10:54:18 CET 2016


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository pyhoca-gui.

commit 17728198d4cb0f05ec21d2e22c4fd9a826cf4d15
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Mon Feb 1 10:52:06 2016 +0100

    Facilitate reproducible builds on non-Windows platforms. Don't append the build's date to the program version string. (Closes Debian Bug #792668).
---
 debian/changelog |    6 ++++++
 setup.py         |    5 ++++-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 2d4fb81..6f61619 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,12 @@ pyhoca-gui (0.5.0.6-0x2go1) UNRELEASED; urgency=medium
     - {po,build/mo}: update translation files.
     - build/mo: add Turkish binary translation directory structure and file.
 
+  [ Mike Gabriel ]
+  * New upstream version (0.5.0.6):
+    - Facilitate reproducible builds on non-Windows platforms. Don't append
+      the build's date to the program version string. (Closes Debian Bug
+      #792668).
+
  -- X2Go Release Manager <git-admin at x2go.org>  Thu, 28 Jan 2016 19:04:20 +0100
 
 pyhoca-gui (0.5.0.5-0x2go1) unstable; urgency=medium
diff --git a/setup.py b/setup.py
index afb64fe..ee624d7 100755
--- a/setup.py
+++ b/setup.py
@@ -36,7 +36,10 @@ __VERSION__ = '0.0.0.0'
 for line in file(os.path.join('pyhoca', 'wxgui', '__init__.py')).readlines():
     if (line.startswith('__VERSION__')):
         exec(line.strip())
-PROGRAM_VERSION = __VERSION__ + "-" + datetime.date.today().strftime('%Y%m%d')
+if platform.system() == 'Windows':
+    PROGRAM_VERSION = __VERSION__ + "-" + datetime.date.today().strftime('%Y%m%d')
+else:
+    PROGRAM_VERSION = __VERSION__
 
 PROGRAM_ICON = "pixmaps/pyhoca_x2go-logo-ubuntu.ico"
 # Windows:  UNINSTALL_ICON is for add/remove programs.

--
Alioth's /srv/git/code.x2go.org/pyhoca-gui.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/pyhoca-gui.git


More information about the x2go-commits mailing list