[Python-modules-commits] r26424 - in packages/django-reversion/trunk/debian (9 files)

fladi-guest at users.alioth.debian.org fladi-guest at users.alioth.debian.org
Thu Nov 7 13:57:30 UTC 2013


    Date: Thursday, November 7, 2013 @ 13:57:28
  Author: fladi-guest
Revision: 26424

New upstream release for Django 1.6.

Added:
  packages/django-reversion/trunk/debian/python-django-reversion-doc.doc-base
  packages/django-reversion/trunk/debian/python-django-reversion-doc.docs
  packages/django-reversion/trunk/debian/python-django-reversion-doc.links
  packages/django-reversion/trunk/debian/python-django-reversion.docs
    (from rev 26391, packages/django-reversion/trunk/debian/docs)
  packages/django-reversion/trunk/debian/python-django-reversion.install
Modified:
  packages/django-reversion/trunk/debian/changelog
  packages/django-reversion/trunk/debian/control
  packages/django-reversion/trunk/debian/rules
Deleted:
  packages/django-reversion/trunk/debian/docs

Modified: packages/django-reversion/trunk/debian/changelog
===================================================================
--- packages/django-reversion/trunk/debian/changelog	2013-11-07 07:01:01 UTC (rev 26423)
+++ packages/django-reversion/trunk/debian/changelog	2013-11-07 13:57:28 UTC (rev 26424)
@@ -1,3 +1,20 @@
+django-reversion (1.8-1) unstable; urgency=low
+
+  * New upstream release.
+  * Bump django to >= 1.6 in Depends and Build-Depends.
+  * Bump Standards version to 3.9.5.
+  * Add a spearate package for the upstream documentation.
+    + Add python-sphinx (>= 1.0.7+dfsg) to Build-Depends.
+    + Load sphinxdoc addon for debhelper.
+    + Build documentation with sphinx.
+    + Clean up documentation after build.
+    + Suggest python-django-reversion-doc from python-django-reversion
+      package.
+  * Change upstream changelog name to CHANGELOG.rst.
+  * Change upstream readme name to README.rst.
+
+ -- Michael Fladischer <FladischerMichael at fladi.at>  Thu, 07 Nov 2013 13:07:55 +0100
+
 django-reversion (1.7.1-1) unstable; urgency=low
 
   * New upstream release (Closes: #702080).

Modified: packages/django-reversion/trunk/debian/control
===================================================================
--- packages/django-reversion/trunk/debian/control	2013-11-07 07:01:01 UTC (rev 26423)
+++ packages/django-reversion/trunk/debian/control	2013-11-07 13:57:28 UTC (rev 26424)
@@ -6,9 +6,10 @@
 Build-Depends: debhelper (>= 8.1.0~),
                python-all,
                python-babel,
-               python-django (>= 1.5),
-               python-django-south
-Standards-Version: 3.9.4
+               python-django (>= 1.6),
+               python-django-south,
+               python-sphinx (>= 1.0.7+dfsg)
+Standards-Version: 3.9.5
 X-Python-Version: >= 2.5
 Homepage: https://github.com/etianen/django-reversion
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/django-reversion/trunk/
@@ -16,8 +17,9 @@
 
 Package: python-django-reversion
 Architecture: all
-Depends: python-django (>= 1.5), ${misc:Depends}, ${python:Depends}
+Depends: python-django (>= 1.6), ${misc:Depends}, ${python:Depends}
 Recommends: python-django-south
+Suggests: python-django-reversion-doc
 Description: Provides comprehensive version control facilities for Django
  Reversion is an extension to the Django web framework that provides
  comprehensive version control facilities.
@@ -31,3 +33,23 @@
   * Automatically save a new version whenever your model changes using Django's
     flexible signalling framework.
   * Automate your revision management with easy-to-use middleware.
+
+Package: python-django-reversion-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}, ${sphinxdoc:Depends}
+Description: Provides comprehensive version control facilities for Django (Documentation)
+ Reversion is an extension to the Django web framework that provides
+ comprehensive version control facilities.
+ .
+ Features:
+  * Roll back to any point in a model's history - an unlimited undo facility!
+  * Recover deleted models - never lose data again!
+  * Admin integration for maximum usability.
+  * Group related changes into revisions that can be rolled back in a single
+    transaction.
+  * Automatically save a new version whenever your model changes using Django's
+    flexible signalling framework.
+  * Automate your revision management with easy-to-use middleware.
+ .
+ This package contains the documentation.

Deleted: packages/django-reversion/trunk/debian/docs
===================================================================
--- packages/django-reversion/trunk/debian/docs	2013-11-07 07:01:01 UTC (rev 26423)
+++ packages/django-reversion/trunk/debian/docs	2013-11-07 13:57:28 UTC (rev 26424)
@@ -1 +0,0 @@
-README.markdown

Added: packages/django-reversion/trunk/debian/python-django-reversion-doc.doc-base
===================================================================
--- packages/django-reversion/trunk/debian/python-django-reversion-doc.doc-base	                        (rev 0)
+++ packages/django-reversion/trunk/debian/python-django-reversion-doc.doc-base	2013-11-07 13:57:28 UTC (rev 26424)
@@ -0,0 +1,8 @@
+Document: python-django-reversion-doc
+Title: django-reversion documentation
+Author: Dave Hall <dave at etianen.com>
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-django-reversion-doc/html/index.html
+Files: /usr/share/doc/python-django-reversion-doc/html/*.html

Added: packages/django-reversion/trunk/debian/python-django-reversion-doc.docs
===================================================================
--- packages/django-reversion/trunk/debian/python-django-reversion-doc.docs	                        (rev 0)
+++ packages/django-reversion/trunk/debian/python-django-reversion-doc.docs	2013-11-07 13:57:28 UTC (rev 26424)
@@ -0,0 +1 @@
+docs/.build/html

Added: packages/django-reversion/trunk/debian/python-django-reversion-doc.links
===================================================================
--- packages/django-reversion/trunk/debian/python-django-reversion-doc.links	                        (rev 0)
+++ packages/django-reversion/trunk/debian/python-django-reversion-doc.links	2013-11-07 13:57:28 UTC (rev 26424)
@@ -0,0 +1 @@
+usr/share/doc/python-django-reversion-doc/html/_sources usr/share/doc/python-django-reversion-doc/rst

Copied: packages/django-reversion/trunk/debian/python-django-reversion.docs (from rev 26391, packages/django-reversion/trunk/debian/docs)
===================================================================
--- packages/django-reversion/trunk/debian/python-django-reversion.docs	                        (rev 0)
+++ packages/django-reversion/trunk/debian/python-django-reversion.docs	2013-11-07 13:57:28 UTC (rev 26424)
@@ -0,0 +1 @@
+README.rst

Added: packages/django-reversion/trunk/debian/python-django-reversion.install
===================================================================
--- packages/django-reversion/trunk/debian/python-django-reversion.install	                        (rev 0)
+++ packages/django-reversion/trunk/debian/python-django-reversion.install	2013-11-07 13:57:28 UTC (rev 26424)
@@ -0,0 +1 @@
+usr/

Modified: packages/django-reversion/trunk/debian/rules
===================================================================
--- packages/django-reversion/trunk/debian/rules	2013-11-07 07:01:01 UTC (rev 26423)
+++ packages/django-reversion/trunk/debian/rules	2013-11-07 13:57:28 UTC (rev 26424)
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 %:
-	dh $@ --with python2
+	dh $@ --with python2,sphinxdoc
 
 .PHONY: override_dh_auto_test
 override_dh_auto_test:
@@ -24,13 +24,15 @@
 	for loc in src/reversion/locale/*; do \
 		python setup.py compile_catalog --directory src/reversion/locale/ --locale $$(basename $$loc) --domain django; \
 	done
+	PYTHONPATH=. sphinx-build -b html -d docs/.build/.doctrees -N docs docs/.build/html
 	dh_auto_build
 
 .PHONY: override_dh_installchangelogs
 override_dh_installchangelogs:
-	dh_installchangelogs CHANGELOG.markdown
+	dh_installchangelogs CHANGELOG.rst
 
 .PHONY: override_dh_clean
 override_dh_clean:
 	dh_clean
+	rm -rf docs/.build
 	rm -rf testproject




More information about the Python-modules-commits mailing list