[Python-modules-commits] r13719 - in packages/numpy/trunk/debian (changelog control rules)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Tue Jun 29 17:18:25 UTC 2010


    Date: Tuesday, June 29, 2010 @ 17:18:10
  Author: morph
Revision: 13719

  - added python-sphinx and python-matplotlib to b-d, needed to build doc
  - build documentation

Modified:
  packages/numpy/trunk/debian/changelog
  packages/numpy/trunk/debian/control
  packages/numpy/trunk/debian/rules

Modified: packages/numpy/trunk/debian/changelog
===================================================================
--- packages/numpy/trunk/debian/changelog	2010-06-29 14:12:06 UTC (rev 13718)
+++ packages/numpy/trunk/debian/changelog	2010-06-29 17:18:10 UTC (rev 13719)
@@ -4,6 +4,7 @@
   * debian/control
     - removed Marco Presi from uploaders: thanks for your work!
     - added myself to Uploaders
+    - added python-sphinx and python-matplotlib to b-d, needed to build doc
   * New upstream release
   * debian/patches/04_fix_utils_deprecated.patch
     - removed, upstream code has changed
@@ -17,6 +18,7 @@
       main ones
   * debian/rules
     - remove 'get-orig-source' target, no more needed
+    - build documentation
   * debian/python-numpy.install
     - sorted, it's clearer to read
     - added installation for 'compat', 'matrixlib' and 'polynomial' submodules
@@ -39,7 +41,7 @@
   * Use setup.py install --install-layout; specifying --prefix installs
     into the wrong location.
 
- -- Sandro Tosi <morph at debian.org>  Mon, 28 Jun 2010 20:03:43 +0200
+ -- Sandro Tosi <morph at debian.org>  Tue, 29 Jun 2010 19:16:25 +0200
 
 python-numpy (1:1.3.0-3) unstable; urgency=low
 

Modified: packages/numpy/trunk/debian/control
===================================================================
--- packages/numpy/trunk/debian/control	2010-06-29 14:12:06 UTC (rev 13718)
+++ packages/numpy/trunk/debian/control	2010-06-29 17:18:10 UTC (rev 13719)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Alexandre Fayolle <afayolle at debian.org>, José Fonseca <j_r_fonseca at yahoo.co.uk>, Matthias Klose <doko at debian.org>, Ondrej Certik <ondrej at certik.cz>, David Cournapeau <cournape at gmail.com>, Sandro Tosi <morph at debian.org>
-Build-Depends: cdbs (>= 0.4.43), python-all-dev, python-all-dbg, python-central (>= 0.6), gfortran (>= 4:4.2), libblas-dev [!arm !m68k], liblapack-dev [!arm !m68k], debhelper (>= 5.0.38), patchutils, python-docutils, quilt
+Build-Depends: cdbs (>= 0.4.43), python-all-dev, python-all-dbg, python-central (>= 0.6), gfortran (>= 4:4.2), libblas-dev [!arm !m68k], liblapack-dev [!arm !m68k], debhelper (>= 5.0.38), patchutils, python-docutils, quilt, python-sphinx, python-matplotlib
 XS-Python-Version: >= 2.4
 Standards-Version: 3.8.3
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/numpy/trunk

Modified: packages/numpy/trunk/debian/rules
===================================================================
--- packages/numpy/trunk/debian/rules	2010-06-29 14:12:06 UTC (rev 13718)
+++ packages/numpy/trunk/debian/rules	2010-06-29 17:18:10 UTC (rev 13719)
@@ -114,3 +114,9 @@
 
 	rm -rf debian/python-numpy-dbg/usr/share/doc/python-numpy-dbg
 	ln -s python-numpy debian/python-numpy-dbg/usr/share/doc/python-numpy-dbg
+
+LIB := $(shell python -c "from distutils.command.build import build ; from distutils.core import Distribution ; b = build(Distribution()) ; b.finalize_options() ; print b.build_platlib")
+
+build/python-numpy-doc:: build/python-numpy
+	# build doc only for default python version
+	make -C doc html PYTHONPATH=../$(LIB)




More information about the Python-modules-commits mailing list