Package: python-numpy-doc
Version: 1:1.1.0-1
Severity: minor
Tags: patch

Hi,

python-numpy-doc currently ships f2py documentation, but not numpy's. This patch
against python-modules SVN makes it ship both f2py and numpy documentation.

Cheers,
Emilio
Index: debian/control
===================================================================
--- debian/control	(revision 5645)
+++ debian/control	(working copy)
@@ -64,4 +64,4 @@
  are now deprecated and shouldn't be used except to support older
  software.
  .
- This package contains documentation for the f2py subpackage.
+ This package contains documentation for Numpy and f2py.
Index: debian/changelog
===================================================================
--- debian/changelog	(revision 5645)
+++ debian/changelog	(working copy)
@@ -1,3 +1,13 @@
+python-numpy (1:1.1.0-2) UNRELEASED; urgency=low
+
+  * debian/rules:
+    - Also install Numpy documentation in python-numpy-doc.
+  * debian/control:
+    - Update python-numpy-doc's long description to mention that it also
+      contains Numpy documentation.
+
+ -- Emilio Pozuelo Monfort <[EMAIL PROTECTED]>  Sun, 15 Jun 2008 13:28:58 +0200
+
 python-numpy (1:1.1.0-1) unstable; urgency=low
 
   [ Ondrej Certik ]
Index: debian/rules
===================================================================
--- debian/rules	(revision 5645)
+++ debian/rules	(working copy)
@@ -70,9 +70,11 @@
 	done
 
 binary-install/python-numpy-doc::
-	rst2html numpy/f2py/docs/usersguide/index.txt > $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/index.html
-	cp -r $(CURDIR)/numpy/f2py/docs/* $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)
-	chmod -x $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/usersguide/setup_example.py
+	cp -r $(CURDIR)/numpy/doc/html/* $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)
+	mkdir $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/f2py
+	rst2html numpy/f2py/docs/usersguide/index.txt > $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/f2py/index.html
+	cp -r $(CURDIR)/numpy/f2py/docs/* $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/f2py
+	chmod -x $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/f2py/usersguide/setup_example.py
 
 build/python-numpy-dbg::
 	set -e; \

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/python-modules-team

Reply via email to