changeset 401:2db42a2a9db9 treepkg-status

add os config statement
author Bjoern Ricks <bricks@intevation.de>
date Mon, 12 Jul 2010 15:06:22 +0000
parents 48aaffdc1a4f
children 01c059298906
files treepkg/packager.py treepkg/readconfig.py
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/treepkg/packager.py	Mon Jul 12 12:21:39 2010 +0000
+++ b/treepkg/packager.py	Mon Jul 12 15:06:22 2010 +0000
@@ -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]+)$")
--- a/treepkg/readconfig.py	Mon Jul 12 12:21:39 2010 +0000
+++ b/treepkg/readconfig.py	Mon Jul 12 15:06:22 2010 +0000
@@ -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")
     ]
 
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)