pastebin - collaborative debugging

pastebin is a collaborative debugging tool allowing you to share and modify code snippets while chatting on IRC, IM or a message board.

This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

PHP pastebin - collaborative debugging tool View Help


Posted by Khertan on Thu 21 Aug 07:28
report abuse | download | new post

  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

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with @@


Remember me