Bumping to 0.9.2-2
[gonvert] / support / builddeb.py
index 08763e4..b378630 100755 (executable)
@@ -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,7 +184,7 @@ 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__
@@ -237,16 +248,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__":