debian/0000755000000000000000000000000012177470521007174 5ustar debian/python3-pyrss2gen.examples0000644000000000000000000000001312177214561014264 0ustar example.py debian/compat0000644000000000000000000000000212142766442010374 0ustar 9 debian/control0000644000000000000000000000146412177467775010625 0ustar Source: python-pyrss2gen Section: python Priority: optional Maintainer: Matthijs Möhlmann Build-Depends: debhelper (>= 9), python-all (>= 2.6.6-3), python3-all, python, python3 Standards-Version: 3.9.4 Homepage: http://www.dalkescientific.com/Python/PyRSS2Gen.html Package: python-pyrss2gen Architecture: all Depends: ${python:Depends}, ${misc:Depends} Provides: ${python:Provides} Description: interface for generating RSS 2.0 feeds PyRSS2Gen is the interface to RSS 2.0 feeds. PyRSS2Gen builds the feed up by using a XML generator. Package: python3-pyrss2gen Architecture: all Depends: ${python3:Depends}, ${misc:Depends} Description: interface for generating RSS 2.0 feeds for Python 3 PyRSS2Gen is the interface to RSS 2.0 feeds. PyRSS2Gen builds the feed up by using a XML generator. debian/rules0000755000000000000000000000132612177466714010267 0ustar #!/usr/bin/make -f # # python-pyrss2gen %: dh $@ --with python2,python3 override_dh_auto_build: for py in $(shell pyversions -vr) $(shell py3versions -vr); do \ python$$py setup.py build --build-base=build$$py; \ done override_dh_auto_install: python setup.py install --no-compile -O0 --install-layout=deb \ --root $(CURDIR)/debian/python-pyrss2gen && \ python3 setup.py install --no-compile -O0 --install-layout=deb \ --root $(CURDIR)/debian/python3-pyrss2gen override_dh_auto_clean: dh_clean for py in $(shell pyversions -vr) $(shell py3versions -vr); do \ python$$py setup.py clean --build-temp=build && \ python$$py setup.py clean --build-temp=build$$py; \ done find $(CUDIR) -name "*.pyc" -delete debian/python-pyrss2gen.examples0000644000000000000000000000001312177214554014203 0ustar example.py debian/patches/0000755000000000000000000000000012177250664010627 5ustar debian/patches/series0000644000000000000000000000000012177250664012032 0ustar debian/patches/000-ttl-code-fix0000644000000000000000000000050712142766442013346 0ustar --- a/PyRSS2Gen.py +++ b/PyRSS2Gen.py @@ -350,7 +350,7 @@ ttl = self.ttl if isinstance(self.ttl, int): ttl = IntElement("ttl", ttl) - _opt_element(handler, "tt", ttl) + _opt_element(handler, "ttl", ttl) if self.image is not None: self.image.publish(handler) debian/patches/001-fix-example0000644000000000000000000000046712142766442013274 0ustar --- a/example.py +++ b/example.py @@ -9,7 +9,7 @@ description = "The latest news about PyRSS2Gen, a " "Python library for generating RSS2 feeds", - lastBuildDate = datetime.datetime.now(), + lastBuildDate = datetime.datetime.utcnow(), items = [ PyRSS2Gen.RSSItem( debian/changelog0000644000000000000000000000565012177206753011060 0ustar python-pyrss2gen (1.1-1) unstable; urgency=low * New upstream release (Closes: #697359) - 000-ttl-code-fix removed (applied upstream) - 001-fix-example removed (applied upstream) * Update to debhelper 9. * Update Standards-Version to 3.9.4 -- Matthijs Möhlmann Thu, 09 May 2013 20:38:35 +0200 python-pyrss2gen (1.0.0-9) unstable; urgency=low * Acknowledge NMU (Thanks Piotr Ożarowski) * New style debhelper * Fix lintian warnings * Added HomePage to debian/control -- Matthijs Möhlmann Sat, 19 Nov 2011 16:03:34 +0100 python-pyrss2gen (1.0.0-8.1) unstable; urgency=low * Non-maintainer upload. * Rebuild to add Python 2.7 support -- Piotr Ożarowski Sun, 08 May 2011 16:45:38 +0200 python-pyrss2gen (1.0.0-8) unstable; urgency=low * Use dh_python2 instead of dh_pycentral (Closes: #617021) * Update the short description to fix a lintian warning -- Matthijs Möhlmann Tue, 12 Apr 2011 20:43:57 +0200 python-pyrss2gen (1.0.0-7) unstable; urgency=low * Simplify the python dependencies (Closes: #568011) * Update Standards-Version to 3.9.0 * Add license to the debian/copyright file, preventing a lintian warning * Switch to dpkg-source 3.0 (quilt) format -- Matthijs Mohlmann Wed, 21 Jul 2010 09:30:39 +0200 python-pyrss2gen (1.0.0-6) unstable; urgency=high * Add correct check for python versions. Fixes RC (Closes: #496611) -- Matthijs Mohlmann Tue, 02 Sep 2008 23:40:06 +0200 python-pyrss2gen (1.0.0-5) unstable; urgency=low * Add check for python versions in debian/rules. (Closes: #485052) Thanks to Jan Hülsbergen * Bump Standards-Version to 3.8.0 -- Matthijs Mohlmann Sat, 02 Aug 2008 13:48:44 +0200 python-pyrss2gen (1.0.0-4) unstable; urgency=low * Bump Standards-Version to 3.7.3.0 * Make lintian happy -- Matthijs Mohlmann Tue, 25 Mar 2008 21:05:56 +0100 python-pyrss2gen (1.0.0-3) unstable; urgency=low * Acknowledge NMU. (Closes: #403348) -- Matthijs Mohlmann Sun, 17 Dec 2006 09:50:02 +0100 python-pyrss2gen (1.0.0-2.1) unstable; urgency=low * NMU. * Don't depend on explicit python versions in the package build. -- Matthias Klose Sat, 16 Dec 2006 14:24:15 +0000 python-pyrss2gen (1.0.0-2) unstable; urgency=low * Adopt new python policy. (Closes: #373344) * Bumped Standerds-Version to 3.7.2.0. -- Matthijs Mohlmann Wed, 14 Jun 2006 18:16:23 +0200 python-pyrss2gen (1.0.0-1) unstable; urgency=low * New upstream release. -- Matthijs Mohlmann Sat, 12 Nov 2005 13:41:09 +0100 python-pyrss2gen (0.1.1-1) unstable; urgency=low * Initial release. (Closes: #329255) -- Matthijs Mohlmann Tue, 20 Sep 2005 22:34:27 +0200 debian/source/0000755000000000000000000000000012177214036010471 5ustar debian/source/format0000644000000000000000000000001412142766442011704 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000334712142766442011140 0ustar This package was debianized by Matthijs Möhlmann on Thu, 18 Sep 2005 17:12:28 +0200. The original source can always be found at: http://www.dalkescientific.com/Python Copyright (c) 2003, Dalke Scientific Software, LLC License: 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. * Neither the name of the Dalke Scientific Softare, LLC, Andrew Dalke, nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. 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.