debian/0000755000000000000000000000000011362606620007170 5ustar debian/rules0000755000000000000000000000026711355373662010266 0ustar #!/usr/bin/make -f %: dh $@ override_dh_auto_install: dh_auto_install -- --install-lib=/usr/share/drpython install -m 0755 -D drpython.pyw debian/drpython/usr/share/drpython/run debian/links0000644000000000000000000000017211354313162010230 0ustar usr/share/drpython/run usr/bin/drpython usr/share/drpython/drpython/documentation usr/share/doc/drpython/documentation debian/install0000644000000000000000000000012711354313162010556 0ustar debian/drpython.xpm usr/share/pixmaps debian/drpython.desktop usr/share/applications debian/menu0000644000000000000000000000023311354313162010052 0ustar ?package(drpython):needs="X11" section="Applications/Programming"\ title="DrPython" command="/usr/bin/drpython"\ icon="/usr/share/pixmaps/drpython.xpm" debian/watch0000644000000000000000000000012711354313162010216 0ustar version=3 http://sf.net/drpython/drpython-([0-9]+\.[0-9]+\.[0-9]+)\.zip debian uupdate debian/manpages0000644000000000000000000000002211354313162010675 0ustar debian/drpython.1 debian/compat0000644000000000000000000000000211354313162010363 0ustar 7 debian/control0000644000000000000000000000170311362606362010577 0ustar Source: drpython Section: devel Priority: optional Maintainer: William Vera Build-Depends: debhelper(>= 7.0.50~) Build-Depends-Indep: python-support (>= 0.5.3) Homepage: http://drpython.sourceforge.net Standards-Version: 3.8.4 Package: drpython Architecture: all Depends: ${python:Depends}, ${misc:Depends}, python-wxgtk2.8 Suggests: python-doc, wx2.8-doc, python-tk Description: simple and customizable editor for the Python language DrPython is a clean and simple yet powerful and highly customizable editor/environment for developing programs written in Python. . DrPython features: * a high degree of customization through themes, which can change look and feel, behavior, shortcuts and more * DrScript: Write custom Python scripts with access to DrPython internals, and access them from the menu * bookmarks to quickly jump to files and directories * Python debugger support * a class browser * printing support debian/copyright0000644000000000000000000000227411354313162011125 0ustar This package was debianized by Cédric Delfosse on Sun, 11 Jan 2004 15:40:47 +0100. It was downloaded from http://drpython.sf.net Upstream Author: Daniel Pozmanter Copyright © 2003-2007, Daniel Pozmanter Copyright © 2004 Radoslaw Stachowiak Copyright © 2004 limodou License: This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. debian/drpython.10000644000000000000000000000261611354313162011123 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH DRPYTHON 1 "janvier 11, 2004" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME DrPython \- simple and customizable editor for the Python language .SH SYNOPSIS .B drpython .RI [ " files " ... " "] .SH DESCRIPTION This manual page documents briefly the .B drpython commands. This manual page was written for the Debian distribution because the original program does not have a manual page. For more information, refer to DrPython help menu. .PP \fBdrpython\fP is a clean and simple yet powerful and highly customizable editor/environment for developing programs written in Python. .SH OPTIONS This program has no options. .SH SEE ALSO .BR python (1), .BR idle (1). .br .SH AUTHOR This manual page was written by Cedric Delfosse , for the Debian project (but may be used by others). debian/drpython.desktop0000644000000000000000000000020511354313162012424 0ustar [Desktop Entry] Name=DrPython Exec=drpython Icon=drpython Terminal=false Type=Application Categories=Development; StartupNotify=true debian/changelog0000644000000000000000000002265211362606112011045 0ustar drpython (1:3.11.1-2) unstable; urgency=low * New Maintainer (Closes: #575845). * Bump Standards-Version to 3.8.4. * Switch to dpkg-source 3.0 (quilt) format -- William Vera Thu, 01 Apr 2010 14:21:09 -0600 drpython (1:3.11.1-1) unstable; urgency=low * New upstream release. * Refresh patches for new upstream release. * Remove patches merged upstream: - debian/patches/remove_shebangs - debian/patches/interpreter_hang - debian/patches/nonexistant_file - debian/patches/printsetup_disable_WriteText * Update my e-mail address. * Remove DM-Upload-Allowed field. * Switch to debhelper 7. * Adjust copyright informations. * Install drpython module in a private directory. * Drop wx2.8-doc from Recommends, move it to Suggests. * Add ${misc:Depends} to drpython dependencies. * Bump Standards-Version to 3.8.3, no changes required. -- Luca Falavigna Sat, 29 Aug 2009 21:11:12 +0200 drpython (1:3.11.0-3) unstable; urgency=low * Add Python Applications Packaging Team to Uploaders. * Add Vcs-* fields in source stanza. * Reorganize patches: - Switch to quilt. - Comment and divide patches from Debian-specific bits to the ones to be forwarded/fixed upstream. - debian/patches/program_paths now provides fix for LP: #339323 too. * debian/patches/distutils_exclude_files: - Do not install unwanted files with distutils. * debian/patches/debian_python: - Adjust modules and paths to match Debian Python implementation. * debian/copyright: - DrPython licensed under GPLv2, adjust link accordingly. * debian/rules: - Use distutils to install files. - Remove build target, useless. - Use drpython.install file instead of multiple calls to dh_install. * debian/dirs: - No useful anymore, removed. * Bump Standards-Version to 3.8.1, no changes required. -- Luca Falavigna Tue, 07 Apr 2009 22:34:42 +0200 drpython (1:3.11.0-2) unstable; urgency=low * debian/patches/16_FileDialog.dpatch: use wx.filedialog by default to avoid DrPython to hang for a long time on huge directories. * debian/watch: report correct upstream version. * Add debian/README.Source file, as per policy. -- Luca Falavigna Wed, 05 Nov 2008 23:24:55 +0100 drpython (1:3.11.0-1) unstable; urgency=low * New upstream release. * Bump epoch due to new version numbering system. * debian/control: - Adjust dependencies for wxwidgets2.8. * debian/patches/15_output_redirection.dpatch: - Set standard output and error to valid UNIX locations. * Adjust patches for new upstream release: - debian/patches/03_pythonfix.dpatch * Drop patches, implemented upstream: - debian/patches/10_ctrl_q_to_exit_as_default_shortcut.dpatch -- Luca Falavigna Thu, 03 Jul 2008 22:11:49 +0200 drpython (165-7) unstable; urgency=low * debian/control: - s/python/Python/, fix spelling-error-in-description lintian warning. - Bump Standards-Version to 3.8.0. - Add DM-Upload-Allowed field. * debian/copyright: - Add copyright notice, fix lintian warning. * debian/drpython.doc-base: - Switch Section to Programming, fix lintian warning. * Add debian/pysupport. * debian/patches/14_printsetup_disable_WriteText.dpatch: - Fix crash in PrinterSetup routine. -- Luca Falavigna Fri, 27 Jun 2008 01:19:45 +0200 drpython (165-6) unstable; urgency=low * Update to new policy (3.7.3) * Switch to new Homepage field * debian/copyright is now UTF-8 valid * Do not use uppercase letters in doc-base Document field -- Luca Falavigna Fri, 04 Jan 2008 00:16:21 +0100 drpython (165-5) unstable; urgency=low * Suggest python-tk since it is required to browse PyDoc * Add watch file * Remove XS-Vcs-Bzr field in debian/control, not really useful for now -- Luca Falavigna Mon, 22 Oct 2007 13:25:39 +0200 drpython (165-4) unstable; urgency=low * New Maintainer (Closes: #439046) * Do not insert erroneous character while pressing Shift key toghether with DEL or INSERT (Closes: #347622, #347623) * Do not crash if saved file is not available (LP: #96014) * Removed useless maintainer scripts * Do not recommend python-doc, suggest it instead * Modify .desktop file to be freedesktop compliant * Replace Apps with Applications in .menu file to fix a lintian warning * Use XS-Vcs-Bzr in debian/control -- Luca Falavigna Wed, 05 Sep 2007 00:38:34 +0200 drpython (165-3) unstable; urgency=low * Orphaned -- Cédric Delfosse Tue, 21 Aug 2007 21:44:03 +0200 drpython (165-2) unstable; urgency=low * Default open and save location should be the user's home (Closes: #429552) Add patch 11_change_default_directory from Stijn Polfliet -- Cédric Delfosse Fri, 22 Jun 2007 21:55:09 +0200 drpython (165-1) unstable; urgency=low * New upstream release * Removed 09_drnotebook_onkeydown_fix applied upstream * Some update in debian/rules -- Cédric Delfosse Thu, 19 Apr 2007 22:02:04 +0200 drpython (161-3.1) unstable; urgency=low * Non-maintainer upload. * Fixed deps to work with python >=2.3 (Closes: #384951) * Changed Recommend: python2.3-doc to python-doc. * Removed debhelper and patch from Build-Depends-Indep. -- Ana Beatriz Guerrero Lopez Sun, 22 Oct 2006 04:37:23 +0200 drpython (161-3) unstable; urgency=low * Use python-support. * Bump debhelper compat mode to 5. * Set pycompat to 2. * Bump Standards-Version to 3.7.2. -- Cédric Delfosse Tue, 11 Jul 2006 19:11:57 +0000 drpython (161-2) unstable; urgency=low * Fix maintainer name in previous changelog ! * debian/copyright: update FSF address * New patch for "error when pressing " 09_drnotebook_onkeydown_fix (Closes: Bug#310388) * New patch to set ctrl-Q as the default shortcut to exit application 10_ctrl_q_to_exit_as_default_shortcut [ Ubuntu patch from Sebastian Dröge ] * Add debian/drpython.desktop * Patch to prefer local Python and WxWidgets documentation if installed instead of web sites (Closes: Bug#299959) * debian/control: Recommends Python and WxWidgets documentation -- Cédric Delfosse Sun, 20 Nov 2005 00:30:43 +0100 drpython (161-1) unstable; urgency=low * New upstream release -- Cédric Delfosse Fri, 11 Nov 2005 14:44:24 +0100 drpython (3.10.13-3) unstable; urgency=low * Now depends on python-wxgtk2.6, which has entered unstable (Closes: Bug#325410) * New patch for "hangs when opening a python interpreter" bug 07_python_interpreter_hang.dpatch (Closes: Bug#311936) -- Cédric Delfosse Mon, 29 Aug 2005 00:24:42 +0200 drpython (3.10.13-2) experimental; urgency=low * Now depends on wxpython2.6-0 -- Cédric Delfosse Thu, 14 Jul 2005 15:03:01 +0200 drpython (3.10.13-1) unstable; urgency=low * New upstream release -- Cédric Delfosse Sat, 14 May 2005 12:13:37 +0200 drpython (3.10.12-1) unstable; urgency=low * New upstream release (Closes: Bug#304263) * Use sensible-browser instead of mozilla in default preferences Bug#299959 -- Cédric Delfosse Tue, 19 Apr 2005 21:28:04 +0200 drpython (3.9.5-1) unstable; urgency=low * New upstream release -- Cédric Delfosse Fri, 28 Jan 2005 23:51:41 +0100 drpython (3.8.4-1) unstable; urgency=low * New upstream release -- Cédric Delfosse Sun, 9 Jan 2005 15:56:03 +0100 drpython (3.7.3-1) unstable; urgency=low * New upstream release (Closes: Bug#261485) -- Cédric Delfosse Mon, 6 Dec 2004 21:03:36 +0100 drpython (3.7.0-1) unstable; urgency=low * New upstream release -- Cédric Delfosse Tue, 30 Nov 2004 22:28:03 +0100 drpython (2.4.6-2) unstable; urgency=low * Correct index file in debian/drpython.doc-base (Closes: Bug#262909) * Bump Standards-Version -- Cédric Delfosse Fri, 6 Aug 2004 23:04:03 +0200 drpython (2.4.6-1) unstable; urgency=low * New upstream release -- Cédric Delfosse Fri, 30 Apr 2004 19:46:16 +0200 drpython (2.3.5-1) unstable; urgency=low * New upstream release -- Cédric Delfosse Mon, 29 Mar 2004 21:48:15 +0200 drpython (2.2.9-1) unstable; urgency=low * New upstream release -- Cédric Delfosse Tue, 2 Mar 2004 20:42:56 +0100 drpython (2.2.4-1) unstable; urgency=low * New upstream release -- Cédric Delfosse Tue, 17 Feb 2004 15:18:42 +0100 drpython (2.2.2-1) unstable; urgency=low * New upstream release -- Cédric Delfosse Thu, 12 Feb 2004 23:19:56 +0100 drpython (2.2.1-1) unstable; urgency=low * New upstream release * Added an icon to menu -- Cédric Delfosse Mon, 9 Feb 2004 22:42:24 +0100 drpython (2.1.9-1) unstable; urgency=low * New upstream release -- Cédric Delfosse Tue, 3 Feb 2004 21:48:28 +0100 drpython (2.1.8-1) unstable; urgency=low * New upstream release -- Cédric Delfosse Thu, 29 Jan 2004 22:50:50 +0100 drpython (2.0.2-1) unstable; urgency=low * Initial Release. (closes: Bug#227060) -- Cédric Delfosse Wed, 14 Jan 2004 22:27:04 +0100 debian/source/0000755000000000000000000000000011355200061010457 5ustar debian/source/format0000644000000000000000000000001411362606617011704 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000011354313162010614 5ustar debian/patches/distutils_exclude_files0000644000000000000000000000130211354313162015452 0ustar DEBIAN-SPECIFIC Do not install unwanted files with distutils. Index: drpython-3.11.0/setup.py =================================================================== --- drpython-3.11.0.orig/setup.py 2009-04-07 21:25:33.000000000 +0200 +++ drpython-3.11.0/setup.py 2009-04-07 21:30:47.000000000 +0200 @@ -73,7 +73,6 @@ 'bitmaps/*.ico', 'bitmaps/*.png', 'bitmaps/16/*.png', 'bitmaps/24/*.png', # adding runner scripts, TODO: drpython startup should be probably redone - 'drpython.pyw', 'drpython.lin' ] from distutils.core import setup @@ -92,5 +91,4 @@ packages=[ MY_NAME ], package_dir={ MY_NAME : '.' }, package_data={ MY_NAME : DATA }, - scripts=['postinst.py'], ) debian/patches/series0000644000000000000000000000024211354313162012027 0ustar # DEBIAN-SPECIFIC program_paths sensible_browser defaultdirectory_home output_redirection distutils_exclude_files debian_python # UPSTREAM shift_keys FileDialog debian/patches/shift_keys0000644000000000000000000000152711354313162012714 0ustar Do not insert erroneous character while pressing Shift key toghether with DEL or INSERT. http://bugs.debian.org/347622 http://bugs.debian.org/347623 http://sourceforge.net/support/tracker.php?aid=1418091 Index: drpython-3.11.0/drShortcuts.py =================================================================== --- drpython-3.11.0.orig/drShortcuts.py 2009-04-07 00:15:51.000000000 +0200 +++ drpython-3.11.0/drShortcuts.py 2009-04-07 00:17:01.000000000 +0200 @@ -333,6 +333,9 @@ stc.CmdKeyAssign(PreDefArray[i], modifiers, cmdlist[x]) x = x + 1 + stc.CmdKeyAssign(wx.stc.STC_KEY_DELETE, wx.stc.STC_SCMOD_SHIFT, wx.stc.STC_CMD_CLEAR) + stc.CmdKeyAssign(wx.stc.STC_KEY_INSERT, wx.stc.STC_SCMOD_SHIFT, wx.stc.STC_CMD_EDITTOGGLEOVERTYPE) + return Shortcuts def SetShortcuts(frame, Shortcuts, ShortcutNames, useDefault=0): debian/patches/program_paths0000644000000000000000000001574111354313162013415 0ustar DEBIAN-SPECIFIC Adjust paths to match Debian packaging. http://bugs.debian.org/299959 https://launchpad.net/bugs/339323 Index: drpython-3.11.0/drAboutDialog.py =================================================================== --- drpython-3.11.0.orig/drAboutDialog.py 2009-04-06 23:57:01.000000000 +0200 +++ drpython-3.11.0/drAboutDialog.py 2009-04-07 00:07:42.000000000 +0200 @@ -95,7 +95,7 @@ author.SetFont(standardfont) - credits = drStaticLink(self, 1, ' Credits ', drframe.programdirectory + "/documentation/credits.html", drframe) + credits = drStaticLink(self, 1, ' Credits ', '/usr/share/doc/drpython/documentation/credits.html', drframe) website = drStaticLink(self, 2, ' http://drpython.sourceforge.net/ ', 'http://drpython.sourceforge.net/', drframe) @@ -138,7 +138,7 @@ wx.Panel.__init__(self, parent, id) try: - f = file(drframe.programdirectory + "/documentation/gpl.html", 'rb') + f = file('/usr/share/doc/drpython/documentation/gpl.html', 'rb') text = f.read() f.close() except: @@ -207,7 +207,7 @@ self.topSizer.Add(wx.lib.stattext.GenStaticText(self, -1, ' '), 0, wx.SHAPED | wx.ALIGN_CENTER_VERTICAL) - self.topSizer.Add(wx.StaticBitmap(self, -1, wx.BitmapFromImage(wx.Image(parent.programdirectory + "/documentation/drpython.png", wx.BITMAP_TYPE_PNG))), 0, wx.SHAPED | wx.ALIGN_CENTER_VERTICAL) + self.topSizer.Add(wx.StaticBitmap(self, -1, wx.BitmapFromImage(wx.Image('/usr/share/doc/drpython/documentation/drpython.png', wx.BITMAP_TYPE_PNG))), 0, wx.SHAPED | wx.ALIGN_CENTER_VERTICAL) self.topSizer.Add(wx.lib.stattext.GenStaticText(self, -1, ' '), 0, wx.SHAPED | wx.ALIGN_CENTER_VERTICAL) Index: drpython-3.11.0/drScriptMenu.py =================================================================== --- drpython-3.11.0.orig/drScriptMenu.py 2009-04-06 23:57:00.000000000 +0200 +++ drpython-3.11.0/drScriptMenu.py 2009-04-07 00:07:42.000000000 +0200 @@ -200,7 +200,7 @@ self.scriptcount = 0 if self.parent.prefs.drscriptloadexamples: self.examplemenu = wx.Menu() - self.loadscriptsfromfile(self.programdirectory + "/examples/DrScript/drscript.dat", self.examplemenu, 1) + self.loadscriptsfromfile('/usr/share/doc/drpython/examples/DrScript/drscript.dat', self.examplemenu, 1) self.AppendMenu(self.ID_EXAMPLE_SCRIPTS, "Examples", self.examplemenu) self.AppendSeparator() Index: drpython-3.11.0/drpython.py =================================================================== --- drpython-3.11.0.orig/drpython.py 2009-04-06 23:57:01.000000000 +0200 +++ drpython-3.11.0/drpython.py 2009-04-07 00:07:42.000000000 +0200 @@ -162,7 +162,7 @@ self.stcshortcutlist = drShortcutsFile.GetSTCShortcutList() - self.programdirectory = os.path.dirname(os.path.abspath(sys.argv[0])).replace("\\", "/") + self.programdirectory = '/usr/share/drpython' #Preferences @@ -2798,8 +2798,7 @@ drAboutDialog.Show(self) def OnViewHelp(self, event): - self.ViewURLInBrowser(self.programdirectory + "/documentation/help.html") - + self.ViewURLInBrowser('/usr/share/doc/drpython/documentation/help.html') def OnViewInLeftPanel(self, event): self.viewinpaneltarget = 0 Index: drpython-3.11.0/examples/DrScript/drscript.dat =================================================================== --- drpython-3.11.0.orig/examples/DrScript/drscript.dat 2009-04-06 23:57:01.000000000 +0200 +++ drpython-3.11.0/examples/DrScript/drscript.dat 2009-04-07 00:07:42.000000000 +0200 @@ -1,8 +1,8 @@ -examples/DrScript/ReverseAssignment.pyReverse Assigment -examples/DrScript/PrintEndOfLineCharactersInPrompt.pyPrint End Of Line Characters In Prompt +/usr/share/doc/drpython/examples/DrScript/ReverseAssignment.pyReverse Assigment +/usr/share/doc/drpython/examples/DrScript/PrintEndOfLineCharactersInPrompt.pyPrint End Of Line Characters In Prompt >Run In Terminal - examples/DrScript/RunInTerminal.pyRun In Terminal - examples/DrScript/SetTerminalArgs.pySet Arguments For Run In Terminal + /usr/share/doc/drpython/examples/DrScript/RunInTerminal.pyRun In Terminal + /usr/share/doc/drpython/examples/DrScript/SetTerminalArgs.pySet Arguments For Run In Terminal >In Selection - examples/DrScript/ReplaceAllInSelection.pyReplace All In Selection - examples/DrScript/SwitcherooInSelection.pySwitcheroo In Selection + /usr/share/doc/drpython/examples/DrScript/ReplaceAllInSelection.pyReplace All In Selection + /usr/share/doc/drpython/examples/DrScript/SwitcherooInSelection.pySwitcheroo In Selection Index: drpython-3.11.0/drPreferences.py =================================================================== --- drpython-3.11.0.orig/drPreferences.py 2009-04-06 23:57:01.000000000 +0200 +++ drpython-3.11.0/drPreferences.py 2009-04-07 00:07:42.000000000 +0200 @@ -526,8 +526,15 @@ self.documentationbrowser = "mozilla" if self.platform_is_windows: self.documentationbrowser = "" - self.documentationpythonlocation = "http://www.python.org/doc/current/" - self.documentationwxwidgetslocation = "http://www.wxwidgets.org/docs.htm" + if (os.access("/usr/share/doc/python/html/index.html", os.F_OK)): + self.documentationpythonlocation = "/usr/share/doc/python/html/index.html" + else: + self.documentationpythonlocation = "http://www.python.org/doc/current/" + + if (os.access("/usr/share/doc/wx2.6-doc/wx-manual.html/wx2.6-manual_contents.html", os.F_OK)): + self.documentationwxwidgetslocation = "/usr/share/doc/wx2.6-doc/wx-manual.html/wx2.6-manual_contents.html" + else: + self.documentationwxwidgetslocation = "http://www.wxwidgets.org/docs.htm" self.documentationrehowtolocation = "http://www.amk.ca/python/howto/regex/" def __getitem__(self, key): Index: drpython-3.11.0/drPrefsDialog.py =================================================================== --- drpython-3.11.0.orig/drPrefsDialog.py 2009-04-07 00:08:49.000000000 +0200 +++ drpython-3.11.0/drPrefsDialog.py 2009-04-07 00:09:12.000000000 +0200 @@ -1316,7 +1316,7 @@ self.EndModal(0) def OnbtnHelp(self, event): - self.parent.ViewURLInBrowser(self.parent.programdirectory + "/documentation/preferences.html") + self.parent.ViewURLInBrowser("/usr/share/doc/drpython/documentation/preferences.html") def OnbtnReset(self, event): answer = wx.MessageBox("This will reset all preferences to the program default.\n(You still need to click update and/or save)\nAre you sure you want to do this?", "Reset Preferences", wx.YES_NO | wx.ICON_QUESTION) debian/patches/debian_python0000644000000000000000000000165211354313162013366 0ustar DEBIAN-SPECIFIC Adjust modules and paths to match Debian Python implementation. Index: drpython-3.11.0/drpython.py =================================================================== --- drpython-3.11.0.orig/drpython.py 2009-04-07 22:32:39.000000000 +0200 +++ drpython-3.11.0/drpython.py 2009-04-07 22:32:58.000000000 +0200 @@ -162,7 +162,7 @@ self.stcshortcutlist = drShortcutsFile.GetSTCShortcutList() - self.programdirectory = '/usr/share/drpython' + self.programdirectory = '/usr/share/drpython/drpython' #Preferences Index: drpython-3.11.0/drpython.pyw =================================================================== --- drpython-3.11.0.orig/drpython.pyw 2009-04-07 22:32:07.000000000 +0200 +++ drpython-3.11.0/drpython.pyw 2009-04-07 22:32:21.000000000 +0200 @@ -32,5 +32,5 @@ # if __name__ == '__main__': - import drpython + from drpython import drpython drpython.main() debian/patches/sensible_browser0000644000000000000000000000134511354313162014111 0ustar DEBIAN-SPECIFIC Use sensible-browser instead of mozilla in default preferences. http://bugs.debian.org/299959 Index: drpython-3.11.0/drPreferences.py =================================================================== --- drpython-3.11.0.orig/drPreferences.py 2009-04-06 23:50:15.000000000 +0200 +++ drpython-3.11.0/drPreferences.py 2009-04-06 23:50:38.000000000 +0200 @@ -523,7 +523,7 @@ self.printtabwidth = 4 #Documentation Settings - self.documentationbrowser = "mozilla" + self.documentationbrowser = "/usr/bin/sensible-browser" if self.platform_is_windows: self.documentationbrowser = "" if (os.access("/usr/share/doc/python/html/index.html", os.F_OK)): debian/patches/FileDialog0000644000000000000000000000121111354313162012531 0ustar Do not hang for a long time while listing huge directories. http://sourceforge.net/support/tracker.php?aid=2025471 Index: drpython-3.11.0/drPreferences.py =================================================================== --- drpython-3.11.0.orig/drPreferences.py 2009-04-07 00:25:53.000000000 +0200 +++ drpython-3.11.0/drPreferences.py 2009-04-07 00:26:11.000000000 +0200 @@ -289,7 +289,7 @@ self.save = 0 #File Dialog - self.usewxfiledialog = 0 + self.usewxfiledialog = 1 self.defaultextension = 1 self.constantwildcard = '*.lnk' #self.windowsshortcutreplacetable = 'C:,/mnt/win_c#' debian/patches/defaultdirectory_home0000644000000000000000000000126711354313162015126 0ustar DEBIAN-SPECIFIC Set default open and save locations into user's home. http://bugs.debian.org/429552 Index: drpython-3.11.0/drPreferences.py =================================================================== --- drpython-3.11.0.orig/drPreferences.py 2009-04-07 00:13:58.000000000 +0200 +++ drpython-3.11.0/drPreferences.py 2009-04-07 00:14:27.000000000 +0200 @@ -281,7 +281,7 @@ self.vieweol = 1 self.checkeol = 1 self.pythonargs = "" - self.defaultdirectory = programdirectory + self.defaultdirectory = os.path.expanduser('~') self.enablefeedback = 1 wx.GetApp().debugmodus = self.debugmodus = 1 self.alwayspromptonexit = 0 debian/patches/output_redirection0000644000000000000000000000130311354313162014463 0ustar DEBIAN-SPECIFIC Set standard output and error to valid UNIX locations. Index: drpython-3.11.1/drpython.py =================================================================== --- drpython-3.11.1.orig/drpython.py 2009-08-29 20:07:49.068592453 +0200 +++ drpython-3.11.1/drpython.py 2009-08-29 20:14:21.648581517 +0200 @@ -80,8 +80,8 @@ if not logdir.endswith('/'): logdir += '/' -err_file = logdir + 'drpython.err' -out_file = logdir + 'drpython.out' +err_file = logdir + '~/.drpython/drpython.err' +out_file = logdir + '~/.drpython/drpython.out' firsterr_file = logdir + 'drpythonfirst.err' #******************************************************************************************************* debian/README.source0000644000000000000000000000211011354313162011336 0ustar This package uses dpatch to manage all modifications to the upstream source. Changes are stored in the source package as diffs in debian/patches and applied during the build. To get the fully patched source after unpacking the source package, cd to the root level of the source package and run: debian/rules patch Removing a patch is as simple as removing its entry from the debian/patches/00list file, and please also remove the patch file itself. Creating a new patch is done with "dpatch-edit-patch patch XX_patchname" where you should replace XX with a new number and patchname with a descriptive shortname of the patch. You can then simply edit all the files your patch wants to edit, and then simply "exit 0" from the shell to actually create the patch file. To tweak an already existing patch, call "dpatch-edit-patch XX_patchname" and replace XX_patchname with the actual filename from debian/patches you want to use. To clean up afterwards again, "debian/rules unpatch" will do the work for you - or you can of course choose to call "fakeroot debian/rules clean" all together. debian/doc-base0000644000000000000000000000047511354313162010573 0ustar Document: drpython Title: Debian DrPython Manual Author: Daniel Pozmanter Abstract: This manual describes what DrPython is and how it can be used to develop Python programs. Section: Programming Format: HTML Index: /usr/share/doc/drpython/documentation/help.html Files: /usr/share/doc/drpython/documentation/*.html debian/drpython.xpm0000644000000000000000000001177211354313162011572 0ustar /* XPM */ static char *drpython[] = { /* columns rows colors chars-per-pixel */ "32 32 178 2", " c black", ". c #000004", "X c #001700", "o c #1C1400", "O c #1B1B1C", "+ c #000020", "@ c #002300", "# c #002C00", "$ c #002F00", "% c #0E2416", "& c #182800", "* c #1C301C", "= c #002B3C", "- c #003428", "; c #112C24", ": c #200000", "> c #280000", ", c #3C0000", "< c #381100", "1 c #283400", "2 c #302200", "3 c #202020", "4 c #282828", "5 c #000040", "6 c #000058", "7 c #000E54", "8 c #001D48", "9 c #1F005B", "0 c #000060", "q c #000074", "w c #00007F", "e c #050079", "r c #000B70", "t c #001760", "y c #001178", "u c #002E40", "i c #004000", "p c #004600", "a c #005500", "s c #005D00", "d c #005E00", "f c #005110", "g c #005718", "h c #105100", "j c #006900", "k c #007200", "l c #007500", "z c #007B08", "x c #400000", "c c #481D00", "v c #502300", "b c #503838", "n c #641A00", "m c #7F0000", "M c #560056", "N c #620062", "B c navy", "V c #00009F", "C c #0000AB", "Z c #0000BF", "A c #3500A6", "S c #0002C3", "D c #0000CF", "F c #0000D7", "G c #0000DF", "H c #0A00D4", "J c #1C00C0", "K c #1F00DF", "L c #0000E3", "P c #0000E7", "I c #0000EB", "U c #0000EF", "Y c #0000F3", "T c #0000F7", "R c blue", "E c #0B00F3", "W c #0C00F3", "Q c #1500E9", "! c #1800E6", "~ c #1E00E0", "^ c #2F00CF", "/ c #2400DA", "( c #2900D5", ") c #2D00D1", "_ c #2C00D2", "` c #3000CE", "' c #3200CC", "] c #3300CC", "[ c #3500C9", "{ c #3600C8", "} c #3900C5", "| c #3800C6", " . c #3A00C4", ".. c #3C00C2", "X. c #3E00C0", "o. c #4C008A", "O. c #5F009F", "+. c #4F00AF", "@. c #4700B7", "#. c #4300BB", "$. c #4100BD", "%. c #4500B9", "&. c #4400BA", "*. c #4D00B1", "=. c #4C00B2", "-. c #5600A8", ";. c #5A00A4", ":. c #6B0093", ">. c #680096", ",. c #71008D", "<. c #7C0082", "1. c #008600", "2. c #008C00", "3. c #008F00", "4. c #009200", "5. c #009800", "6. c #009E00", "7. c #00A100", "8. c #00A400", "9. c #00A700", "0. c #00AC00", "q. c #00B200", "w. c #00BB00", "e. c #14C000", "r. c #18C100", "t. c #3CCB00", "y. c #9E0000", "u. c #A60500", "i. c #B60000", "p. c #BD0000", "a. c #BE0000", "s. c #81007D", "d. c #8A0074", "f. c #C20000", "g. c #C60000", "h. c #CB0000", "j. c #CE0000", "k. c #D30000", "l. c #D60000", "z. c #DE0000", "x. c #E00000", "c. c #E20000", "v. c #E60000", "b. c #E90000", "n. c #EA0000", "m. c #EE0000", "M. c #F00000", "N. c #F30000", "B. c #F60000", "V. c #F80000", "C. c #FA0000", "Z. c #FB0000", "A. c red", "S. c #AFA700", "D. c #BFBF00", "F. c #8BD200", "G. c #9FE600", "H. c #A7E800", "J. c #BFEE00", "K. c #DFDF00", "L. c #C7F000", "P. c #D7F400", "I. c #EBEB00", "U. c #E3F800", "Y. c #FBFB00", "T. c #FBFE00", "R. c yellow", "E. c #808080", "W. c #9F9F9F", "Q. c #B7B7B7", "!. c gray75", "~. c gray81", "^. c #D7D7D7", "/. c #DFDFDF", "(. c gray92", "). c gray97", "_. c gray100", "`. c None", /* pixels */ "`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.A.) ^ ` ` `.`.`.`.`.`.`.`.`.`.`.`.", "`.`.`.`.`.`.`.`.`.`.A.A.A.A.A.A.R R R W ~ ) ` `.`.`.`.`.`.`.`.`.", "`.`.`.`.`.`.`.`.A.c.3 3 m.A.A.R R R R R R E ( } `.`.`.`.`.`.`.", "`.`.`.`.`.`.`.A.j.b _._.Q. a.a.Z R R R R R R R Q { `.`.`.`.`.`.", "`.`.`.`.`.A.A.f.> /.W.Q._.E. C R R R R R R R W ] `.`.`.`.`.", "`.`.`.`.A.h.m X /. ~.E.~._._. V R R R R R R R W ` `.`.`.`.", "`.`.`.`.k. 7.1. _._.W.E. (./.+ R R R R R R R R W ..`.`.`.", "`.`.`.A.a. w.w.w.4. 4 E.^.!.)./.6 R R R R R R R R R Q *.`.`.", "`.`.A.c.& 0.w.w.w.w.8.8.8. _._.* z q R R R R R R R R R ) `.`.", "`.`.A.c.& 0.w.w.w.w.w.w.w.w.a X X w.w.l B R R R R R R R R E *.`.", "`.A.A.A.a. w.w.w.w.w.w.w.w.w.w.w.w.w.1.t P R R R R R R R R { `.", "`.A.A.A.l. l 7.w.w.w.w.7. w.w.w.w.w.w.d V R R R R R R R R / ;.", "`.A.A.A.A.j. 2.w.w.w.w.w.w.d V R R R R R R R R E *.", "A.A.A.A.A.B.R.a.y.y.y.y.n 6.w.w.w.w.5.= F R 6 6 R R R R @.", "A.A.A.A.V.R.V.A.A.A.A.A.v.a.a.2 # w.w.w.w.p Z 6 2.2.g R R R ..", "A.A.A.A.R.b.A.A.A.A.A.A.A.A.A.v.G # w.w.w.p Z I X i q.f R R } ", "A.A.A.V.R.M.M.A.A.A.A.A.A.A.A.v.O U.r.w.w.w.i Z R Z p j T R } ", "A.A.A.R.A.R.A.A.A.A.A.A.A.A.A.x K.R.J.w.w.w.w.X R D - 8. Z R #.", "A.A.A.A.A.A.A.A.A.A.A.A.A.j.y. I.R.P.t.w.w.w.a C R V d k Y @.", "A.A.A.A.A.A.A.A.A.A.A.z.m @ D.R.R.R.G.w.w.w.w.+ R D u 5. H ;.", "`.A.A.A.A.A.A.A.A.A.b.c 5.p D.R.R.R.G.w.w.w.w.+ R R B l J >.", "`.A.A.A.A.A.A.A.A.A.< 5.w.w.p D.R.R.R.G.w.w.w.w.+ R R B l A `.", "`.A.A.A.A.A.A.A.A., 9.w.w.w.p D.R.R.L.e.w.w.w.w.. 6 R B l o.`.", "`.`.A.A.A.A.A.A.v.o w.w.q.h : S.Y.T.H.w.w.w.w.w.X 4.X j w. N `.", "`.`.A.A.A.A.A.A.x 8.w.w.l m A.x K.H.w.w.w.w.w.4.X w.w.w.6.% `.`.", "`.`.`.A.A.A.A.A.x 8.w.w.4.v y.1 F.w.w.w.w.w.w.X 7 l l l ; `.`.`.", "`.`.`.`.A.A.A.A.x 8.w.w.w.2.d 7.w.w.w.w.w.w.l r U w e 9 M `.`.`.", "`.`.`.`.`.A.A.A.i. w.w.w.w.w.w.w.w.w.4. y Y R W $.<.`.`.`.`.", "`.`.`.`.`.`.A.A.A.g.$ w.w.w.w.w.# $ 8 Z Z Y R ! -.d.`.`.`.`.`.", "`.`.`.`.`.`.`.A.A.A.z.u.X X X X X G G I R R W .,.`.`.`.`.`.`.`.", "`.`.`.`.`.`.`.`.`.A.A.A.A.A.A.A.R R R W / @.:.d.`.`.`.`.`.`.`.`.", "`.`.`.`.`.`.`.`.`.`.`.A.A.A.A.A.@.+.;.:.s.`.`.`.`.`.`.`.`.`.`.`." }; debian/pysupport0000644000000000000000000000000511354313162011170 0ustar 2.3-