Fixing the map, adding some shortcut keys
[ejpi] / support / builddeb.py
index f6e18cf..30ce108 100755 (executable)
@@ -24,11 +24,18 @@ __email__ = "eopage@byu.net"
 __version__ = constants.__version__
 __build__ = constants.__build__
 __changelog__ = """
+0.9.7
+* Added shortcut to copy result
+* Shortcuts: Backspace - as expected, Ctrl+Backspace - unpops, Enter - pops
+* BugFix: Attempt two at bigger X button
+* Bugfix: Inconsistent location of pie items on the computer section
+* Added support for creating .deb generic linux package files
+
 0.9.6
 * Fullscreen by Ctrl+Enter
 * "Enter" in number entry causes a push
 * Reversed stack order to be more proper
-* Logging support
+* Logging support, Ctrl+l to copy the log
 * Fremantle Support
 
 0.9.4
@@ -98,7 +105,7 @@ def build_package(distribution):
        p.prettyName = constants.__pretty_app_name__
        p.description = __description__
        p.bugTracker = "https://bugs.maemo.org/enter_bug.cgi?product=ejpi"
-       p.upgradeDescription = __changelog__.split("\n\n", 1)[0]
+       #p.upgradeDescription = __changelog__.split("\n\n", 1)[0]
        p.author = __author__
        p.mail = __email__
        p.license = "lgpl"
@@ -117,7 +124,7 @@ def build_package(distribution):
                "mer": maemoSpecificDepends + ", python-glade2",
        }[distribution]
        p.section = {
-               "debian": "accessories",
+               "debian": "math",
                "chinook": "accessories",
                "diablo": "user/science",
                "fremantle": "user/science",
@@ -150,16 +157,28 @@ def build_package(distribution):
        p["/usr/share/icons/hicolor/64x64/hildon"] = ["64x64-ejpi.png|ejpi.png"]
        p["/usr/share/icons/hicolor/scalable/hildon"] = ["scale-ejpi.png|ejpi.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__":