debian/0000755000000000000000000000000011757702503007175 5ustar debian/patches/0000755000000000000000000000000011757702503010624 5ustar debian/patches/series0000644000000000000000000000003711424050651012030 0ustar 02-use_system_feedparser.patch debian/patches/02-use_system_feedparser.patch0000644000000000000000000000234511420321304016447 0ustar Description: Use system feedparser Author: Vincent Legout Index: canto-0.7.9/canto/canto_inspect.py =================================================================== --- canto-0.7.9.orig/canto/canto_inspect.py 2010-07-14 23:44:56.508004468 +0200 +++ canto-0.7.9/canto/canto_inspect.py 2010-07-14 23:45:39.184004470 +0200 @@ -37,7 +37,7 @@ # anyone cares to do it, it would be dead simple to code a option to use the # default pprint. -import feedparser_builtin as feedparser +import feedparser import codecs import time import sys Index: canto-0.7.9/canto/canto_fetch.py =================================================================== --- canto-0.7.9.orig/canto/canto_fetch.py 2010-07-14 23:46:34.520004468 +0200 +++ canto-0.7.9/canto/canto_fetch.py 2010-07-14 23:50:09.012004471 +0200 @@ -17,16 +17,13 @@ # main is only used when canto-fetch is called from the command line. # run is used internally by canto when it needs to invoke an update. -import feedparser_builtin - -feedparser = feedparser_builtin - from const import VERSION_TUPLE, GIT_SHA from cfg.base import get_cfg import utility import args from threading import Thread +import feedparser import traceback import commands import urlparse debian/README.Debian0000644000000000000000000000037111420567237011237 0ustar canto for Debian ---------------- Canto has been patched to use Debian's feedparser instead of the builtin copy. Therefore, the --sysfp option of canto-fetch has no effect. -- Vincent Legout Sun, 18 Jul 2010 13:59:41 +0200 debian/compat0000644000000000000000000000000211415303162010360 0ustar 7 debian/rules0000755000000000000000000000167611757701321010264 0ustar #!/usr/bin/make -f -include /usr/share/python/python.mk %: dh ${@} --with python2 override_dh_auto_build: python setup.py build --force override_dh_auto_install: python setup.py install --root=debian/canto --no-compile $(py_setup_install_args) \ --install-lib=/usr/lib/canto --install-scripts=/usr/lib/canto/bin mv $(CURDIR)/debian/canto//usr/lib/canto/bin/canto \ $(CURDIR)/debian/canto/usr/lib/canto/canto-bin mv $(CURDIR)/debian/canto//usr/lib/canto/bin/canto-fetch \ $(CURDIR)/debian/canto/usr/lib/canto/canto-fetch mv $(CURDIR)/debian/canto//usr/lib/canto/bin/canto-inspect \ $(CURDIR)/debian/canto/usr/lib/canto/canto-inspect rm -rf $(CURDIR)/debian/canto/usr/lib/canto/bin rm -rf $(CURDIR)/debian/canto/usr/lib/canto/canto/feedparser_builtin.py override_dh_link: dh_link /usr/lib/canto/canto-bin /usr/bin/canto dh_link /usr/lib/canto/canto-fetch /usr/bin/canto-fetch dh_link /usr/lib/canto/canto-inspect /usr/bin/canto-inspect debian/watch0000644000000000000000000000007311415303162010213 0ustar version=3 http://codezen.org/static/canto-(\d+.*)\.tar\.gz debian/clean0000644000000000000000000000001411415307742010172 0ustar install.log debian/copyright0000644000000000000000000001013511757701757011142 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: canto Upstream-Contact: Jack Miller Source: http://www.codezen.org/canto/download/ Files: uninstall.py Copyright: 2009, James Shubin, McGill University 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 Affero 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 /usr/share/common-licenses/GPL-3 file. Files: canto/feedparser_builtin.py Copyright: 2002-2006, Mark Pilgrim License: BSD Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: * Copyright: 2008-2009, Jack Miller License: GPL-2 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; version 2 of the License. . 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, write to the Free Software Foundation, Inc., 51 Franklin Street, 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 file. Files: debian/* Copyright: 2008-2009, Daniel Baumann 2010, Vincent Legout License: GPL-2 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; version 2 of the License. . 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, write to the Free Software Foundation, Inc., 51 Franklin Street, 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 file. debian/source/0000755000000000000000000000000011757702503010475 5ustar debian/source/format0000644000000000000000000000001411415303162011670 0ustar 3.0 (quilt) debian/control0000644000000000000000000000165411757702171010607 0ustar Source: canto Section: net Priority: optional Maintainer: Python Applications Packaging Team Uploaders: Vincent Legout Build-Depends: debhelper (>= 7.0.50~), python-dev (>= 2.6.6-3~), libncurses5-dev, libncursesw5-dev Standards-Version: 3.9.3 Homepage: http://www.codezen.org/canto/ Vcs-Svn: svn://svn.debian.org/svn/python-apps/packages/canto/ Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/canto/trunk/ Package: canto Architecture: any Depends: ${python:Depends}, ${misc:Depends}, ${shlibs:Depends}, python-chardet, python-feedparser, python (>= 2.6) | python-multiprocessing Description: flexible ncurses Atom/RSS newsreader for the console Canto is an Atom/RSS feed reader for the console that is meant to be quick, concise, and colorful. It provides a minimal, yet information packed interface with almost infinite customization and extensibility. debian/changelog0000644000000000000000000001764311757702171011063 0ustar canto (0.7.10-4) unstable; urgency=low * Use dh_python2 instead of python-support. Patch from Barry Warsaw (Closes: #674070, #674079) * debian/copyright: Use Copyright Format 1.0 * Standards Version 3.9.3 -- Vincent Legout Fri, 25 May 2012 14:33:10 +0200 canto (0.7.10-3) unstable; urgency=low * Bug #643816 is now fixed, so build canto against the default python version * debian/control: - Update Standards-Version to 3.9.2. No changes needed - Use my debian.org email address * debian/copyright: Update to dep5 revision 174 -- Vincent Legout Sun, 18 Dec 2011 15:42:16 +0100 canto (0.7.10-2) unstable; urgency=low * Team upload. [ Vincent Legout ] * As canto only uses python default version, change python-all-dev build-depends to python-dev. Update debian/rules to explicitly tell python to not build canto for multiple python versions. Thanks to Scott Kitterman for reporting and Jakub Wilk fot the patch. (Closes: #625504) [ Jakub Wilk ] * Build against Python 2.6 (closes: #643974). This change is only to work around bug #643816, and should be undone once the bug is fixed. -- Jakub Wilk Sun, 02 Oct 2011 00:37:07 +0200 canto (0.7.10-1) unstable; urgency=low * New upstream version (Closes: #589096, #585203) - 01-fix_hyphen-used-as-minus-sign.patch: Removed, merged upstream * debian/control: Update Standards-Version to 3.9.1. No changes needed * debian/canto-inspect.1: Removed, merged upstream. Remove canto.manpages -- Vincent Legout Wed, 28 Jul 2010 17:12:09 +0200 canto (0.7.9-1) unstable; urgency=low * New upstream version (Closes: #587975) - Update 01-fix_hyphen-used-as-minus-sign.patch * Set Python Applications Packaging Team as maintainer and myself as uploader (Closes: #543934) * debian/control: - Update Standards-Version to 3.9.0 - Update Vcs-* fields - Depend on python (>= 2.6) instead of python2.6 - Build-Depend on python-all-dev instead of python-dev * debian/copyright: Updated, use DEP5 * debian/clean: Added * debian/rules: Install private modules and scripts in /usr/lib/canto. - Build-Depends on debhelper 7.0.50~ to use overrides * debian/patches/02-use_system_feedparser.patch: Added. Use system feedparser instead of the embedded copy * debian/canto-inspect.1: Added (Closes: #589091) * debian/README.Debian: Added -- Vincent Legout Sun, 18 Jul 2010 19:59:18 +0200 canto (0.7.6-2) unstable; urgency=low * QA upload. * debian/control: - Optionally depend on python2.6 for python-multiprocessing, the latter is part of Python 2.6, so it should not be explicitly required when 2.6 becomes the default Python version. -- Luca Falavigna Sat, 03 Apr 2010 18:56:36 +0200 canto (0.7.6-1) unstable; urgency=low * QA upload * New upstream version * debian/control: Update Standards-Version to 3.8.4 * Switch to 3.0 (quilt) source format: - Remove patching/unpatching code in debian/rules - Remove README.source - Remove Build-Depends on quilt * Update patches/01-fix_hyphen-used-as-minus-sign.patch to follow DEP3 -- Vincent Legout Sat, 27 Mar 2010 19:02:46 +0800 canto (0.7.5-2) unstable; urgency=low * QA upload. * Build-depend on python-support (Closes: #566039). * Depend on ${python:Depends} instead of python. -- Luca Falavigna Sat, 23 Jan 2010 11:07:03 +0100 canto (0.7.5-1) unstable; urgency=low * QA upload. * New upstream version * debian/control: - depend on python-multiprocessing instead of python-processing (Closes: #541381) - package put into collab-maint git, Vcs-* fields added - added Build-Dependency on quilt * debian/watch added * debian/rules: add --with quilt * debian/patches/01-fix_hyphen-used-as-minus-sign.patch added * debian/README.source added -- David Paleino Mon, 09 Nov 2009 00:19:11 +0100 canto (0.7.4-2) unstable; urgency=low * Removing vcs fields. * Orphaning package. -- Daniel Baumann Thu, 27 Aug 2009 16:37:13 +0200 canto (0.7.4-1) unstable; urgency=low * Merging upstream version 0.7.4. -- Daniel Baumann Mon, 24 Aug 2009 12:44:46 +0200 canto (0.7.3-1) unstable; urgency=low * Merging upstream version 0.7.3. -- Daniel Baumann Sun, 23 Aug 2009 09:55:25 +0200 canto (0.7.2-2) unstable; urgency=low * Adding depends to python-processing as long as we're using python 2.5 (Closes: #541376). -- Daniel Baumann Thu, 13 Aug 2009 20:49:14 +0200 canto (0.7.2-1) unstable; urgency=low * Merging upstream version 0.7.2. -- Daniel Baumann Mon, 03 Aug 2009 08:36:48 +0200 canto (0.7.1-1) unstable; urgency=low * Merging upstream version 0.7.1. -- Daniel Baumann Wed, 29 Jul 2009 22:04:18 +0200 canto (0.7.0-1) unstable; urgency=low * Merging upstream version 0.7.0. * Updating package to standards version 3.8.2. * Minimalizing rules file. -- Daniel Baumann Sun, 26 Jul 2009 19:27:17 +0200 canto (0.6.13-1) unstable; urgency=low * Merging upstream version 0.6.13. -- Daniel Baumann Wed, 13 May 2009 08:05:51 +0200 canto (0.6.12-1) unstable; urgency=low * Merging upstream version 0.6.12. -- Daniel Baumann Wed, 13 May 2009 08:03:55 +0200 canto (0.6.11-1) unstable; urgency=low * Using correct rfc-2822 date formats in changelog. * Merging upstream version 0.6.11. -- Daniel Baumann Wed, 06 May 2009 20:41:09 +0200 canto (0.6.10-1) unstable; urgency=low * Merging upstream version 0.6.10. -- Daniel Baumann Fri, 17 Apr 2009 21:11:00 +0200 canto (0.6.9-1) unstable; urgency=low * Updating standards to 3.8.1. * Tidy rules file. * Merging upstream version 0.6.9. -- Daniel Baumann Fri, 17 Apr 2009 21:08:00 +0200 canto (0.6.8-1) unstable; urgency=low * Merging upstream version 0.6.8. -- Daniel Baumann Thu, 19 Mar 2009 08:44:00 +0100 canto (0.6.7-1) unstable; urgency=low * Merging upstream version 0.6.7. -- Daniel Baumann Thu, 19 Mar 2009 07:56:00 +0100 canto (0.6.6-1) unstable; urgency=low * Merging upstream version 0.6.6. -- Daniel Baumann Thu, 19 Mar 2009 07:49:00 +0100 canto (0.6.5-1) unstable; urgency=low * Merging upstream version 0.6.5. -- Daniel Baumann Sat, 28 Feb 2009 14:27:00 +0100 canto (0.6.4-1) unstable; urgency=low * Merging upstream version 0.6.4. -- Daniel Baumann Sat, 21 Feb 2009 15:01:00 +0100 canto (0.6.3-1) unstable; urgency=low * Merging upstream version 0.6.3. -- Daniel Baumann Fri, 20 Feb 2009 20:23:00 +0100 canto (0.6.2-1) unstable; urgency=low * Merging upstream version 0.6.2. -- Daniel Baumann Tue, 10 Feb 2009 03:04:00 +0100 canto (0.6.1-1) unstable; urgency=low * Merging upstream version 0.6.1. -- Daniel Baumann Tue, 10 Feb 2009 00:56:00 +0100 canto (0.6.0-1) unstable; urgency=low * Merging upstream version 0.6.0. * Updating rules to current state of the art. * Updating year in copyright file. -- Daniel Baumann Mon, 09 Feb 2009 19:02:00 +0100 canto (0.5.7+debian-1) unstable; urgency=low * Replacing obsolete dh_clean -k with dh_prep. * Merging upstream version 0.5.7+debian. -- Daniel Baumann Sat, 15 Nov 2008 07:04:00 +0100 canto (0.5.6+debian-1) unstable; urgency=low * Merging upstream version 0.5.6+debian. -- Daniel Baumann Sun, 26 Oct 2008 15:26:00 +0100 canto (0.5.3+debian-1) unstable; urgency=low * Initial release (Closes: #502587). -- Daniel Baumann Sat, 18 Oct 2008 10:56:00 +0200