--- spe-0.8.2a+repack.orig/_spe/dialogs/preferencesDialog.py +++ spe-0.8.2a+repack/_spe/dialogs/preferencesDialog.py @@ -108,7 +108,7 @@ self.label_pythonDocs = wx.StaticText(self.Paths, -1, _("Python docs")) self.PythonDocs = wx.ComboBox(self.Paths, -1, choices=[_(""), _("/usr/share/doc/python-docs-2.2.3/html"), _("/usr/share/doc/python-docs/html"), _("/usr/share/doc/python-docs2.2/html")], style=wx.CB_DROPDOWN) self.label_wxPythonDocs = wx.StaticText(self.Paths, -1, _("wxPython docs")) - self.WxPythonDocs = wx.ComboBox(self.Paths, -1, choices=[_(""), _("/usr/share/doc/wxPython-2.4.2.4/docs"), _("/usr/share/doc/wxPython-docs")], style=wx.CB_DROPDOWN) + self.WxPythonDocs = wx.ComboBox(self.Paths, -1, choices=[_(""), _("/usr/share/doc/wx2.6-doc/wx-manual.html"), _("/usr/share/doc/wxPython-docs")], style=wx.CB_DROPDOWN) self.label_warning = wx.StaticText(self, -1, _("Settings marked with * will only be updated next time SPE starts.")) self.defaults = wx.Button(self, -1, _("Defaults")) self.save = wx.Button(self, -1, _("Save")) --- spe-0.8.2a+repack.orig/_spe/Menu.py +++ spe-0.8.2a+repack/_spe/Menu.py @@ -527,19 +527,19 @@ self.link('http://www.elysiun.com/forum/viewforum.php?f=5&sid=1fcd71798ef503d8b093d597d1da142a') def menu_spe_homepage(self, event=None): - """Links > Spe homepage...""" + """Links > Spe homepage (external)...""" self.link('http://www.stani.be/spe/python/blog') def menu_forum_spe(self, event=None): - """Links > Forum spe...""" + """Links > Forum spe (external)...""" self.link('http://www.stani.be/python/spe/page_forum') def menu_authors_homepage(self, event=None): - """Links > Authors homepage""" + """Links > Authors homepage (external)""" self.link('http://www.stani.be') def menu_contact_author(self, event=None): - """Links > Contact author...""" + """Links > Contact author (external)...""" self.parentPanel.contact_author() def menu_python_homepage(self, event=None): --- spe-0.8.2a+repack.orig/_spe/Parent.py +++ spe-0.8.2a+repack/_spe/Parent.py @@ -816,6 +816,8 @@ def python_documentation_server(self): from pydoc import __file__ as fileName os.spawnl(os.P_NOWAIT,info.PYTHON_EXEC,info.PYTHON_EXEC,fileName,'-g') + import time + time.sleep(0.4) self.messageHtml('http://localhost:7464/') def wxwindows_documentation(self): --- spe-0.8.2a+repack.orig/_spe/spe +++ spe-0.8.2a+repack/_spe/spe @@ -1,4 +1,6 @@ -#!/usr/bin/env python +#!/usr/bin/python -import _spe.SPE +import wxversion ++wxversion.select('2.6') +import _spe.SPE --- spe-0.8.2a+repack.orig/_spe/wxgMenu.py +++ spe-0.8.2a+repack/_spe/wxgMenu.py @@ -340,20 +340,20 @@ self.blender.Append(BLENDER_PYTHON_TUTORIAL, _("Blender python &tutorial..."), "", wx.ITEM_NORMAL) self.blender.AppendSeparator() self.blender.Append(BLENDER_HOMEPAGE, _("Blender &homepage..."), "", wx.ITEM_NORMAL) - self.blender.Append(DOWNLOAD_BLENDER, _("&Download blender..."), "", wx.ITEM_NORMAL) +# self.blender.Append(DOWNLOAD_BLENDER, _("&Download blender..."), "", wx.ITEM_NORMAL) self.blender.Append(FORUM_BLENDER_PYTHON, _("Forum &blender python..."), "", wx.ITEM_NORMAL) self.blender.Append(FORUM_ELYSIUN_PYTHON, _("Forum &elYsiun python..."), "", wx.ITEM_NORMAL) self.Append(self.blender, _("&Blender")) self.links = wx.Menu() self.links.Append(SPE_HOMEPAGE, _("&Spe homepage..."), "", wx.ITEM_NORMAL) self.links.Append(FORUM_SPE, _("&Forum spe..."), "", wx.ITEM_NORMAL) - self.links.Append(AUTHORS_HOMEPAGE, _("&Authors homepage"), "", wx.ITEM_NORMAL) +# self.links.Append(AUTHORS_HOMEPAGE, _("&Authors homepage"), "", wx.ITEM_NORMAL) self.links.Append(CONTACT_AUTHOR, _("&Contact author...\tCtrl+@"), "", wx.ITEM_NORMAL) self.links.AppendSeparator() self.links.Append(PYTHON_HOMEPAGE, _("&Python homepage..."), "", wx.ITEM_NORMAL) - self.links.Append(ACTIVE_PYTHON_DISTRIBUTION, _("&Active python distribution..."), "", wx.ITEM_NORMAL) - self.links.Append(ENTHOUGHT_PYTHON_DISTRIBUTION, _("&Enthought python distribution..."), "", wx.ITEM_NORMAL) - self.links.AppendSeparator() +# self.links.Append(ACTIVE_PYTHON_DISTRIBUTION, _("&Active python distribution..."), "", wx.ITEM_NORMAL) +# self.links.Append(ENTHOUGHT_PYTHON_DISTRIBUTION, _("&Enthought python distribution..."), "", wx.ITEM_NORMAL) +# self.links.AppendSeparator() self.links.Append(PYTHON_ANNOUNCEMENTS, _("Python &announcements..."), "", wx.ITEM_NORMAL) self.links.Append(PYTHON_COOKBOOK, _("Python cook&book..."), "", wx.ITEM_NORMAL) self.links.Append(PYTHON_DAILY, _("Python &daily..."), "", wx.ITEM_NORMAL) @@ -446,15 +446,15 @@ self.Bind(wx.EVT_MENU, self.menu_blender_python_manual, id=BLENDER_PYTHON_MANUAL) self.Bind(wx.EVT_MENU, self.menu_blender_python_tutorial, id=BLENDER_PYTHON_TUTORIAL) self.Bind(wx.EVT_MENU, self.menu_blender_homepage, id=BLENDER_HOMEPAGE) - self.Bind(wx.EVT_MENU, self.menu_download_blender, id=DOWNLOAD_BLENDER) + #self.Bind(wx.EVT_MENU, self.menu_download_blender, id=DOWNLOAD_BLENDER) self.Bind(wx.EVT_MENU, self.menu_forum_blender_python, id=FORUM_BLENDER_PYTHON) self.Bind(wx.EVT_MENU, self.menu_forum_elysiun_python, id=FORUM_ELYSIUN_PYTHON) self.Bind(wx.EVT_MENU, self.menu_spe_homepage, id=SPE_HOMEPAGE) self.Bind(wx.EVT_MENU, self.menu_forum_spe, id=FORUM_SPE) self.Bind(wx.EVT_MENU, self.menu_authors_homepage, id=AUTHORS_HOMEPAGE) self.Bind(wx.EVT_MENU, self.menu_contact_author, id=CONTACT_AUTHOR) - self.Bind(wx.EVT_MENU, self.menu_active_python_distribution, id=ACTIVE_PYTHON_DISTRIBUTION) - self.Bind(wx.EVT_MENU, self.menu_enthought_python_distribution, id=ENTHOUGHT_PYTHON_DISTRIBUTION) + #self.Bind(wx.EVT_MENU, self.menu_active_python_distribution, id=ACTIVE_PYTHON_DISTRIBUTION) + #self.Bind(wx.EVT_MENU, self.menu_enthought_python_distribution, id=ENTHOUGHT_PYTHON_DISTRIBUTION) self.Bind(wx.EVT_MENU, self.menu_python_announcements, id=PYTHON_ANNOUNCEMENTS) self.Bind(wx.EVT_MENU, self.menu_python_cookbook, id=PYTHON_COOKBOOK) self.Bind(wx.EVT_MENU, self.menu_python_daily, id=PYTHON_DAILY) --- spe-0.8.2a+repack.orig/debian/compat +++ spe-0.8.2a+repack/debian/compat @@ -0,0 +1 @@ +4 --- spe-0.8.2a+repack.orig/debian/rules +++ spe-0.8.2a+repack/debian/rules @@ -0,0 +1,88 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +PV := $(shell python -c 'import sys; print sys.version[:3]') + +build: build-stamp + +build-stamp: + dh_testdir + python setup.py build + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + -find _spe -name '*.py[co]' | xargs rm -f + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs \ + usr/share/doc/spe \ + usr/share/pixmaps \ + usr/share/applications + + python setup.py install --prefix=$(CURDIR)/debian/spe/usr + -find debian -name '*.py[co]' | xargs rm -f + + rm -f debian/spe/usr/bin/spe_wininst.py + + mv debian/spe/usr/lib/python$(PV)/site-packages/_spe/doc/* \ + debian/spe/usr/share/doc/spe/ + rmdir debian/spe/usr/lib/python$(PV)/site-packages/_spe/doc + dh_link usr/share/doc/spe usr/lib/python$(PV)/site-packages/_spe/doc + + mv debian/spe/usr/lib/python$(PV)/site-packages/_spe/examples \ + debian/spe/usr/share/doc/spe/ + dh_link usr/share/doc/spe/examples \ + usr/lib/python$(PV)/site-packages/_spe/examples + rm -f debian/spe/usr/lib/python$(PV)/site-packages/_spe/spe_changes.txt + + rm -rf debian/spe/usr/lib/python$(PV)/site-packages/_spe/plugins/kiki + dh_link usr/lib/python$(PV)/site-packages/kiki \ + usr/lib/python$(PV)/site-packages/_spe/plugins/kiki + + rm -rf debian/spe/usr/lib/python$(PV)/site-packages/_spe/plugins/wxGlade + dh_link usr/lib/python$(PV)/site-packages/wxglade \ + usr/lib/python$(PV)/site-packages/_spe/plugins/wxGlade + + rm -rf debian/spe/usr/lib/python$(PV)/site-packages/_spe/plugins/pychecker2/tests + rm -rf debian/spe/usr/lib/python$(PV)/site-packages/_spe/plugins/pychecker2/utest + rm -rf debian/spe/usr/lib/python$(PV)/site-packages/_spe/plugins/pychecker2/scripts + + dh_link usr/lib/python$(PV)/site-packages/_spe/images/spe.png \ + usr/share/pixmaps/spe.png + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs build/lib/_spe/spe_changes.txt + dh_installdocs + dh_installexamples + dh_installmenu + cp -p debian/spe.desktop debian/spe/usr/share/applications/ + dh_installman + dh_compress -X.pdf -X.rtf -X.py + dh_fixperms + dh_python + perl -pi -e 's/compileall.py -q/compileall.py -q -x badparse/' \ + debian/spe.postinst.debhelper + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture-dependent files here. +binary-arch: build install +# We have nothing to do by default. + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- spe-0.8.2a+repack.orig/debian/manpage.1.ex +++ spe-0.8.2a+repack/debian/manpage.1.ex @@ -0,0 +1,59 @@ +.\" 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 SPE SECTION "July 3, 2005" +.\" 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 +spe \- program to do something +.SH SYNOPSIS +.B spe +.RI [ options ] " files" ... +.br +.B bar +.RI [ options ] " files" ... +.SH DESCRIPTION +This manual page documents briefly the +.B spe +and +.B bar +commands. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +\fBspe\fP is a program that... +.SH OPTIONS +These programs follow the usual GNU command line syntax, with long +options starting with two dashes (`-'). +A summary of options is included below. +For a complete description, see the Info files. +.TP +.B \-h, \-\-help +Show summary of options. +.TP +.B \-v, \-\-version +Show version of program. +.SH SEE ALSO +.BR bar (1), +.BR baz (1). +.br +The programs are documented fully by +.IR "The Rise and Fall of a Fooish Bar" , +available via the Info system. +.SH AUTHOR +spe was written by . +.PP +This manual page was written by Matthias Klose , +for the Debian project (but may be used by others). --- spe-0.8.2a+repack.orig/debian/watch.ex +++ spe-0.8.2a+repack/debian/watch.ex @@ -0,0 +1,22 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +# Uncomment to examine a Webpage +# +#http://www.example.com/downloads.php spe-(.*)\.tar\.gz + +# Uncomment to examine a Webserver directory +#http://www.example.com/pub/spe-(.*)\.tar\.gz + +# Uncommment to examine a FTP server +#ftp://ftp.example.com/pub/spe-(.*)\.tar\.gz debian uupdate + +# Uncomment to use Roland's hack for sourceforge based projects - YMMV! +#http://people.debian.org/~lolando/sfdlr.php?project=spe spe-([\d.]*).tar.gz + + --- spe-0.8.2a+repack.orig/debian/changelog +++ spe-0.8.2a+repack/debian/changelog @@ -0,0 +1,58 @@ +spe (0.8.2a+repack-0.1) unstable; urgency=low + + * Non-maintainer upload, with doko's blessing. + * Just base off the Ubuntu packaging. + * Remove spurious rm -rf build from debian/rules. + * Orphan package. + + -- Steve Kowalik Fri, 28 Apr 2006 23:33:30 +1000 + +spe (0.8.2a-0ubuntu1) dapper; urgency=low + + * New upstream version. + + -- Matthias Klose Sun, 19 Feb 2006 19:57:18 +0100 + +spe (0.8.1d-0ubuntu1) dapper; urgency=low + + * New upstream version. + * Fix menu icon. + + -- Matthias Klose Thu, 19 Jan 2006 11:14:35 +0000 + +spe (0.7.5c-1ubuntu1) breezy; urgency=low + + * Remove links to other distributions + * Use local docs when they're installed and Recommend them + + -- Sebastian Dröge Tue, 20 Sep 2005 14:09:56 +0200 + +spe (0.7.5c-1) unstable; urgency=low + + * New upstream version (upstream wx-2.6 support). + + -- Matthias Klose Fri, 16 Sep 2005 16:19:52 +0200 + +spe (0.7.3a-1) unstable; urgency=low + + * Upload to unstable. + + -- Matthias Klose Wed, 24 Aug 2005 12:14:24 +0200 + +spe (0.7.3a-0ubuntu3) breezy; urgency=low + + * Fix python-wxgtk dependency. + + -- Matthias Klose Wed, 24 Aug 2005 09:56:27 +0000 + +spe (0.7.3a-0ubuntu2) breezy; urgency=low + + * Build depend on python-dev. + + -- Matthias Klose Thu, 11 Aug 2005 19:22:00 +0200 + +spe (0.7.3a-0ubuntu1) breezy; urgency=low + + * Initial release (closes: #268101). + + -- Matthias Klose Wed, 10 Aug 2005 13:49:25 +0200 --- spe-0.8.2a+repack.orig/debian/control +++ spe-0.8.2a+repack/debian/control @@ -0,0 +1,22 @@ +Source: spe +Section: python +Priority: optional +Maintainer: Debian QA Group +Build-Depends: debhelper (>= 4.2), python-dev +Standards-Version: 3.6.2 + +Package: spe +Architecture: all +Depends: ${python:Depends}, python-wxgtk2.6, python-wxglade, kiki +Recommends: python-doc, python2.4-doc, wx2.6-doc +Suggests: python-profiler, blender (>= 2.35) +Description: Stani's Python Editor + Spe is a python IDE with auto-indentation, auto completion, call + tips, syntax coloring, syntax highlighting, uml viewer, class + explorer, source index, auto todo list, sticky notes, integrated + pycrust shell, python file browser, recent file browser, drag&drop, + context help, ... Special is its blender support with a blender 3d + object browser and its ability to run interactively inside + blender. Spe ships with wxGlade (gui designer), PyChecker (source + code doctor) and Kiki (regular expression console). Spe is extensible + with wxGlade. --- spe-0.8.2a+repack.orig/debian/spe.doc-base.EX +++ spe-0.8.2a+repack/debian/spe.doc-base.EX @@ -0,0 +1,22 @@ +Document: spe +Title: Debian spe Manual +Author: +Abstract: This manual describes what spe is + and how it can be used to + manage online manuals on Debian systems. +Section: unknown + +Format: debiandoc-sgml +Files: /usr/share/doc/spe/spe.sgml.gz + +Format: postscript +Files: /usr/share/doc/spe/spe.ps.gz + +Format: text +Files: /usr/share/doc/spe/spe.text.gz + +Format: HTML +Index: /usr/share/doc/spe/html/index.html +Files: /usr/share/doc/spe/html/*.html + + --- spe-0.8.2a+repack.orig/debian/menu +++ spe-0.8.2a+repack/debian/menu @@ -0,0 +1,5 @@ +?package(spe):needs="X11"\ + section="Apps/Programming"\ + title="SPE (Stani's Python Editor)"\ + icon="/usr/share/pixmaps/spe.png"\ + command="/usr/bin/spe" --- spe-0.8.2a+repack.orig/debian/spe.desktop +++ spe-0.8.2a+repack/debian/spe.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=SPE (Stani's Python Editor) +Comment=Integrated Python Development Environment +Exec=/usr/bin/spe +Icon=spe.png +Terminal=false +MultipleArgs=false +Type=Application +Categories=Application;Development; +StartupNotify=true --- spe-0.8.2a+repack.orig/debian/README.Debian +++ spe-0.8.2a+repack/debian/README.Debian @@ -0,0 +1,12 @@ +spe for Debian +-------------- + +First packaging, some rough edges: + +- package contains internal pychecker module (both version 1 and + a modified version 2). +- wxglade should be splitted out +- the menu's should be cleaned up to include the advertising, + which is meaningless for Debian/Ubuntu. + + -- Matthias Klose , Sun, 3 Jul 2005 00:26:36 +0200 --- spe-0.8.2a+repack.orig/debian/copyright +++ spe-0.8.2a+repack/debian/copyright @@ -0,0 +1,30 @@ +This package was debianized by Matthias Klose +on Sun, 3 Jul 2005 00:26:36 +0200. + +It was downloaded from https://developer.berlios.de/projects/python/ + + - Homepage: http://spe.pycs.net + - Website: http://projects.blender.org/projects/spe/ + +Copyright Holder: Stani Michiels + +License: + +This library is released under the GPL, except from the sm.* library. + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library 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 +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'.