File: adapt_swig_docs_to_debian.patch

package info (click to toggle)
python-numpy 1%3A1.12.1-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 23,732 kB
  • ctags: 19,262
  • sloc: ansic: 146,995; python: 98,088; cpp: 1,112; makefile: 425; f90: 307; sh: 173; fortran: 169; perl: 58
file content (45 lines) | stat: -rw-r--r-- 2,029 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
From ef8be94c358fbd1825871ddde7cf740bd57af900 Mon Sep 17 00:00:00 2001
From: Sandro Tosi <morph@debian.org>
Date: Sun, 11 Oct 2015 10:12:18 -0700
Subject: Adapt SWIG documentation to Debian

 Location of `swig` directory in Debian is specific to our distro, so the
 documentation needs adaptation.
Origin: vendor
Forwarded: not-needed
Last-Update: 2015-02-08
Patch-Name: adapt_swig_docs_to_debian.patch
---
 doc/source/reference/swig.interface-file.rst | 4 ++--
 doc/source/reference/swig.testing.rst        | 3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/doc/source/reference/swig.interface-file.rst b/doc/source/reference/swig.interface-file.rst
index 94fe83d..1352e54 100644
--- 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.
 
diff --git a/doc/source/reference/swig.testing.rst b/doc/source/reference/swig.testing.rst
index 13642a5..7c9d152 100644
--- 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 "out of the box".  Each of these
 typemaps, in turn, might require several unit tests in order to verify
 expected behavior for both proper and improper inputs.  Currently,
 this results in more than 1,000 individual unit tests executed when
-``make test`` is run in the ``numpy/tools/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,