[Python-modules-commits] r31822 - in packages/numpy/trunk/debian (4 files)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Sun Feb 8 15:46:32 UTC 2015


    Date: Sunday, February 8, 2015 @ 15:46:31
  Author: morph
Revision: 31822

* debian/{python-numpy-doc.install, patches/adapt_swig_docs_to_debian.patch}
  - install SWIG interface for Numpy; thanks to Julian Taylor for the report;
    Closes: #703001

Added:
  packages/numpy/trunk/debian/patches/adapt_swig_docs_to_debian.patch
Modified:
  packages/numpy/trunk/debian/changelog
  packages/numpy/trunk/debian/patches/series
  packages/numpy/trunk/debian/python-numpy-doc.install

Modified: packages/numpy/trunk/debian/changelog
===================================================================
--- packages/numpy/trunk/debian/changelog	2015-02-08 11:50:02 UTC (rev 31821)
+++ packages/numpy/trunk/debian/changelog	2015-02-08 15:46:31 UTC (rev 31822)
@@ -8,8 +8,11 @@
     - add dh-python to b-d
   * debian/patches/02_build_dotblas.patch
     - refresh due to new code
+  * debian/{python-numpy-doc.install, patches/adapt_swig_docs_to_debian.patch}
+    - install SWIG interface for Numpy; thanks to Julian Taylor for the report;
+      Closes: #703001
 
- -- Sandro Tosi <morph at debian.org>  Sun, 08 Feb 2015 00:06:16 +0000
+ -- Sandro Tosi <morph at debian.org>  Sun, 08 Feb 2015 14:47:35 +0000
 
 python-numpy (1:1.9.0~rc1-1) experimental; urgency=medium
 

Added: packages/numpy/trunk/debian/patches/adapt_swig_docs_to_debian.patch
===================================================================
--- packages/numpy/trunk/debian/patches/adapt_swig_docs_to_debian.patch	                        (rev 0)
+++ packages/numpy/trunk/debian/patches/adapt_swig_docs_to_debian.patch	2015-02-08 15:46:31 UTC (rev 31822)
@@ -0,0 +1,34 @@
+Description: Adapt SWIG documentation to Debian
+ Location of `swig` directory in Debian is specific to our distro, so the
+ documentation needs adaptation.
+Author: Sandro Tosi <morph at debian.org>
+Origin: vendor
+Forwarded: not-needed
+Last-Update: 2015-02-08
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/doc/source/reference/swig.interface-file.rst
++++ b/doc/source/reference/swig.interface-file.rst
+@@ -166,8 +166,8 @@ assignments in lines 19 and 20.
+ Using numpy.i
+ -------------
+ 
+-The ``numpy.i`` file is currently located in the ``tools/swig``
+-sub-directory under the ``numpy`` installation directory.  Typically,
++The ``numpy.i`` file is currently located in the ``swig``
++sub-directory in the ``python-numpy-doc`` package directory.  Typically,
+ you will want to copy it to the directory where you are developing
+ your wrappers.
+ 
+--- a/doc/source/reference/swig.testing.rst
++++ b/doc/source/reference/swig.testing.rst
+@@ -11,7 +11,8 @@ for a total of 888 typemaps supported "o
+ typemaps, in turn, might require several unit tests in order to verify
+ expected behavior for both proper and improper inputs.  Currently,
+ this results in 1,427 individual unit tests that are performed when
+-``make test`` is run in the ``numpy/docs/swig`` subdirectory.
++``make test`` is run in the ``swig`` directory of ``python-numpy-doc``
++package.
+ 
+ To facilitate this many similar unit tests, some high-level
+ programming techniques are employed, including C and `SWIG`_ macros,

Modified: packages/numpy/trunk/debian/patches/series
===================================================================
--- packages/numpy/trunk/debian/patches/series	2015-02-08 11:50:02 UTC (rev 31821)
+++ packages/numpy/trunk/debian/patches/series	2015-02-08 15:46:31 UTC (rev 31822)
@@ -2,3 +2,4 @@
 03_force_f2py_version.patch
 10_use_local_python.org_object.inv_sphinx.diff
 python3-soabi.patch
+adapt_swig_docs_to_debian.patch

Modified: packages/numpy/trunk/debian/python-numpy-doc.install
===================================================================
--- packages/numpy/trunk/debian/python-numpy-doc.install	2015-02-08 11:50:02 UTC (rev 31821)
+++ packages/numpy/trunk/debian/python-numpy-doc.install	2015-02-08 15:46:31 UTC (rev 31822)
@@ -1,2 +1,3 @@
 doc/build/html /usr/share/doc/python-numpy-doc/
 numpy/doc/*.py /usr/share/doc/python-numpy-doc/
+tools/swig /usr/share/doc/python-numpy-doc/




More information about the Python-modules-commits mailing list