7 __description__ = "Todo Manager"
9 __email__ = "eopage@byu.net"
14 * Fixed bug where if you had no backend enabled, you couldn't enable a backend (Now hit "Connect" in the "File" menu)
15 * Fixed some polish bugs with the popup calendar
19 * Backend Support: Remember The Milk
27 * Note Viewer / Editor
29 * Adding, renaming, and (un)archiving of lists
30 * Uncompleting a task and viewing completed tasks
31 * Viewing/editing of task recurrence, time estimate, tags, location, url
37 __postinstall__ = '''#!/bin/sh
39 gtk-update-icon-cache /usr/share/icons/hicolor
44 for root, dirs, files in os.walk(path):
46 if file.startswith("src-"):
47 fileParts = file.split("-")
48 unused, relPathParts, newName = fileParts[0], fileParts[1:-1], fileParts[-1]
49 assert unused == "src"
50 relPath = os.sep.join(relPathParts)
51 yield relPath, file, newName
54 def unflatten_files(files):
56 for relPath, oldName, newName in files:
59 d[relPath].append((oldName, newName))
63 if __name__ == "__main__":
65 os.chdir(os.path.dirname(sys.argv[0]))
69 p = Py2deb(__appname__)
70 p.description = __description__
74 p.depends = "python2.5, python2.5-gtk2"
75 p.section = "user/communication"
78 p.distribution = "chinook diablo"
79 p.repository = "extras-devel"
80 p.changelog = __changelog__
81 p.postinstall = __postinstall__
82 p.icon="26x26-doneit.png"
83 p["/usr/bin"] = [ "doneit.py" ]
84 for relPath, files in unflatten_files(find_files(".")).iteritems():
85 fullPath = "/usr/lib/doneit"
87 fullPath += os.sep+relPath
89 "|".join((oldName, newName))
90 for (oldName, newName) in files
92 p["/usr/share/applications/hildon"] = ["doneit.desktop"]
93 # p["/usr/share/icons/hicolor/26x26/hildon"] = ["26x26-doneit.png|doneit.png"]
94 # p["/usr/share/icons/hicolor/64x64/hildon"] = ["64x64-doneit.png|doneit.png"]
95 # p["/usr/share/icons/hicolor/scalable/hildon"] = ["scale-doneit.png|doneit.png"]
99 __version__, __build__, changelog=__changelog__,
100 tar=True, dsc=True, changes=True, build=False, src=True