Fixes to work with py2deb and Mer
authorepage <eopage@byu.net>
Sat, 13 Jun 2009 01:29:54 +0000 (01:29 +0000)
committerepage <eopage@byu.net>
Sat, 13 Jun 2009 01:29:54 +0000 (01:29 +0000)
git-svn-id: file:///svnroot/gc-dialer/trunk@360 c39d3808-3fe2-4d86-a59f-b7f623ee9f21

support/builddeb.py

index f373c47..18b4f41 100755 (executable)
@@ -136,11 +136,11 @@ def build_package(distribution):
        p.depends = {
                "diablo": "python2.5, python2.5-gtk2, python2.5-xml",
                "mer": "python2.6, python-gtk2, python-xml, python-glade2",
-       }
-       p.section = "user/utilities"
+       }[distribution]
+       p.section = "user/communication"
        p.arch = "all"
        p.urgency = "low"
-       p.distribution = "chinook diablo fremantle"
+       p.distribution = "chinook diablo fremantle mer"
        p.repository = "extras"
        p.changelog = __changelog__
        p.postinstall = __postinstall__
@@ -164,6 +164,7 @@ def build_package(distribution):
                __version__, __build__, changelog=__changelog__,
                tar=True, dsc=True, changes=True, build=False, src=True
        )
+       print "Building for %s finished" % distribution
 
 
 if __name__ == "__main__":
@@ -179,4 +180,4 @@ if __name__ == "__main__":
        else:
                commandArgs = None
                commandArgs = ["diablo"]
-       build_package()
+       build_package(commandArgs[0])