X-Git-Url: http://git.maemo.org/git/?p=gonvert;a=blobdiff_plain;f=support%2Fbuilddeb.py;h=f5bf9c9bafaf8c805fce283a765f72bd276d39e8;hp=db5510de5d2f298f28a4d7c38de1e47142279377;hb=69448ac26b58425bf4541d288cbcae116379679e;hpb=8a54d3dc83f2e0ebb40428769121107fbe904f8b diff --git a/support/builddeb.py b/support/builddeb.py index db5510d..f5bf9c9 100755 --- a/support/builddeb.py +++ b/support/builddeb.py @@ -14,11 +14,22 @@ A conversion utility that allows conversion between many units like CGS, Ancient . Homepage: http://www.unihedron.com/projects/gonvert/index.php """ -__author__ = "Ed Page (Maemo Porter)" -__email__ = "eopage@byu.net" +__author__ = "Anthony Tekatch" +__email__ = "anthony@unihedron.com" __version__ = constants.__version__ __build__ = constants.__build__ __changelog__ = """ +0.9.2 +* Added search toggle to the menu +* Maemo 5: Added sorting to the app menu + +0.9.1 +* Added support for creating generic .deb files +* Added an apothecary unit +* Bug fix: Can directly enter numbers after selecting category +* Bug fix: font of the category button was inconsistent +* Bug fix: Improved up/down arrow keys + 0.9.0 * Added Radioactivity and Radiation dose categories. * Aligning the numbers by their decimal place @@ -173,11 +184,11 @@ def build_package(distribution): p = py2deb.Py2deb(__appname__) p.prettyName = constants.__pretty_app_name__ p.description = __description__ - p.bugTracker = "" + p.bugTracker = "https://bugs.maemo.org/enter_bug.cgi?product=Gonvert" p.upgradeDescription = __changelog__.split("\n\n", 1)[0] p.author = __author__ p.mail = __email__ - p.license = "lgpl" + p.license = "gpl" p.depends = ", ".join([ "python2.6 | python2.5", "python-gtk2 | python2.5-gtk2", @@ -187,33 +198,27 @@ def build_package(distribution): maemoSpecificDepends = ", python-osso | python2.5-osso, python-hildon | python2.5-hildon" p.depends += { "debian": ", python-glade2", - "chinook": maemoSpecificDepends, "diablo": maemoSpecificDepends, "fremantle": maemoSpecificDepends + ", python-glade2", - "mer": maemoSpecificDepends + ", python-glade2", }[distribution] p.recommends = ", ".join([ ]) p.section = { "debian": "science", - "chinook": "other", "diablo": "user/science", "fremantle": "user/science", - "mer": "user/science", }[distribution] p.arch = "all" p.urgency = "low" - p.distribution = "chinook diablo fremantle mer debian" + p.distribution = "diablo fremantle debian" p.repository = "extras" p.changelog = __changelog__ p.postinstall = __postinstall__ p.preremove = __preremove__ p.icon = { "debian": "data-pixmaps-gonvert.png", - "chinook": "data-pixmaps-gonvert.png", "diablo": "data-pixmaps-gonvert.png", "fremantle": "data-pixmaps-gonvert.png", # Fremantle natively uses 48x48 - "mer": "data-pixmaps-gonvert.png", }[distribution] p["/usr/bin"] = [ "gonvert.py" ] for relPath, files in unflatten_files(find_files("src", ".")).iteritems(): @@ -237,16 +242,28 @@ def build_package(distribution): p["/usr/share/icons/hicolor/64x64/hildon"] = ["data-pixmaps-gonvert.png|gonvert.png"] p["/usr/share/icons/hicolor/scalable/hildon"] = ["data-pixmaps-gonvert.png|gonvert.png"] - print p - print p.generate( - version="%s-%s" % (__version__, __build__), - changelog=__changelog__, - build=False, - tar=True, - changes=True, - dsc=True, - ) - print "Building for %s finished" % distribution + if distribution == "debian": + print p + print p.generate( + version="%s-%s" % (__version__, __build__), + changelog=__changelog__, + build=True, + tar=False, + changes=False, + dsc=False, + ) + print "Building for %s finished" % distribution + else: + print p + print p.generate( + version="%s-%s" % (__version__, __build__), + changelog=__changelog__, + build=False, + tar=True, + changes=True, + dsc=True, + ) + print "Building for %s finished" % distribution if __name__ == "__main__":