[med-svn] [Git][med-team/centrifuge][master] 3 commits: New upstream version 1.0.4.2

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Mon Oct 28 21:55:33 GMT 2024



Étienne Mollier pushed to branch master at Debian Med / centrifuge


Commits:
98e099ed by Étienne Mollier at 2024-10-28T22:50:13+01:00
New upstream version 1.0.4.2
- - - - -
d325a1ee by Étienne Mollier at 2024-10-28T22:50:15+01:00
Update upstream source from tag 'upstream/1.0.4.2'

Update to upstream version '1.0.4.2'
with Debian dir 81eef66ed77d1316fa1ed5c4ff95bee98cc4239c
- - - - -
96d1d2dc by Étienne Mollier at 2024-10-28T22:55:13+01:00
d/changelog: ready for upload to unstable.

- - - - -


2 changed files:

- centrifuge-inspect
- debian/changelog


Changes:

=====================================
centrifuge-inspect
=====================================
@@ -19,12 +19,32 @@
  along with Centrifuge.  If not, see <http://www.gnu.org/licenses/>.
 """
 
-
+import sys
 import os
-import imp
+#import imp
 import inspect
 import logging
 
+def build_args():
+    """
+    Parse the wrapper arguments. Returns the options,<programm arguments> tuple.
+    """
+
+    parsed_args = {}
+    to_remove = []
+    argv = sys.argv[:]
+    for i, arg in enumerate(argv):
+        if arg == '--debug':
+            parsed_args[arg] = ""
+            to_remove.append(i)
+        elif arg == '--verbose':
+            parsed_args[arg] = ""
+            to_remove.append(i)
+
+    for i in reversed(to_remove):
+        del argv[i]
+
+    return parsed_args, argv
 
 
 def main():
@@ -35,8 +55,8 @@ def main():
     curr_script           = os.path.realpath(inspect.getsourcefile(main))
     ex_path               = os.path.dirname(curr_script)
     inspect_bin_spec      = os.path.join(ex_path, "centrifuge-inspect-bin")
-    bld                   = imp.load_source('centrifuge-build', os.path.join(ex_path,'centrifuge-build'))
-    options,arguments     = bld.build_args()
+    #bld                   = imp.load_source('centrifuge-build', os.path.join(ex_path,'centrifuge-build'))
+    options,arguments     = build_args()
 
     if '--verbose' in options:
         logging.getLogger().setLevel(logging.INFO)


=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+centrifuge (1.0.4.2-1) unstable; urgency=medium
+
+  * New upstream version 1.0.4.2
+
+ -- Étienne Mollier <emollier at debian.org>  Mon, 28 Oct 2024 22:52:16 +0100
+
 centrifuge (1.0.4.1-1) unstable; urgency=medium
 
   * New upstream version 1.0.4.1



View it on GitLab: https://salsa.debian.org/med-team/centrifuge/-/compare/f93a6615c45f56482accf7a8166a5fa4546e7af5...96d1d2dc008e447b9fb6ef88293baf55d42a3e50

-- 
View it on GitLab: https://salsa.debian.org/med-team/centrifuge/-/compare/f93a6615c45f56482accf7a8166a5fa4546e7af5...96d1d2dc008e447b9fb6ef88293baf55d42a3e50
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20241028/c68ef1db/attachment-0001.htm>


More information about the debian-med-commit mailing list