[Python-modules-commits] r6447 - in packages/python-django/trunk/debian (4 files)

hertzog at users.alioth.debian.org hertzog at users.alioth.debian.org
Thu Sep 4 07:01:22 UTC 2008


    Date: Thursday, September 4, 2008 @ 07:01:17
  Author: hertzog
Revision: 6447

* This version fixes the latest security issue:
  http://www.djangoproject.com/weblog/2008/sep/02/security/
  Closes: #497765
* Don't include source files of documentation in the binary package,
  keep only the HTML version.
* Updated README.Debian with information about the switch from 0.96 to
  1.0.
* Remove execute right on /etc/bash_completion.d/django_bash_completion
* Add debian/patches/04_hyphen-manpage.diff to fix a lintian message
  (hyphen-used-as-minus-sign usr/share/man/man1/django-admin.1.gz:156).

Added:
  packages/python-django/trunk/debian/patches/04_hyphen-manpage.diff
Modified:
  packages/python-django/trunk/debian/changelog
  packages/python-django/trunk/debian/python-django.README.Debian
  packages/python-django/trunk/debian/rules

Modified: packages/python-django/trunk/debian/changelog
===================================================================
--- packages/python-django/trunk/debian/changelog	2008-09-04 02:53:12 UTC (rev 6446)
+++ packages/python-django/trunk/debian/changelog	2008-09-04 07:01:17 UTC (rev 6447)
@@ -1,9 +1,22 @@
-python-django (1.0-1) UNRELEASED; urgency=low
+python-django (1.0-1) unstable; urgency=low
 
+  [ David Spreen ]
   * New _stable_ upstream release.
 
- -- David Spreen <netzwurm at debian.org>  Wed, 03 Sep 2008 19:52:49 -0700
+  [ Raphael Hertzog ]
+  * This version fixes the latest security issue:
+    http://www.djangoproject.com/weblog/2008/sep/02/security/
+    Closes: #497765
+  * Don't include source files of documentation in the binary package,
+    keep only the HTML version.
+  * Updated README.Debian with information about the switch from 0.96 to
+    1.0.
+  * Remove execute right on /etc/bash_completion.d/django_bash_completion
+  * Add debian/patches/04_hyphen-manpage.diff to fix a lintian message
+    (hyphen-used-as-minus-sign usr/share/man/man1/django-admin.1.gz:156).
 
+ -- Raphael Hertzog <hertzog at debian.org>  Thu, 04 Sep 2008 08:33:32 +0200
+
 python-django (1.0~beta2+ds-1) unstable; urgency=low
 
   * Bumping up upstream version to push sources into unstable.

Added: packages/python-django/trunk/debian/patches/04_hyphen-manpage.diff
===================================================================
--- packages/python-django/trunk/debian/patches/04_hyphen-manpage.diff	                        (rev 0)
+++ packages/python-django/trunk/debian/patches/04_hyphen-manpage.diff	2008-09-04 07:01:17 UTC (rev 6447)
@@ -0,0 +1,17 @@
+Forwarded-Upstream: not yet
+Author: Raphael Hertzog <hertzog at debian.org>
+Comment:
+ Fix a lintian I: message about improper usage of minus instead
+ of hyphen.
+
+--- docs/man/django-admin.1.orig	2008-09-04 08:51:48.000000000 +0200
++++ docs/man/django-admin.1	2008-09-04 08:52:47.000000000 +0200
+@@ -153,7 +153,7 @@
+ .TP
+ .I \-e, \-\-extension=EXTENSION
+ The file extension(s) to examine (default: ".html", separate multiple
+-extensions with commas, or use -e multiple times).
++extensions with commas, or use \-e multiple times).
+ .TP
+ .I \-a, \-\-all
+ Process all available locales when using makemessages..SH "ENVIRONMENT"

Modified: packages/python-django/trunk/debian/python-django.README.Debian
===================================================================
--- packages/python-django/trunk/debian/python-django.README.Debian	2008-09-04 02:53:12 UTC (rev 6446)
+++ packages/python-django/trunk/debian/python-django.README.Debian	2008-09-04 07:01:17 UTC (rev 6447)
@@ -1,3 +1,17 @@
+0.96 -> 1.0
+===========
+
+Django 1.0 has a number of backwards-incompatible changes from Django
+0.96. If you have apps written against Django 0.96 that you need to port,
+see the detailed porting guide:
+/usr/share/doc/python-django/html/releases/1.0-porting-guide.html
+or
+http://docs.djangoproject.com/en/dev/releases/1.0-porting-guide/
+
+You can also find a complete list of of backwards incompatible changes
+here:
+http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges
+
 0.95 -> 0.96
 ============
 

Modified: packages/python-django/trunk/debian/rules
===================================================================
--- packages/python-django/trunk/debian/rules	2008-09-04 02:53:12 UTC (rev 6446)
+++ packages/python-django/trunk/debian/rules	2008-09-04 07:01:17 UTC (rev 6447)
@@ -10,8 +10,9 @@
 include /usr/share/cdbs/1/rules/simple-patchsys.mk
 
 build/python-django::
-	# Build HTML documentation
+	# Build HTML documentation, drop copy of source files
 	cd docs && make html
+	rm -rf docs/_build/html/_sources/
 
 binary-post-install/python-django::
 	# Use default python shebang
@@ -21,6 +22,8 @@
 	chmod 755 debian/python-django/usr/share/python-support/python-django/django/conf/project_template/manage.py
 	chmod 755 debian/python-django/usr/share/python-support/python-django/django/bin/[^_]*.py
 	chmod 755 debian/python-django/usr/share/python-support/python-django/django/bin/profiling/[^_]*.py
+	# Remove execute rights from stuff that shouldn't have them
+	chmod 644 debian/python-django/etc/bash_completion.d/django_bash_completion
 	# Create convenience symlink
 	mkdir -p debian/python-django/usr/lib/python-django
 	dh_link usr/share/python-support/python-django/django/bin usr/lib/python-django/bin 




More information about the Python-modules-commits mailing list