7 __description__ = "Todo Manager"
9 __email__ = "eopage@byu.net"
15 * Backend Support: Remember The Milk
23 * Note Viewer / Editor
25 * Adding, renaming, and (un)archiving of lists
26 * Uncompleting a task and viewing completed tasks
27 * Viewing/editing of task recurrence, time estimate, tags, location, url
32 __postinstall__ = '''#!/bin/sh
34 gtk-update-icon-cache /usr/share/icons/hicolor
39 for root, dirs, files in os.walk(path):
41 if file.startswith("src-"):
42 fileParts = file.split("-")
43 unused, relPathParts, newName = fileParts[0], fileParts[1:-1], fileParts[-1]
44 assert unused == "src"
45 relPath = os.sep.join(relPathParts)
46 yield relPath, file, newName
49 def unflatten_files(files):
51 for relPath, oldName, newName in files:
54 d[relPath].append((oldName, newName))
58 if __name__ == "__main__":
60 os.chdir(os.path.dirname(sys.argv[0]))
64 p = Py2deb(__appname__)
65 p.description = __description__
69 p.depends = "python2.5, python2.5-gtk2"
70 p.section = "user/communication"
73 p.distribution = "chinook diablo"
74 p.repository = "extras-devel"
75 p.changelog = __changelog__
76 p.postinstall = __postinstall__
77 p.icon="26x26-doneit.png"
78 p["/usr/bin"] = [ "doneit.py" ]
79 for relPath, files in unflatten_files(find_files(".")).iteritems():
80 fullPath = "/usr/lib/doneit"
82 fullPath += os.sep+relPath
84 "|".join((oldName, newName))
85 for (oldName, newName) in files
87 p["/usr/share/applications/hildon"] = ["doneit.desktop"]
88 # p["/usr/share/icons/hicolor/26x26/hildon"] = ["26x26-doneit.png|doneit.png"]
89 # p["/usr/share/icons/hicolor/64x64/hildon"] = ["64x64-doneit.png|doneit.png"]
90 # p["/usr/share/icons/hicolor/scalable/hildon"] = ["scale-doneit.png|doneit.png"]
94 __version__, __build__, changelog=__changelog__,
95 tar=True, dsc=True, changes=True, build=False, src=True