Guest

Khertan

By: a guest on Aug 21st, 2008  |  syntax: PHP  |  size: 1.80 KB  |  hits: 113  |  expires: Never
download  |  raw  |  embed  |  report abuse
Copied
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. ## This program is free software; you can redistribute it and/or modify
  4. ## it under the terms of the GNU General Public License as published
  5. ## by the Free Software Foundation; version 2 only.
  6. ##
  7. ## This program is distributed in the hope that it will be useful,
  8. ## but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  10. ## GNU General Public License for more details.
  11. ##
  12. import py2deb
  13.  
  14. if __name__ == "__main__":
  15.     try:
  16.         os.chdir(os.path.dirname(sys.argv[0]))
  17.     except:
  18.         pass
  19.  
  20.     p=py2deb.Py2deb("mcalendar")
  21.     p.description="mCalendar is a small calendar application specially designed for maemo internet tablet. You can use it without stylus, and sync it with Google Calendar."
  22.     p.author="Benoît HERVIER"
  23.     p.mail="khertan@khertan.net"
  24.     p.depends = "python2.5-runtime, python-gdata, python-sqlite"
  25.     p.section="user/office"
  26.     p.arch="any"
  27.     p.urgency="low"
  28.     p.distribution="diablo"
  29.     p.repository="extras-devel"
  30.     p["/."] = ["usr/bin/mcalendar","usr/lib/mcalendar/mcalendar.glade","usr/lib/mcalendar/mCalendar","usr/share/applications/hildon/mcalendar.desktop","usr/share/dbus-1/services/mcalendar.service","usr/share/icons/hicolor/64x64/apps/mcalendar.png","usr/lib/mcalendar/mcalendar_main.py","usr/share/pixmaps/mcalendar26.png","usr/share/pixmaps/mcalendar.png","usr/lib/mcalendar/mcalendar_main.py"]
  31.  
  32.     print p
  33.     r = p.generate("0.4.0","1",changelog=" * Fix prefs error,old database error,sync error on weekly reccurent event, sync error with all day events and add some gui background color",tar=True,dsc=True,changes=True,build=False,src=True)
  34.     print r
  35.  
  36. #scp *0.4.0-1* khertan@garage.maemo.org:/var/www/extras-devel/incoming-builder/diablo