--- feedparser-4.1.orig/debian/changelog +++ feedparser-4.1/debian/changelog @@ -0,0 +1,37 @@ +feedparser (4.1-4) unstable; urgency=low + + * Update for new Python policy. (XS-Python-Version >= 2.1) + + -- Joe Wreschnig Tue, 13 Jun 2006 14:15:49 -0500 + +feedparser (4.1-3) unstable; urgency=low + + * Use python-support. + * Provide python2.4-feedparser for Python policy compatibility. + (Closes: #358900) + * Standards-Version 3.7.2 (no changes necessary). + + -- Joe Wreschnig Sat, 13 May 2006 01:47:11 -0500 + +feedparser (4.1-2) unstable; urgency=low + + * Build-Dep on non-python-support-ified debhelper. + + -- Joe Wreschnig Tue, 17 Jan 2006 20:46:05 -0600 + +feedparser (4.1-1) unstable; urgency=low + + * New upstream release. + * Build-Dep on python-dev. (Closes: #348211) + + -- Joe Wreschnig Mon, 16 Jan 2006 23:47:28 -0600 + +feedparser (3.3+cvs20051220-1) unstable; urgency=low + + * Initial release. (Closes: #326236) + * Fix unterminated string in feedparser.py. + * Use a snapshot of 4.0 because it's under a proper license, and it + can load many more feeds. All tests pass. + + -- Joe Wreschnig Tue, 20 Dec 2005 23:49:02 -0600 + --- feedparser-4.1.orig/debian/compat +++ feedparser-4.1/debian/compat @@ -0,0 +1 @@ +5 --- feedparser-4.1.orig/debian/rules +++ feedparser-4.1/debian/rules @@ -0,0 +1,44 @@ +#!/usr/bin/make -f +#export DH_VERBOSE=1 + +PREFIX := debian/python-feedparser/usr + +clean: + dh_testdir + dh_testroot + python ./setup.py clean + rm -rf build + dh_clean + +build: + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + python ./setup.py install --prefix $(PREFIX) --no-compile \ + --install-lib $(PREFIX)/share/python-support/python-feedparser + +binary-arch: build install + +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs docs + dh_installexamples + dh_link + dh_strip + dh_pysupport + dh_python + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch + +.PHONY: build clean binary-indep binary-arch binary install configure --- feedparser-4.1.orig/debian/control +++ feedparser-4.1/debian/control @@ -0,0 +1,20 @@ +Source: feedparser +Section: python +Priority: optional +Maintainer: Joe Wreschnig +Build-Depends: debhelper (>= 5.0.37.1), python-all-dev (>= 2.3.5-7), + python-support (>= 0.2.3) +Standards-Version: 3.7.2 +XS-Python-Version: >= 2.1 + +Package: python-feedparser +Architecture: all +Depends: ${python:Depends} +Provides: python2.4-feedparser +XB-Python-Version: ${python:Versions} +Description: Universal Feed Parser for Python + Python module for downloading and parsing syndicated feeds. It can + handle RSS 0.90, Netscape RSS 0.91, Userland RSS 0.91, RSS 0.92, RSS + 0.93, RSS 0.94, RSS 1.0, RSS 2.0, Atom, and CDF feeds. + . + It provides the same API to all formats, and sanitizes URIs and HTML. --- feedparser-4.1.orig/debian/copyright +++ feedparser-4.1/debian/copyright @@ -0,0 +1,31 @@ +This package was debianized by Joe Wreschnig on +Tue, 20 Dec 2005 23:49:02 -0600. + +It was downloaded from http://feedparser.org. + +Copyright Holder: Mark Pilgrim + +License: + +Copyright (c) 2002-2005, Mark Pilgrim, All rights reserved. + +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. --- feedparser-4.1.orig/debian/postinst +++ feedparser-4.1/debian/postinst @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +#DEBHELPER# + +if [ "$1" = "configure" ] && which update-python-modules >/dev/null 2>&1; then + update-python-modules -i /usr/share/python-support/python-feedparser +fi --- feedparser-4.1.orig/debian/prerm +++ feedparser-4.1/debian/prerm @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +#DEBHELPER# + +if which update-python-modules >/dev/null 2>&1; then + update-python-modules -c -i /usr/share/python-support/python-feedparser +fi --- feedparser-4.1.orig/debian/docs +++ feedparser-4.1/debian/docs @@ -0,0 +1 @@ +docs