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
16 * Caching added to RTM backend
20 * Backend Support: Remember The Milk
28 * Note Viewer / Editor
30 * Adding, renaming, and (un)archiving of lists
31 * Uncompleting a task and viewing completed tasks
32 * Viewing/editing of task recurrence, time estimate, tags, location, url
38 __postinstall__ = '''#!/bin/sh
40 gtk-update-icon-cache /usr/share/icons/hicolor
45 for root, dirs, files in os.walk(path):
47 if file.startswith("src-"):
48 fileParts = file.split("-")
49 unused, relPathParts, newName = fileParts[0], fileParts[1:-1], fileParts[-1]
50 assert unused == "src"
51 relPath = os.sep.join(relPathParts)
52 yield relPath, file, newName
55 def unflatten_files(files):
57 for relPath, oldName, newName in files:
60 d[relPath].append((oldName, newName))
64 if __name__ == "__main__":
66 os.chdir(os.path.dirname(sys.argv[0]))
70 p = Py2deb(__appname__)
71 p.description = __description__
75 p.depends = "python2.5, python2.5-gtk2"
76 p.section = "user/communication"
79 p.distribution = "chinook diablo"
80 p.repository = "extras-devel"
81 p.changelog = __changelog__
82 p.postinstall = __postinstall__
83 p.icon="26x26-doneit.png"
84 p["/usr/bin"] = [ "doneit.py" ]
85 for relPath, files in unflatten_files(find_files(".")).iteritems():
86 fullPath = "/usr/lib/doneit"
88 fullPath += os.sep+relPath
90 "|".join((oldName, newName))
91 for (oldName, newName) in files
93 p["/usr/share/applications/hildon"] = ["doneit.desktop"]
94 # p["/usr/share/icons/hicolor/26x26/hildon"] = ["26x26-doneit.png|doneit.png"]
95 # p["/usr/share/icons/hicolor/64x64/hildon"] = ["64x64-doneit.png|doneit.png"]
96 # p["/usr/share/icons/hicolor/scalable/hildon"] = ["scale-doneit.png|doneit.png"]
100 __version__, __build__, changelog=__changelog__,
101 tar=True, dsc=True, changes=True, build=False, src=True