[Python-modules-commits] r24867 - in packages/django-tables/trunk/debian (6 files)

bam at users.alioth.debian.org bam at users.alioth.debian.org
Wed Jun 19 03:15:50 UTC 2013


    Date: Wednesday, June 19, 2013 @ 03:15:44
  Author: bam
Revision: 24867

Rename to python-django-filter, and related changes.

Added:
  packages/django-tables/trunk/debian/python-django-tables2-doc.docs
  packages/django-tables/trunk/debian/python-django-tables2-doc.links
  packages/django-tables/trunk/debian/python-django-tables2.docs
Modified:
  packages/django-tables/trunk/debian/changelog
  packages/django-tables/trunk/debian/control
  packages/django-tables/trunk/debian/rules

Modified: packages/django-tables/trunk/debian/changelog
===================================================================
--- packages/django-tables/trunk/debian/changelog	2013-06-19 03:13:08 UTC (rev 24866)
+++ packages/django-tables/trunk/debian/changelog	2013-06-19 03:15:44 UTC (rev 24867)
@@ -1,7 +1,15 @@
 django-tables (0.13.0-2) UNRELEASED; urgency=low
 
   * Set DPMT as Uploaders.
+  * Switch to dh_python2.
   * Bump Standards version to 3.9.4.
+  * Bump debhelper Build-Depends to >= 8.1.0~.
+  * Rename to python-django-filter, provide transitional dummy package
+  * Build documentation with sphinx and move it to separate package
+    python-django-filter-doc.
+  * Change short and long description.
+  * Make dependencies on python-django versioned.
+  * Replace debian/pycompat with X-Python-Version.
   * Use DEP5 format for d/copyright.
   * Add d/watch file.
   * Move Homepage field to source section.

Modified: packages/django-tables/trunk/debian/control
===================================================================
--- packages/django-tables/trunk/debian/control	2013-06-19 03:13:08 UTC (rev 24866)
+++ packages/django-tables/trunk/debian/control	2013-06-19 03:15:44 UTC (rev 24867)
@@ -3,14 +3,38 @@
 Priority: optional
 Maintainer: Brian May <bam at debian.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>=7.0.0), python (>= 2.6), python-support (>= 0.6), cdbs (>= 0.4.49), python-setuptools
+Build-Depends: debhelper (>=8.1.0), python-all (>= 2.6.6-3~), python-django (>= 1.4.5), python-setuptools
+Build-Depends-Indep: python-sphinx (>= 1.0.7+dfsg-1~)
 Standards-Version: 3.9.4
+X-Python-Version: >= 2.6
 Homepage: https://github.com/bradleyayers/django-tables2/
 
+Package: python-django-tables2
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}, python-django (>= 1.4.5)
+Suggests: python-django-tables2-doc
+Replaces: django-filter (<< 0.13.0-2)
+Breaks: django-filter (<< 0.13.0-2)
+Description: Table/data-grid framework for Django
+ django-tables2 simplifies the task of turning sets of data into HTML tables. It
+ has native support for pagination and sorting. It does for HTML tables what
+ ``django.forms`` does for HTML forms.
+
+Package: python-django-tables2-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}, ${sphinxdoc:Depends}
+Description: Table/data-grid framework for Django (Documentation)
+ django-tables2 simplifies the task of turning sets of data into HTML tables. It
+ has native support for pagination and sorting. It does for HTML tables what
+ ``django.forms`` does for HTML forms.
+ .
+ This package contains the documentation.
+
 Package: django-tables
+Depends: python-django-tables2, ${misc:Depends}
 Architecture: all
-Depends: ${misc:Depends}, ${python:Depends}, python-django (>= 1.2)
-Recommends: python-django (>= 1.3.0)
-Description: Django library for rendering Django QuerySets
- This package helps programmers present data while allowing them to apply
- common tabular transformations on it.
+Priority: extra
+Section: oldlibs
+Description: Table/data-grid framework for Django (transitional package)
+ This is a dummy package to aid switching to python-django-tables2.

Added: packages/django-tables/trunk/debian/python-django-tables2-doc.docs
===================================================================
--- packages/django-tables/trunk/debian/python-django-tables2-doc.docs	                        (rev 0)
+++ packages/django-tables/trunk/debian/python-django-tables2-doc.docs	2013-06-19 03:15:44 UTC (rev 24867)
@@ -0,0 +1 @@
+docs/.build/html

Added: packages/django-tables/trunk/debian/python-django-tables2-doc.links
===================================================================
--- packages/django-tables/trunk/debian/python-django-tables2-doc.links	                        (rev 0)
+++ packages/django-tables/trunk/debian/python-django-tables2-doc.links	2013-06-19 03:15:44 UTC (rev 24867)
@@ -0,0 +1 @@
+usr/share/doc/python-django-tables2-doc/html/_sources usr/share/doc/python-django-tables2-doc/rst

Added: packages/django-tables/trunk/debian/python-django-tables2.docs
===================================================================
--- packages/django-tables/trunk/debian/python-django-tables2.docs	                        (rev 0)
+++ packages/django-tables/trunk/debian/python-django-tables2.docs	2013-06-19 03:15:44 UTC (rev 24867)
@@ -0,0 +1 @@
+README.rst

Modified: packages/django-tables/trunk/debian/rules
===================================================================
--- packages/django-tables/trunk/debian/rules	2013-06-19 03:13:08 UTC (rev 24866)
+++ packages/django-tables/trunk/debian/rules	2013-06-19 03:15:44 UTC (rev 24867)
@@ -1,10 +1,14 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
-DEB_PYTHON_SYSTEM := pysupport
+%:
+	dh $@ --with python2,sphinxdoc
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/python-distutils.mk
+.PHONY: override_dh_auto_build
+override_dh_auto_build:
+	PYTHONPATH=. sphinx-build -b html -d docs/.build/.doctrees -N docs docs/.build/html
+	dh_auto_build
 
-clean::
-	rm -rf django_tables2.egg-info
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -rf *.egg-info docs/.build




More information about the Python-modules-commits mailing list