[Python-modules-commits] r11354 - in packages/python-django-registration/trunk/debian (9 files)

hertzog at users.alioth.debian.org hertzog at users.alioth.debian.org
Wed Jan 27 15:31:53 UTC 2010


    Date: Wednesday, January 27, 2010 @ 15:31:52
  Author: hertzog
Revision: 11354

* Add accent on my name in debian/control.
* Change build-depends on python-dev to python.
* Switch to source format "3.0 (quilt)".
* Switch to debhelper 7 tiny rules file and compat mode 7.
* Upgrade Standards-Version to 3.8.3.
* Dropped useless debian/pycompat.
* Add missing ${misc:Depends} on Depends line.
* Register documentation with doc-base.

Added:
  packages/python-django-registration/trunk/debian/clean
  packages/python-django-registration/trunk/debian/python-django-registration.doc-base
  packages/python-django-registration/trunk/debian/source/
  packages/python-django-registration/trunk/debian/source/format
Modified:
  packages/python-django-registration/trunk/debian/changelog
  packages/python-django-registration/trunk/debian/compat
  packages/python-django-registration/trunk/debian/control
  packages/python-django-registration/trunk/debian/rules
Deleted:
  packages/python-django-registration/trunk/debian/pycompat

Modified: packages/python-django-registration/trunk/debian/changelog
===================================================================
--- packages/python-django-registration/trunk/debian/changelog	2010-01-27 15:05:57 UTC (rev 11353)
+++ packages/python-django-registration/trunk/debian/changelog	2010-01-27 15:31:52 UTC (rev 11354)
@@ -1,3 +1,16 @@
+python-django-registration (0.7-2) unstable; urgency=low
+
+  * Add accent on my name in debian/control.
+  * Change build-depends on python-dev to python.
+  * Switch to source format "3.0 (quilt)".
+  * Switch to debhelper 7 tiny rules file and compat mode 7.
+  * Upgrade Standards-Version to 3.8.3.
+  * Dropped useless debian/pycompat.
+  * Add missing ${misc:Depends} on Depends line.
+  * Register documentation with doc-base.
+
+ -- Raphaël Hertzog <hertzog at debian.org>  Wed, 27 Jan 2010 16:09:24 +0100
+
 python-django-registration (0.7-1) unstable; urgency=low
 
   [ Sandro Tosi ]

Added: packages/python-django-registration/trunk/debian/clean
===================================================================
--- packages/python-django-registration/trunk/debian/clean	                        (rev 0)
+++ packages/python-django-registration/trunk/debian/clean	2010-01-27 15:31:52 UTC (rev 11354)
@@ -0,0 +1,3 @@
+registration/locale/*/*/*.mo
+# Upstream included MacOS resource fork files. Remove!
+registration/locale/*/*/._*.po

Modified: packages/python-django-registration/trunk/debian/compat
===================================================================
--- packages/python-django-registration/trunk/debian/compat	2010-01-27 15:05:57 UTC (rev 11353)
+++ packages/python-django-registration/trunk/debian/compat	2010-01-27 15:31:52 UTC (rev 11354)
@@ -1 +1 @@
-5
+7

Modified: packages/python-django-registration/trunk/debian/control
===================================================================
--- packages/python-django-registration/trunk/debian/control	2010-01-27 15:05:57 UTC (rev 11353)
+++ packages/python-django-registration/trunk/debian/control	2010-01-27 15:31:52 UTC (rev 11354)
@@ -2,9 +2,9 @@
 Section: python
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Uploaders: Raphael Hertzog <hertzog at debian.org>, David Spreen <netzwurm at debian.org>, Stephan Peijnik <debian at sp.or.at>
-Standards-Version: 3.8.0
-Build-Depends: debhelper (>= 5.0.37.2), python-dev, cdbs (>= 0.4.42)
+Uploaders: Raphaël Hertzog <hertzog at debian.org>, David Spreen <netzwurm at debian.org>, Stephan Peijnik <debian at sp.or.at>
+Standards-Version: 3.8.3
+Build-Depends: debhelper (>= 7.0.50~), python
 Build-Depends-Indep: python-support (>= 0.3), python-docutils, python-django (>= 1.0)
 Homepage: http://www.bitbucket.org/ubernostrum/django-registration/wiki/
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-django-registration/trunk/
@@ -12,7 +12,7 @@
 
 Package: python-django-registration
 Architecture: all
-Depends: ${python:Depends}, python-django (>= 1.0)
+Depends: ${python:Depends}, ${misc:Depends}, python-django (>= 1.0)
 Description: A user-registration application for Django
  This is a fairly simple user-registration application for Django,
  designed to make allowing user signups as painless as possible.

Deleted: packages/python-django-registration/trunk/debian/pycompat
===================================================================
--- packages/python-django-registration/trunk/debian/pycompat	2010-01-27 15:05:57 UTC (rev 11353)
+++ packages/python-django-registration/trunk/debian/pycompat	2010-01-27 15:31:52 UTC (rev 11354)
@@ -1 +0,0 @@
-2

Added: packages/python-django-registration/trunk/debian/python-django-registration.doc-base
===================================================================
--- packages/python-django-registration/trunk/debian/python-django-registration.doc-base	                        (rev 0)
+++ packages/python-django-registration/trunk/debian/python-django-registration.doc-base	2010-01-27 15:31:52 UTC (rev 11354)
@@ -0,0 +1,13 @@
+Document: django-registration-overview
+Title: Django Registration Documentation
+Abstract: This is the documentation of Django Registration, a fairly simple
+ user-registration application for Django, designed to make allowing user
+ signups as painless as possible.
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-django-registration/overview.html
+Files: /usr/share/doc/python-django-registration/*.html
+
+Format: Text
+Files: /usr/share/doc/python-django-registration/overview.txt* /usr/share/doc/python-django-registration/views.txt* /usr/share/doc/python-django-registration/models.txt* /usr/share/doc/python-django-registration/forms.txt*

Modified: packages/python-django-registration/trunk/debian/rules
===================================================================
--- packages/python-django-registration/trunk/debian/rules	2010-01-27 15:05:57 UTC (rev 11353)
+++ packages/python-django-registration/trunk/debian/rules	2010-01-27 15:31:52 UTC (rev 11354)
@@ -1,27 +1,23 @@
 #!/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
+%:
+	dh $@
 
-clean::
-	-rm -f registration/locale/*/*/*.mo
-
-	#Upstream included MacOS resource fork files. Remove!
-	-rm -f registration/locale/*/*/._*.po
-
-pre-build::
+override_dh_auto_build:
 	cd registration && /usr/bin/django-admin compilemessages
+	dh_auto_build
 
-binary-post-install/python-django-registration::
+override_dh_auto_install:
+	dh_auto_install
+	# Drop .po files and keep only .mo files (compiled)
+	find debian/$(PKG)/ -name '*.po' -exec rm {} \;
+
+override_dh_installdocs:
+	dh_installdocs
 	# Generate documentation
 	rst2html <docs/overview.txt >debian/$(PKG)/usr/share/doc/$(PKG)/overview.html
 	rst2html <docs/views.txt >debian/$(PKG)/usr/share/doc/$(PKG)/views.html
 	rst2html <docs/models.txt >debian/$(PKG)/usr/share/doc/$(PKG)/models.html
 	rst2html <docs/forms.txt >debian/$(PKG)/usr/share/doc/$(PKG)/forms.html
-	# Drop .po files and keep only .mo files (compiled)
-	find debian/$(PKG)/ -name '*.po' -exec rm {} \;

Added: packages/python-django-registration/trunk/debian/source/format
===================================================================
--- packages/python-django-registration/trunk/debian/source/format	                        (rev 0)
+++ packages/python-django-registration/trunk/debian/source/format	2010-01-27 15:31:52 UTC (rev 11354)
@@ -0,0 +1 @@
+3.0 (quilt)




More information about the Python-modules-commits mailing list