[Treepkg-commits] r361 - branches/treepkg-status/treepkg

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Jul 12 17:06:35 CEST 2010


Author: bricks
Date: 2010-07-12 17:06:22 +0200 (Mon, 12 Jul 2010)
New Revision: 361

Modified:
   branches/treepkg-status/treepkg/packager.py
   branches/treepkg-status/treepkg/readconfig.py
Log:
add os config statement


Modified: branches/treepkg-status/treepkg/packager.py
===================================================================
--- branches/treepkg-status/treepkg/packager.py	2010-07-12 12:21:39 UTC (rev 360)
+++ branches/treepkg-status/treepkg/packager.py	2010-07-12 15:06:22 UTC (rev 361)
@@ -403,7 +403,8 @@
                  handle_dependencies=False, signing_key_id="", do_build=True,
                  rules_svn_url=None, deb_build_options="", pkg_basename="",
                  changelog_msg_template="Update to r%(revision)s",
-                 svn_subset=(), svn_externals=(), git_branch="", git_url=""):
+                 svn_subset=(), svn_externals=(), git_branch="", git_url="",
+                 os=""):
         self.name = name
 
         # Convert the builder_cls option to a class
@@ -434,6 +435,7 @@
         self.do_build = do_build
         self.handle_dependencies = handle_dependencies
         self.dependencies = None
+        self.os = os
         self.pkg_dir_template = "%(revision)s-%(rules_revision)s"
         self.pkg_dir_regex = re.compile(r"(?P<revision>[0-9a-f]+)"
                                         r"-(?P<rules_revision>[0-9a-f]+)$")

Modified: branches/treepkg-status/treepkg/readconfig.py
===================================================================
--- branches/treepkg-status/treepkg/readconfig.py	2010-07-12 12:21:39 UTC (rev 360)
+++ branches/treepkg-status/treepkg/readconfig.py	2010-07-12 15:06:22 UTC (rev 361)
@@ -79,6 +79,7 @@
     ("changelog_msg_template", str, "Update to revision %(revision)s"),
     ("git_branch", str,""),
     ("git_url", str,""),
+    ("os", str, ""),
     ("builder_cls",str,"PBuilder")
     ]
 



More information about the Treepkg-commits mailing list