--- pida-0.3.1.orig/pida/utils/pida-remote.py +++ pida-0.3.1/pida/utils/pida-remote.py @@ -0,0 +1,75 @@ +#! /usr/bin/python +# -*- coding: utf-8 -*- +# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: +#Copyright (c) 2005 Ali Afshar aafshar@gmail.com + +#Permission is hereby granted, free of charge, to any person obtaining a copy +#of this software and associated documentation files (the "Software"), to deal +#in the Software without restriction, including without limitation the rights +#to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +#copies of the Software, and to permit persons to whom the Software is +#furnished to do so, subject to the following conditions: + +#The above copyright notice and this permission notice shall be included in +#all copies or substantial portions of the Software. + +#THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +#IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +#FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +#AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +#LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +#OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +#SOFTWARE. + + + +import pida.services.rpc as rpc + +import tempfile +import os +import sys + +class client_reactor(rpc.reactor): + + def __init__(self, serverfile): + self.__serverfile = serverfile + f, tempname = tempfile.mkstemp() + os.close(f) + os.unlink(tempname) + rpc.reactor.__init__(self, tempname) + + def do_single_command(self, line): + self.start() + self.send(line) + self.stop() + + def send(self, line): + mangled = self.__mangle(line) + rpc.reactor.send(self, self.__serverfile, mangled) + + def __mangle(self, line): + return line.strip().replace(' ', '\1') + '\0' + +import gtk + +def main(): + socdir = os.path.join(os.path.expanduser('~'), '.pida2', 'sockets') + def reply(reactor, (address, command, args)): + if command != 'OK': + print command + gtk.main_quit() + for f in os.listdir(socdir): + path = os.path.join(socdir, f) + c = client_reactor(path) + cid = c.connect('received', reply) + try: + c.do_single_command(' '.join(sys.argv[1:])) + gtk.main() + except Exception, e: + print path, e + os.unlink(path) + c.disconnect(cid) + continue + +if __name__ == '__main__': + main() --- pida-0.3.1.orig/scripts/pida +++ pida-0.3.1/scripts/pida @@ -0,0 +1,4 @@ +#! /usr/bin/python + +import pida.core.application as application +application.main() --- pida-0.3.1.orig/debian/pida.menu +++ pida-0.3.1/debian/pida.menu @@ -0,0 +1,2 @@ +?package(pida):needs="X11" section="Apps/Programming"\ + title="pida" command="/usr/bin/pida" --- pida-0.3.1.orig/debian/pycompat +++ pida-0.3.1/debian/pycompat @@ -0,0 +1,2 @@ +2 + --- pida-0.3.1.orig/debian/pida.desktop +++ pida-0.3.1/debian/pida.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Encoding=UTF-8 +Name=Pida +Comment=Python Integrated Development Application +Comment[de]=Integrierte Entwicklungsumgebung für Python +TryExec=pida +Exec=pida %F +MimeType=text/plain +Categories=Development;IDE;GTK; --- pida-0.3.1.orig/debian/compat +++ pida-0.3.1/debian/compat @@ -0,0 +1 @@ +4 --- pida-0.3.1.orig/debian/watch +++ pida-0.3.1/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://download.berlios.de/pida/pida-(.*)\.tar\.gz --- pida-0.3.1.orig/debian/control +++ pida-0.3.1/debian/control @@ -0,0 +1,36 @@ +Source: pida +Section: devel +Priority: optional +Maintainer: Jan Luebbe +Build-Depends-Indep: python-central (>= 0.4.17) +Build-Depends: cdbs (>= 0.4.43), debhelper (>= 5.0.37.2), python-dev, python2.4-dev, python-setuptools (>= 0.6b3-1) +Standards-Version: 3.7.2.1 +XS-Python-Version: 2.4 + +Package: pida +Architecture: all +Depends: ${python:Depends}, gvim | python2.4-gnome2, gvim | python2.4-gnome2-extras, python2.4-gtk2, python2.4-vte, python2.4-setuptools, python-setuptools (>= 0.6b3-1) +Suggests: bicyclerepair, python-profiler +XB-Python-Version: ${python:Versions} +Description: Python Integrated Development Application, a Python IDE + PIDA is the Python Integrated Development Application. + It is an IDE (integrated development environment) written + in Python (http://www.python.org/) and the GTK + (http://www.pygtk.org/) graphical toolkit. + . + Pida is an IDE, but one that is slightly different from + other IDEs. Rather than attempting to write a set of + development tools of its own, Pida uses tools that the + developer has available. In this regards Pida can be used as + a framework for putting together your own bespoke IDE. + . + Although still a young application, Pida can already boast + a huge number of features because of the power of some of + the tools it integrates. For example features such as code completion + and syntax highlighting are well implemented in Pida's integrated editors + far better than any editor built for a commercial IDE. Pida currently features: + Full code editing (syntax highlighting, code completion, automatic indenting, + block commenting etc) Project management, version control management, + Python debugger and profiler, GTK graphical user interface building and + rapid application design, Pastebin integration. + --- pida-0.3.1.orig/debian/pida.manpages +++ pida-0.3.1/debian/pida.manpages @@ -0,0 +1 @@ +debian/pida.1 --- pida-0.3.1.orig/debian/pida.install +++ pida-0.3.1/debian/pida.install @@ -0,0 +1 @@ +debian/pida.desktop /usr/share/applications/ --- pida-0.3.1.orig/debian/rules +++ pida-0.3.1/debian/rules @@ -0,0 +1,32 @@ +#!/usr/bin/make -f + +export DH_PYCENTRAL = nomove + +#DEB_AUTO_UPDATE_DEBIAN_CONTROL := yes +DEB_AUTO_CLEANUP_RCS := yes +DEB_COMPRESS_EXCLUDE := .py +DEB_DH_ALWAYS_EXCLUDE := CVS +DEB_DH_INSTALLCHANGELOGS_ARGS := CHANGELOG +DEB_PYTHON_SYSTEM := pycentral + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/python-distutils.mk + +DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed --install-lib usr/share/pida --install-data usr/share/pida +DEB_PYTHON_COMPILE_VERSION := 2.4 + +binary-install/pida:: + dh_desktop -p$(cdbs_curpkg) + mkdir -p debian/pida/usr/share/icons/hicolor/48x48/apps + cp data/icons/pida-icon.png debian/pida/usr/share/icons/hicolor/48x48/apps/pida.png + mkdir -p debian/pida/usr/share/icons/hicolor/scalable/apps + cp data/icons/pida-icon.svg debian/pida/usr/share/icons/hicolor/scalable/apps/pida.svg + sed -i -e 's_^import\ sys$$_import\ sys\nsys.path.append\(\"/usr/share/pida\"\)_' debian/pida/usr/bin/pida + mv debian/pida/usr/share/pida/pida-*.egg-info debian/pida/usr/share/pida/pida.egg-info + rm debian/pida/usr/share/pida/AUTHORS + rm debian/pida/usr/share/pida/CONTRIBUTORS + rm debian/pida/usr/share/pida/COPYING + +clean:: + -rm -rf dist pida.egg-info + --- pida-0.3.1.orig/debian/copyright +++ pida-0.3.1/debian/copyright @@ -0,0 +1,28 @@ +This package was debianized by George Cristian Birzan on +Wed, 8 Jun 2005 23:20:05 +0300 and is currently maintained by Jan Luebbe +. + +It was downloaded from http://download.berlios.de/pida/ + +Copyright Holder: Ali Afshar + +License: + Copyright (c) 2005 Ali Afshar + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is furnished + to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR + A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR + COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER + IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + --- pida-0.3.1.orig/debian/pida.1 +++ pida-0.3.1/debian/pida.1 @@ -0,0 +1,33 @@ +.TH "pida" "1" "0.2.2" "George Cristian Birzan" "PIDA" +.SH "NAME" +.LP +pida \- Starts up the Python Integrated Development Application +.SH "SYNTAX" +.LP +pida + +.SH "DESCRIPTION" +.LP +PIDA is a GTK application that was designed to reuse some of the tools IDEs usually supply. As such, it allows the use of gvim as the editor, thus providing you with an already powerful editor. Its default configuration is centered around Python development, but, as with editors, it can be extended to suit any language through its "plugin" interface and framework. +.LP +Vim can be executed from Pida in either the standard mode or in evim mode. Evim is a modeless editor, much like Notepad for windows (except of course with the added vim features). Evim mode is perfect for those wishing to use Pida, but who do not wish to use Vim. +.LP +.SH "FILES" +.LP +\fI~/.pida/pida.conf\fP +.br + Configuration options for PIDA. +.br +\fI~/.pida/pida.projects\fP +.br + List of projects currently set up +.br +\fI~/.pida/pida.vim\fP +.br + VIM script that is used by PIDA to communicate with VIM +.SH "AUTHORS" +.LP +Ali Afshar +.SH "SEE ALSO" +.LP +http://pida.berlios.de/ --- pida-0.3.1.orig/debian/changelog +++ pida-0.3.1/debian/changelog @@ -0,0 +1,79 @@ +pida (0.3.1-2ubuntu1) edgy; urgency=low + + * Re-sync with Debian + * Remove bashisms from debian/rules + + -- Barry deFreese Tue, 1 Aug 2006 13:08:56 -0400 + +pida (0.3.1-2) unstable; urgency=low + + * Acknowledge NMU (Closes: #378900) + * Update to new debian policy (No changes needed). + * Update to new python policy. + - Install to /usr/share/pida + + -- Jan Luebbe Tue, 19 Jul 2006 17:54:06 +0200 + +pida (0.3.1-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Build-depend and depend on python-setuptools (>= 0.6b3-3) instead of + python2.4-setuptools, since that package has gone through the Python + transition; the package fails with older python-setuptools. + (Closes: #377432) + * Same for python-gnome2, python-gnome2-extras and python-gtk2; + they have all transitioned. + + -- Steinar H. Gunderson Wed, 19 Jul 2006 16:14:55 +0200 + +pida (0.3.1-1) unstable; urgency=low + + * New upstream release (closes: #344199, #355606, #334237) + * Update build depends. + + -- Jan Luebbe Sat, 18 Mar 2006 16:54:26 +0100 + +pida (0.2.2-2) unstable; urgency=low + + * Rebuilt as arch independent. (closes: #329435) + * Pida supports Culebra as an alternative to gvim. Culebra needs + python-gnome2 and python-gnome2-extras, add these to the Depends. + * Removed useless build-depend on build-essential. (closes: #326963) + + -- Jan Luebbe Tue, 27 Sep 2005 16:01:21 +0200 + +pida (0.2.2-1) unstable; urgency=low + + * New upstream release + * Package for upload to Debian (closes: #325415) + + -- Jan Luebbe Sat, 27 Aug 2005 21:06:00 +0200 + +pida (0.2.1-1) unstable; urgency=low + + * New upstream release. + + -- George Cristian Bîrzan Wed, 22 Jun 2005 02:14:43 +0300 + +pida (0.2.0-1) unstable; urgency=low + + * New upstream release. + * Multiple Python version package versions. + + -- George Cristian Bîrzan Mon, 20 Jun 2005 13:33:07 +0300 + +pida (0.1.7-1) unstable; urgency=low + + * New upstream release. + * Packaging now done upstream. + * Dependency on gvim actually works, but since it can't be versioned, Woody + users are out of luck. + + -- George Cristian Bîrzan Mon, 13 Jun 2005 01:56:40 +0300 + +pida (0.1.6+cvs20050608-1) unstable; urgency=low + + * Initial release + + -- George Cristian Bîrzan Wed, 8 Jun 2005 23:20:05 +0300 +