--- python-django-djblets-0+svn11876.orig/debian/watch +++ python-django-djblets-0+svn11876/debian/watch @@ -0,0 +1,8 @@ +# Upstream are not making releases: +# +# Djblets is not a released app, but it’s pretty stable and well +# tested. You can check out a copy from our SVN repository, or +# automatically include it in your own repository through an +# svn:externals entry. +# +# [http://www.chipx86.com/blog/?p=244] --- python-django-djblets-0+svn11876.orig/debian/install +++ python-django-djblets-0+svn11876/debian/install @@ -0,0 +1 @@ +djblets/media usr/share/python-django-djblets --- python-django-djblets-0+svn11876.orig/debian/compat +++ python-django-djblets-0+svn11876/debian/compat @@ -0,0 +1 @@ +7 --- python-django-djblets-0+svn11876.orig/debian/control +++ python-django-djblets-0+svn11876/debian/control @@ -0,0 +1,27 @@ +Source: python-django-djblets +Section: python +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Chris Lamb +Build-Depends: debhelper (>= 7), quilt, python-setuptools +Build-Depends-Indep: python-support +Standards-Version: 3.8.0 +Vcs-Git: git://git.chris-lamb.co.uk/pkg-python-django-djblets.git +Vcs-Browser: http://git.chris-lamb.co.uk/?p=pkg-python-django-djblets.git + +Package: python-django-djblets +Architecture: all +Depends: ${misc:Depends}, ${python:Depends}, python-django (>= 1.0) +Description: Re-usable components for Django projects + Djblets is a library of helper code for Django web applications extracted + from the development of Review Board. It offers additional functionality to + Django projects including: + . + * Authentication improvements, making it easy to register and login in one + step, seamlessly, handle password recovery, etc. + * Flexible datagrids for displaying data in a paginated list with + user-specific column customization, ordering and sorting. + * Decorators to simplify creation of simple and block template tags. + * Processors to allow more relocatable applications. + * Dynamic site configuration, allowing an application's configuration to + reside in a database. --- python-django-djblets-0+svn11876.orig/debian/copyright +++ python-django-djblets-0+svn11876/debian/copyright @@ -0,0 +1,94 @@ +Author: Christian Hammond +Download: htp://svn.navi.cx/misc/trunk/djblets/djblets/ + +Files: * +Copyright: + © 2007 Micah Dowty + © 2007-2008 Christian Hammond + © 2007-2008 David Trowbridge +License: MIT-other + 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. + +Files: setup.py +Copyright: © 2007 David Trowbridge +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; either version 2 + 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, write to the Free Software + Foundation, Inc., 51 Franklin St, 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: djblets/feedview/feedparser.py +Copyright: © 2002-2008 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: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. 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. + 3. Neither the name of the University 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 REGENTS 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 REGENTS 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: debian/* +Copyright: © 2008 Chris Lamb +License: MIT-other + 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. --- python-django-djblets-0+svn11876.orig/debian/changelog +++ python-django-djblets-0+svn11876/debian/changelog @@ -0,0 +1,24 @@ +python-django-djblets (0+svn11876-1ubuntu1) jaunty; urgency=low + + * Add python-setuptools to Build-Depends to fix FTBFS + + -- David Futcher Thu, 19 Mar 2009 16:15:35 +0000 + +python-django-djblets (0+svn11876-1) experimental; urgency=low + + * New upstream release. + * New maintainer email address. + * Correct SVN url in debian/rules get-orig-source target. Thanks to Juan Jose + Comellas . + * Remove 01-install-missing-packages.diff - upstream uses find_packages now. + * Remove Djblets.egg-info/ in the clean target to ensure post-built source + tree is clean. + * Bump dependency on python-django to >= 1.0. + + -- Chris Lamb Wed, 24 Sep 2008 19:43:06 +0100 + +python-django-djblets (0+svn11829-1) experimental; urgency=low + + * Initial release (Closes: #495186) + + -- Chris Lamb Sat, 16 Aug 2008 10:32:11 +0100 --- python-django-djblets-0+svn11876.orig/debian/rules +++ python-django-djblets-0+svn11876/debian/rules @@ -0,0 +1,28 @@ +#!/usr/bin/make -f + +include /usr/share/quilt/quilt.make + +get-orig-source: + set -e; \ + PKG=python-django-djblets; VER=0; \ + svn co http://svn.navi.cx/misc/trunk/djblets $$PKG; \ + REVISION=`svnversion $$PKG`; \ + find $$PKG -depth -type d -name ".svn" | xargs rm -rf; \ + tar cfz $${PKG}_$${VER}+svn$${REVISION}.orig.tar.gz $$PKG; \ + rm -rf $$PKG + +%: + dh $@ + +clean: unpatch + dh $@ + rm -rf Djblets.egg-info + +build: patch + dh $@ + +binary: + dh $@ --until dh_pysupport + # Don't embed Mark Pilgrim's feedparser.py + rm debian/python-django-djblets/usr/share/python-support/python-django-djblets/djblets/feedview/feedparser.py + dh $@ --after dh_pysupport --- python-django-djblets-0+svn11876.orig/debian/patches/02-fallback-to-system-feedparser.diff +++ python-django-djblets-0+svn11876/debian/patches/02-fallback-to-system-feedparser.diff @@ -0,0 +1,26 @@ +Author: Chris Lamb +Description: + Fallback to system feedparser package. This allows distributors such as + Debian to remove the embedded copy of the Feedparser library and use a + system one. + . + Emailed to upstream author Sat, 16 Aug 2008. + + -- Chris Lamb Sat, 16 Aug 2008 06:30:10 +0100 + +diff -urNad python-django-djblets.orig/djblets/feedview/views.py python-django-djblets/djblets/feedview/views.py +--- python-django-djblets.orig/djblets/feedview/views.py 2008-08-16 03:58:48.000000000 +0100 ++++ python-django-djblets/djblets/feedview/views.py 2008-08-16 03:59:34.000000000 +0100 +@@ -6,7 +6,11 @@ + from django.template.context import RequestContext + from django.template.loader import render_to_string + +-from djblets.feedview import feedparser ++try: ++ from djblets.feedview import feedparser ++except ImportError: ++ import feedparser ++ + from djblets.util.misc import cache_memoize + + --- python-django-djblets-0+svn11876.orig/debian/patches/series +++ python-django-djblets-0+svn11876/debian/patches/series @@ -0,0 +1 @@ +02-fallback-to-system-feedparser.diff