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