debian/0000755000000000000000000000000012210706377007173 5ustar debian/compat0000644000000000000000000000000211654224750010372 0ustar 8 debian/patches/0000755000000000000000000000000012210706377010622 5ustar debian/patches/fix_calc_tag_weight0000644000000000000000000000161211201004723014500 0ustar Description: Fix tag_weight when using logarithmic distribution When logarithmic distribution is used _calculate_tag_weight may return weight greater than maximum threshold. Because of this the attribute font_size of the most frequently used tag may be left unset. Upstream: http://code.google.com/p/django-tagging/issues/detail?id=91 Debian: #525770 --- django-tagging.old/tagging/utils.py (revision 132) +++ django-tagging/tagging/utils.py (working copy) @@ -230,7 +230,7 @@ if distribution == LINEAR or max_weight == 1: return weight elif distribution == LOGARITHMIC: - return math.log(weight) * max_weight / math.log(max_weight) + return min((max_weight, math.log(weight) * max_weight / math.log(max_weight))) raise ValueError(_('Invalid distribution algorithm specified: %s.') % distribution) def calculate_cloud(tags, steps=4, distribution=LOGARITHMIC): debian/patches/series0000644000000000000000000000002411201004723012014 0ustar fix_calc_tag_weight debian/rules0000755000000000000000000000034111654224750010252 0ustar #!/usr/bin/make -f PKG = $(shell dh_listpackages) %: dh $@ --with python2 override_dh_installdocs: dh_installdocs # Generate documentation rst2html debian/$(PKG)/usr/share/doc/$(PKG)/overview.html debian/docs0000644000000000000000000000001310701157251010032 0ustar docs/*.txt debian/control0000644000000000000000000000214312210652353010570 0ustar Source: python-django-tagging Section: python Priority: optional Maintainer: Debian Python Modules Team Uploaders: Raphaël Hertzog , David Spreen , Jonas Genannt Standards-Version: 3.9.4 Build-Depends: debhelper (>= 8), python (>= 2.6.6-3~) Build-Depends-Indep: python-docutils Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-django-tagging/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-django-tagging/trunk/ Homepage: http://code.google.com/p/django-tagging/ Package: python-django-tagging Architecture: all Depends: ${python:Depends}, ${misc:Depends}, python-django (>= 1.0) Description: Generic tagging application for Django projects This is a generic tagging application for Django, which allows association of a number of tags with any Model instance and makes retrieval of tags simple. . Models can be expanded with a new TagField; web templates can easily include tag clouds and dedicated views are available to browse objects by tag. debian/python-django-tagging.doc-base0000644000000000000000000000101211330053047014752 0ustar Document: django-tagging-overview Title: Django Tagging Documentation Abstract: This is the documentation of Django Tagging, a generic tagging application for Django projects, which allows association of a number of tags with any Django model instance and makes retrieval of tags simple. Section: Programming/Python Format: HTML Index: /usr/share/doc/python-django-tagging/overview.html Files: /usr/share/doc/python-django-tagging/overview.html Format: Text Files: /usr/share/doc/python-django-tagging/overview.txt.gz debian/changelog0000644000000000000000000000674512210652353011053 0ustar python-django-tagging (1:0.3.1-3) unstable; urgency=low [ Jakub Wilk ] * Use canonical URIs for Vcs-* fields. [ Jonas Genannt ] * added myself as Uploader * Added epoch, since python-django-taggit has taken over the binary package due an mistake. -- Jonas Genannt Sun, 01 Sep 2013 16:46:35 +0200 python-django-tagging (0.3.1-2) unstable; urgency=low * Switch to dh_python2 instead of python-support. * Bump debhelper compat level to 8. * Update Standards-Version to 3.9.2 (no change needed). * Drop the article from the description (lintian warning). * Update Vcs-Browser URL to point to the new location. -- Raphaël Hertzog Wed, 02 Nov 2011 12:29:00 +0100 python-django-tagging (0.3.1-1) unstable; urgency=low * New upstream release. * Change build-depends on python-all-dev to python-all. * Switch to source format 3.0 (quilt). * Drop useless README.source. * Register documentation with doc-base. -- Raphaël Hertzog Wed, 27 Jan 2010 15:47:04 +0100 python-django-tagging (0.3-1) unstable; urgency=low * New upstream release. Closes: #549612 * Update watch file to match new scheme. * Update Standards-Version to 3.8.3, no changes needed. * Add a README.source pointing to quilt's README.source. -- Raphaël Hertzog Mon, 05 Oct 2009 23:52:09 +0200 python-django-tagging (0.2.1+svn154-2) unstable; urgency=low * Apply patch to fix weight of tag when using logarithmic distribution. Closes: #525770 -- Raphael Hertzog Fri, 08 May 2009 12:30:16 +0200 python-django-tagging (0.2.1+svn154-1) unstable; urgency=low [ Sandro Tosi ] * debian/control - switch Vcs-Browser field to viewsvn [ Raphael Hertzog ] * New SVN snapshot. Upload to unstable now that Django 1.0 is there. * Drop debian/patches/01_remove_django_builddeps as setup.py got fixed upstream. * Standards-Version bumped to 3.8.1, no changes needed. * Switch to debhelper 7 and drop CDBS. * Drop useless debian/pycompat file. * Drop duplicate Priority field. * Add ${misc:Depends} variable in Depends. -- Raphael Hertzog Fri, 13 Mar 2009 14:14:50 +0100 python-django-tagging (0.2.1+svn147-1) experimental; urgency=low * SVN snapshot to ensure compatibility with upcoming Django 1.0 release. * debian/control: Depend on python-django >= 1.0~beta1. * debian/patches/01_remove_django_builddeps: Added patch to remove build-dep on python-django and the need to install the package from within $PYTHON_PATH. * debian/control: Updated policy version. -- David Spreen Thu, 21 Aug 2008 18:07:31 -0700 python-django-tagging (0.2.1-1) experimental; urgency=low [ Raphael Hertzog ] * New upstream release. * Update the Vcs-Browser URL to match the python-modules standard. * Updated Standards-Version to 3.7.3. * Moved some build dependencies to Build-Depends-Indep as they are only needed during build. * Updated the dependency on python-django to make sure 0.96.1 doesn't satisfy it accidentally. [ Sandro Tosi ] * debian/control - uniforming Vcs-Browser field -- Raphael Hertzog Sun, 02 Mar 2008 12:01:32 +0100 python-django-tagging (0.1+svn102-1) experimental; urgency=low * Initial release. * Upload to experimental because it requires the development version of python-django. -- Raphael Hertzog Thu, 04 Oct 2007 12:44:38 +0200 debian/copyright0000644000000000000000000000601510701157251011122 0ustar This package was debianized by Raphael Hertzog . It was downloaded from http://code.google.com/p/django-tagging/ Upstream Author: Jonathan Buchanan Copyright: ---------- This copyright notice applies to django-tagging itself: Copyright (c) 2007, Jonathan Buchanan 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. This copyright notice applies to "Cab" (http://code.google.com/p/cab/) which was used as base for creating django-tagging: Copyright (c) 2007, James Bennett 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 author nor the names of other 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. debian/source/0000755000000000000000000000000012210706377010473 5ustar debian/source/format0000644000000000000000000000001411330053047011670 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000015311262467146010227 0ustar version=3 http://code.google.com/p/django-tagging/downloads/list \ .*/files/django-tagging-(\d.*)\.tar\.gz