[Python-modules-commits] r3776 - in packages/numpy/trunk/debian (4 files)
kumanna-guest at users.alioth.debian.org
kumanna-guest at users.alioth.debian.org
Sat Dec 1 10:20:27 UTC 2007
Date: Saturday, December 1, 2007 @ 10:20:25
Author: kumanna-guest
Revision: 3776
* debian/rules:
+ Symlink the f2py man page for f2py$(PYVER)-dbg as well.
+ Remove DEB_TAR_SRCDIR.
* debian/patches:
+ Add 01_fix_man_hyphens.patch to fix hyphens in f2py.1.
Added:
packages/numpy/trunk/debian/patches/
packages/numpy/trunk/debian/patches/01_fix_man_hyphens.patch
Modified:
packages/numpy/trunk/debian/changelog
packages/numpy/trunk/debian/rules
Modified: packages/numpy/trunk/debian/changelog
===================================================================
--- packages/numpy/trunk/debian/changelog 2007-12-01 09:29:35 UTC (rev 3775)
+++ packages/numpy/trunk/debian/changelog 2007-12-01 10:20:25 UTC (rev 3776)
@@ -15,6 +15,11 @@
+ Move python-numpy-doc to section doc.
+ Alter -dbg package description, shorten it.
+ Split -ext package description to two lines.
+ * debian/rules:
+ + Symlink the f2py man page for f2py$(PYVER)-dbg as well.
+ + Remove DEB_TAR_SRCDIR.
+ * debian/patches:
+ + Add 01_fix_man_hyphens.patch to fix hyphens in f2py.1.
-- Ondrej Certik <ondrej at certik.cz> Fri, 30 Nov 2007 12:27:18 +0100
Added: packages/numpy/trunk/debian/patches/01_fix_man_hyphens.patch
===================================================================
--- packages/numpy/trunk/debian/patches/01_fix_man_hyphens.patch (rev 0)
+++ packages/numpy/trunk/debian/patches/01_fix_man_hyphens.patch 2007-12-01 10:20:25 UTC (rev 3776)
@@ -0,0 +1,80 @@
+diff -Nur python-numpy-1.0.3/numpy/f2py/f2py.1 python-numpy-1.0.3.new/numpy/f2py/f2py.1
+--- python-numpy-1.0.3/numpy/f2py/f2py.1 2006-07-27 01:34:19.000000000 +0530
++++ python-numpy-1.0.3.new/numpy/f2py/f2py.1 2007-12-01 15:43:18.000000000 +0530
+@@ -20,7 +20,7 @@
+ This program generates a Python C/API file (<modulename>module.c)
+ that contains wrappers for given Fortran or C functions so that they
+ can be called from Python.
+-With the -c option the corresponding
++With the \-c option the corresponding
+ extension modules are built.
+ .SH OPTIONS
+ .TP
+@@ -49,8 +49,8 @@
+ \'untitled\'.
+ .TP
+ .B \-\-[no\-]lower
+-Do [not] lower the cases in <fortran files>. By default, --lower is
+-assumed with -h key, and --no-lower without -h key.
++Do [not] lower the cases in <fortran files>. By default, \-\-lower is
++assumed with \-h key, and \-\-no\-lower without \-h key.
+ .TP
+ .B \-\-build\-dir <dirname>
+ All f2py generated files are created in <dirname>. Default is tempfile.mktemp().
+@@ -59,14 +59,14 @@
+ Overwrite existing signature file.
+ .TP
+ .B \-\-[no\-]latex\-doc
+-Create (or not) <modulename>module.tex. Default is --no-latex-doc.
++Create (or not) <modulename>module.tex. Default is \-\-no\-latex\-doc.
+ .TP
+ .B \-\-short\-latex
+ Create 'incomplete' LaTeX document (without commands \\documentclass,
+ \\tableofcontents, and \\begin{document}, \\end{document}).
+ .TP
+ .B \-\-[no\-]rest\-doc
+-Create (or not) <modulename>module.rst. Default is --no-rest-doc.
++Create (or not) <modulename>module.rst. Default is \-\-no\-rest\-doc.
+ .TP
+ .B \-\-debug\-capi
+ Create C/API code that reports the state of the wrappers during
+@@ -81,12 +81,12 @@
+ .TP
+ .B \-\-[no\-]wrap\-functions
+ Create Fortran subroutine wrappers to Fortran 77
+-functions. --wrap-functions is default because it ensures maximum
++functions. \-\-wrap\-functions is default because it ensures maximum
+ portability/compiler independence.
+ .TP
+ .B \-\-help\-link [..]
+ List system resources found by system_info.py. [..] may contain
+-a list of resources names. See also --link-<resource> switch below.
++a list of resources names. See also \-\-link\-<resource> switch below.
+ .TP
+ .B \-\-quiet
+ Run quietly.
+@@ -100,7 +100,7 @@
+ .B \-\-include_paths path1:path2:...
+ Search include files (that f2py will scan) from the given directories.
+ .SH "CONFIG_FC OPTIONS"
+-The following options are effective only when -c switch is used.
++The following options are effective only when \-c switch is used.
+ .TP
+ .B \-\-help-compiler
+ List available Fortran compilers [DEPRECIATED].
+@@ -147,13 +147,13 @@
+ .B \-\-debug
+ Compile with debugging information.
+ .SH "EXTRA OPTIONS"
+-The following options are effective only when -c switch is used.
++The following options are effective only when \-c switch is used.
+ .TP
+ .B \-\-link-<resource>
+ Link extension module with <resource> as defined by
+ numpy_distutils/system_info.py. E.g. to link with optimized LAPACK
+ libraries (vecLib on MacOSX, ATLAS elsewhere), use
+---link-lapack_opt. See also --help-link switch.
++\-\-link\-lapack_opt. See also \-\-help\-link switch.
+
+ .TP
+ .B -L/path/to/lib/ -l<libname>
Modified: packages/numpy/trunk/debian/rules
===================================================================
--- packages/numpy/trunk/debian/rules 2007-12-01 09:29:35 UTC (rev 3775)
+++ packages/numpy/trunk/debian/rules 2007-12-01 10:20:25 UTC (rev 3776)
@@ -2,7 +2,6 @@
# Sample debian/rules that uses cdbs. Originaly written by Robert Millan.
# This file is public domain.
-DEB_TAR_SRCDIR := python-numpy-1.0.2
DEB_AUTO_CLEANUP_RCS := yes
DEB_PYTHON_SYSTEM=pycentral
@@ -42,6 +41,7 @@
mkdir -p debian/python-numpy/usr/share/man/man1
for v in $(PYVERS); do \
ln -sf f2py.1 debian/python-numpy/usr/share/man/man1/f2py$$v.1; \
+ ln -sf f2py.1 debian/python-numpy/usr/share/man/man1/f2py$$v-dbg.1; \
done
: # Add unversioned f2py script
More information about the Python-modules-commits
mailing list