aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog35
-rw-r--r--debian/compat1
-rw-r--r--debian/control24
-rw-r--r--debian/copyright62
-rw-r--r--debian/docs1
-rw-r--r--debian/patches/01_remove_django_builddeps.patch30
-rw-r--r--debian/pycompat1
-rw-r--r--debian/pyversions1
-rwxr-xr-xdebian/rules14
-rw-r--r--debian/watch3
10 files changed, 172 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..164acbc
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,35 @@
+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 <netzwurm@debian.org> 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 <hertzog@debian.org> 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 <hertzog@debian.org> Thu, 04 Oct 2007 12:44:38 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..26d65bc
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,24 @@
+Source: python-django-tagging
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
+Uploaders: Raphael Hertzog <hertzog@debian.org>, David Spreen <netzwurm@debian.org>
+Standards-Version: 3.8.0
+Build-Depends: debhelper (>= 5.0.37.2), python-dev, cdbs (>= 0.4.42)
+Build-Depends-Indep: python-support (>= 0.3), python-docutils
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-django-tagging/trunk/
+Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/python-django-tagging/trunk/?op=log
+Homepage: http://code.google.com/p/django-tagging/
+
+Package: python-django-tagging
+Architecture: all
+Depends: ${python:Depends}, python-django (>= 1.0~beta1)
+Priority: optional
+Description: A 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.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..7f2d729
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,62 @@
+This package was debianized by Raphael Hertzog <hertzog@debian.org>.
+
+It was downloaded from http://code.google.com/p/django-tagging/
+
+Upstream Author: Jonathan Buchanan <jonathan.buchanan@gmail.com>
+
+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.
+
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..bf4cbd5
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+docs/*.txt
diff --git a/debian/patches/01_remove_django_builddeps.patch b/debian/patches/01_remove_django_builddeps.patch
new file mode 100644
index 0000000..664c418
--- /dev/null
+++ b/debian/patches/01_remove_django_builddeps.patch
@@ -0,0 +1,30 @@
+Forwarded-Upstream: Yes.
+Author: David Spreen <netzwurm@debian.org>
+Comment:
+ Since setup.py uses tagging/__init__.py to determine the version number, the
+ import statements should be moved to the function that actually uses them.
+ This removes a build-dependency on django for packaging which eases the
+ transition to Django 1.0.
+ .
+ Ticket exists at http://code.google.com/p/django-tagging/issues/detail?id=110.
+
+--- tagging-trunk/tagging/__init__.py 2008-08-21 11:05:41.000000000 -0700
++++ tagging-trunk.new/tagging/__init__.py 2008-08-21 13:25:47.000000000 -0700
+@@ -1,7 +1,3 @@
+-from django.utils.translation import ugettext as _
+-
+-from tagging.managers import ModelTaggedItemManager, TagDescriptor
+-
+ VERSION = (0, 3, 'pre')
+
+ class AlreadyRegistered(Exception):
+@@ -17,6 +13,9 @@
+ """
+ Sets the given model class up for working with tags.
+ """
++ from django.utils.translation import ugettext as _
++ from tagging.managers import ModelTaggedItemManager, TagDescriptor
++
+ if model in registry:
+ raise AlreadyRegistered(
+ _('The model %s has already been registered.') % model.__name__)
diff --git a/debian/pycompat b/debian/pycompat
new file mode 100644
index 0000000..0cfbf08
--- /dev/null
+++ b/debian/pycompat
@@ -0,0 +1 @@
+2
diff --git a/debian/pyversions b/debian/pyversions
new file mode 100644
index 0000000..57a7586
--- /dev/null
+++ b/debian/pyversions
@@ -0,0 +1 @@
+2.3-
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..b66c0d2
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,14 @@
+#!/usr/bin/make -f
+
+DEB_PYTHON_SYSTEM := pysupport
+
+PKG = $(shell dh_listpackages)
+
+include /usr/share/cdbs/1/rules/buildcore.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/python-distutils.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+binary-post-install/python-django-tagging::
+ # Generate documentation
+ rst2html <docs/overview.txt >debian/$(PKG)/usr/share/doc/$(PKG)/overview.html
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..c8929c9
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://code.google.com/p/django-tagging/downloads/list \
+.*/files/tagging-(\d.*)\.zip