debian/0000755000000000000000000000000012264225473007175 5ustar debian/control0000644000000000000000000000307212257507215010601 0ustar Source: relational Section: math Priority: optional Maintainer: Salvo 'LtWorf' Tomaselli Build-Depends: debhelper (>= 7.0.50~), python, python-support, python-xtermcolor Standards-Version: 3.9.5 Homepage: https://github.com/ltworf/relational/ Package: python-relational Architecture: all Section: python Depends: ${misc:Depends}, ${python:Depends} Description: Educational tool for relational algebra (standalone module) Relational is primarily a tool to provide a workspace for experimenting with relational algebra, an offshoot of first-order logic. . This package provides a standalone Python module that can be used for executing relational queries. Package: relational Architecture: all Depends: ${misc:Depends}, ${python:Depends}, python-relational (>= ${binary:Version}), python-qt4 Description: Educational tool for relational algebra (graphical user interface) Relational is primarily a tool to provide a workspace for experimenting with relational algebra, an offshoot of first-order logic. . This package provides a graphical user interface that can be used to execute relational queries. Package: relational-cli Architecture: all Depends: ${misc:Depends}, ${python:Depends}, python-relational (>= ${binary:Version}), python-xtermcolor Description: Educational tool for relational algebra (command line interface) Relational is primarily a tool to provide a workspace for experimenting with relational algebra, an offshoot of first-order logic. . This package provides a command line interface that can be used to execute relational queries. debian/source/0000755000000000000000000000000012257507215010474 5ustar debian/source/format0000644000000000000000000000001412257507215011702 0ustar 3.0 (quilt) debian/relational-cli.manpages0000644000000000000000000000002112257507215013601 0ustar relational-cli.1 debian/relational.links0000644000000000000000000000011412257507215012364 0ustar usr/share/doc/python-relational/examples/ usr/share/doc/relational/examples debian/copyright0000644000000000000000000000351612257507215011134 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Author: Salvo "LtWorf" Tomaselli Source: https://github.com/ltworf/relational Files: * Copyright: © 2008 Salvo "LtWorf" Tomaselli License: GPL-3+ This program 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 3 of the License, or (at your option) any later version. . This program 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 program. If not, see . . On Debian systems, the complete text of the GNU General Public License can be found in the /usr/share/common-licenses/GPL-3 file. Files: debian/* Copyright: © 2009 Chris Lamb License: GPL-3+ This program 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 3 of the License, or (at your option) any later version. . This program 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 program. If not, see . . On Debian systems, the complete text of the GNU General Public License can be found in the /usr/share/common-licenses/GPL-3 file. debian/rules0000755000000000000000000000074512257507215010262 0ustar #!/usr/bin/make -f SHELL=sh -e %: ./driver.py dh $@ clean: rm -rf build *.egg-info dh $@ override_dh_auto_build: override_dh_auto_install: for pkg in relational-cli python-relational relational; do \ python setup/$${pkg}.setup.py install --root=$(CURDIR)/debian/$${pkg}; \ rm -rf build; \ done override_dh_install: install -D relational_gui.py debian/relational/usr/bin/relational install -D relational_gui.py debian/relational-cli/usr/bin/relational-cli dh_install debian/pyversions0000644000000000000000000000000512257507215011333 0ustar 2.6- debian/relational-cli.10000644000000000000000000000212012257507215012150 0ustar .TH "Relational" "1" .SH "NAME" relational-cli \(em Python implementation of Relational algebra. .SH "SYNOPSIS" .PP \fBrelational\fR [OPTIONS\fR\fP] [ FILE .\|.\|.] .SH "DESCRIPTION" .PP Python implementation of Relational algebra. This program provides a command line interface to execute relational algebra queries. It is meant to be used for educational purposes. .SH "OPTIONS" .PP These programs follow the usual GNU command line syntax, with long options starting with two dashes (`\-'). A summary of options is included below. However, the ordering is very strict \- .IP "\fB-v\fP Show version information. .IP "\fB-h\fP Shows help. .IP "\fB-q\fP Using the Qt4 GUI. .IP "\fB-r\fP Uses the readline UI (default). .SH "AUTHOR" .PP This manual page was written by Salvo 'LtWorf' Tomaselli for the \fBDebian GNU/Linux\fP system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License version 3 or any later version published by the Free Software Foundation. debian/watch0000644000000000000000000000021712257507215010225 0ustar version=3 opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/relational-$1\.tar\.gz/ https://github.com/ltworf/relational/tags .*/v?(\d\S*)\.tar\.gz debian/changelog0000644000000000000000000000603612264225435011052 0ustar relational (1.2-2) unstable; urgency=medium * Fix problem in relational-cli that made it crash when exceptions were raised -- Salvo 'LtWorf' Tomaselli Sat, 11 Jan 2014 12:28:38 +0100 relational (1.2-1) unstable; urgency=medium * New upstream release * Point to new upstream location * Can only use PyQt * Run tests before packaging -- Salvo 'LtWorf' Tomaselli Fri, 27 Dec 2013 00:35:44 +0100 relational (1.1-1) unstable; urgency=low * New upstream release * Can use either PyQt or PySide * python-relational now uses unicode instead of utf-8 encoded strings -- Salvo 'LtWorf' Tomaselli Sat, 22 Oct 2011 15:27:01 +0200 relational (1.0-1) unstable; urgency=low * New upstream release * Merged relational-cli upstream, dropped debian patch * Using relational_gui.py for both relational and relational-cli packages * Merged various setup.py upstream -- Salvo 'LtWorf' Tomaselli Tue, 22 Mar 2011 17:11:28 +0100 relational (0.11-2) unstable; urgency=low * New package relational-cli * Creates menu entry for relational * Ships examples with the python-relational package * Links examples from python-relational into /usr/share/doc/relational and /usr/share/doc/relational-cli * New maintainer (Closes: #590780) -- Salvo 'LtWorf' Tomaselli Wed, 04 Aug 2010 16:50:10 +0200 relational (0.11-1) unstable; urgency=low * New upstream release. * Bump Standards-Version to 3.9.1. -- Chris Lamb Sun, 01 Aug 2010 23:50:50 -0400 relational (0.10-2) unstable; urgency=low * Set section to 'math', not Python. * Remove architecture qualifier in Suggests; it applies to the current package (which is Architecture: all), not the specified package. (Closes: #583064) * Switch to dpkg "3.0 (quilt)" source format. * Add Build-Depends on python to appease lintian. * Bump Standards-Version to 3.8.4. -- Chris Lamb Tue, 01 Jun 2010 11:35:05 +0100 relational (0.10-1) unstable; urgency=low * New upstream release (Closes: #536684) * Install .desktop file. (Closes: #522045) * Also override override_dh_auto_install so we don't run upstream's Makefile. * Bump Standards-Version to 3.8.2. * Add python-psyco to Suggests on i386. -- Chris Lamb Sun, 12 Jul 2009 21:21:22 +0100 relational (0.9-2) unstable; urgency=low * Use two setup.py files instead of installing relational_gui into python-relational; although we don't ship the entry point in this package, it is preferable that the code resides in package that has the required Depends. * Don't use find_packages() in setup.py files. * Use distutils instead of setuptools. * Only ship examples in 'relational' package. * Bump Standards-Version to 3.8.1. -- Chris Lamb Sun, 22 Mar 2009 02:46:00 +0000 relational (0.9-1) unstable; urgency=low * Initial release. (Closes: #506770) -- Chris Lamb Sun, 08 Mar 2009 15:29:09 +0000 debian/patches/0000755000000000000000000000000012264225574010626 5ustar debian/patches/no_crash_on_exception0000644000000000000000000000121512264225574015116 0ustar Description: Don't crash on exception The library expects a string so the entire process crashes when an exception is raised. . relational (1.2-2) unstable; urgency=medium . * Fix problem in relational-cli that made it crash when exceptions were raised Author: Salvo 'LtWorf' Tomaselli --- relational-1.2.orig/relational_readline/linegui.py +++ relational-1.2/relational_readline/linegui.py @@ -296,7 +296,7 @@ def exec_query(command): completer.add_completion(relname) except Exception, e: - print colorize(e, ERROR_COLOR) + print colorize(str(e), ERROR_COLOR) def main(files=[]): debian/patches/series0000644000000000000000000000002612264225473012037 0ustar no_crash_on_exception debian/relational.manpages0000644000000000000000000000001512257507215013037 0ustar relational.1 debian/relational.install0000644000000000000000000000005212257507215012713 0ustar relational.desktop usr/share/applications debian/relational-cli.links0000644000000000000000000000012012257507215013126 0ustar usr/share/doc/python-relational/examples/ usr/share/doc/relational-cli/examples debian/python-relational.examples0000644000000000000000000000001212257507215014376 0ustar samples/* debian/compat0000644000000000000000000000000212257507215010372 0ustar 7