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

netzwurm at users.alioth.debian.org netzwurm at users.alioth.debian.org
Thu Aug 28 17:24:06 UTC 2008


    Date: Thursday, August 28, 2008 @ 17:24:05
  Author: netzwurm
Revision: 6382

* The `hooray for the documentation' release!
* debian/control 
  - Updated standards version.
  - Added python-sphinx and libjs-jquery to Build-Depends-Indep.
  - Added python-django-doc package depending on libjs-jquery.
* debian/docs
  - Moved to debian/python-django.docs.
* debian/install
  - Moved to debian/python-django.install.
* debian/manpages
  - Moved to debian/python-django.manpages.
* debian/README.Debian
  - Moved to debian/python-django.README.Debian
* debian/python-django-doc.doc-base:
  - Added doc-base file for the documentation.
* debian/python-django-doc.examples:
  - Installing examples to python-django-doc now instead
    of python-django.
* debian/python-django-doc.install:
  - Added install file for sphinx generated documentation.
* debian/rules:
  - Added code to generate documentation with sphinx and 
    replace convenience file of jquery.js with the respective
    symlink to libjs-jquery.

Modified:
  packages/python-django/trunk/debian/changelog
  packages/python-django/trunk/debian/control
  packages/python-django/trunk/debian/rules

Modified: packages/python-django/trunk/debian/changelog
===================================================================
--- packages/python-django/trunk/debian/changelog	2008-08-28 08:01:50 UTC (rev 6381)
+++ packages/python-django/trunk/debian/changelog	2008-08-28 17:24:05 UTC (rev 6382)
@@ -1,10 +1,33 @@
 python-django (1.0~beta2-1) experimental; urgency=low
 
   [ David Spreen ]
+  * The `hooray for the documentation' release!
   * New upstream beta release. 
-  * debian/control: Updated standards version.
+  * debian/control 
+    - Updated standards version.
+    - Added python-sphinx and libjs-jquery to Build-Depends-Indep.
+    - Added python-django-doc package depending on libjs-jquery.
+  * debian/docs
+    - Moved to debian/python-django.docs.
+  * debian/install
+    - Moved to debian/python-django.install.
+  * debian/manpages
+    - Moved to debian/python-django.manpages.
+  * debian/README.Debian
+    - Moved to debian/python-django.README.Debian
+  * debian/python-django-doc.doc-base:
+    - Added doc-base file for the documentation.
+  * debian/python-django-doc.examples:
+    - Installing examples to python-django-doc now instead
+      of python-django.
+  * debian/python-django-doc.install:
+    - Added install file for sphinx generated documentation.
+  * debian/rules:
+    - Added code to generate documentation with sphinx and 
+      replace convenience file of jquery.js with the respective
+      symlink to libjs-jquery.
   
- -- David Spreen <netzwurm at debian.org>  Wed, 27 Aug 2008 09:46:12 -0700
+ -- David Spreen <netzwurm at debian.org>  Thu, 28 Aug 2008 10:22:29 -0700
 
 python-django (1.0~beta1-1) experimental; urgency=low
 

Modified: packages/python-django/trunk/debian/control
===================================================================
--- packages/python-django/trunk/debian/control	2008-08-28 08:01:50 UTC (rev 6381)
+++ packages/python-django/trunk/debian/control	2008-08-28 17:24:05 UTC (rev 6382)
@@ -5,6 +5,7 @@
 Uploaders: Raphael Hertzog <hertzog at debian.org>, Gustavo Noronha Silva <kov at debian.org>, David Spreen <netzwurm at debian.org>, Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Standards-Version: 3.8.0
 Build-Depends: debhelper (>= 5.0.37.2), python-dev, cdbs (>= 0.4.42), python-setuptools (>= 0.6b3), python-support (>= 0.3)
+Build-Depends-Indep: python-sphinx, libjs-jquery
 Homepage: http://www.djangoproject.com/
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-django/trunk/
 Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/python-django/trunk/?op=log
@@ -31,3 +32,11 @@
   * a template system
   * a cache system
   * internationalization support
+
+Package: python-django-doc
+Architecture: all
+Depends: libjs-jquery
+Section: doc
+Description: Documentation for Python Django
+ This package contains the documentation for Python Django 1.0 in HTML
+ format. 

Modified: packages/python-django/trunk/debian/rules
===================================================================
--- packages/python-django/trunk/debian/rules	2008-08-28 08:01:50 UTC (rev 6381)
+++ packages/python-django/trunk/debian/rules	2008-08-28 17:24:05 UTC (rev 6382)
@@ -1,6 +1,8 @@
 #!/usr/bin/make -f
 
 DEB_PYTHON_SYSTEM := pysupport
+DEB_PYTHON_MODULE_PACKAGE = python-django
+DEB_DH_COMPRESS_ARGS = -X.js
 
 include /usr/share/cdbs/1/rules/buildcore.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
@@ -20,3 +22,20 @@
 	dh_link usr/share/python-support/python-django/django/bin usr/lib/python-django/bin 
 	# Rename django-admin.py to django-admin
 	mv debian/python-django/usr/bin/django-admin.py debian/python-django/usr/bin/django-admin
+
+build/python-django-doc::
+	# Build HTML documentation.
+	cd docs && make html
+	cd docs && make latex
+	cd docs/_build/latex && make all-pdf
+	#cd docs/_build/latex && make all-ps
+
+clean::
+	rm -rf docs/_build/*
+
+
+binary-post-install/python-django-doc::
+	# Remove convenience copy of libjs-jquery and replace with symlink.
+	cd debian/python-django-doc/usr/share/doc/python-django-doc/html/_static\
+		&& rm -f jquery.js\
+		&& ln -s ../../../../javascript/jquery/jquery.js .




More information about the Python-modules-commits mailing list