File: README.DebianMaints

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 (34 lines) | stat: -rw-r--r-- 1,554 bytes parent folder | download | duplicates (6)
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
Information for Maintainers of packages depending on python-numpy
-----------------------------------------------------------------

With Numpy 1.4.1 upload in unstable, we had several packages failing
to execute due to a change in 'dtype' format (some fields were added
at the end of the data structure).

After that, we decided to provide a reliable way to specify strict
versioned depends on python-numpy by the packages depending on it, in
order to avoid similar failures in future uploads.

python-numpy provides a debhelper tool, dh_numpy, that will add Numpy
dependencies to python:Depends substvar; what dh_numpy does is:

* if the package is arch:all, a simple dependency on 'python-numpy' is
  added;
* if the package is arch:any, two dependencies are added:
  * python-numpy-abi$N, where N is the value for the current Numpy
    ABI, as defined by upstream C_ABI_VERSION value;
  * python-numpy (>= $VER), where VER is the minimum python-numpy
    package version implementing the current Numpy API, as defined by
    upstream C_API_VERSION value.
* if the package is arch:any and the '--strict' command-line option is
  passed to dh_numpy, a dependency against python-numpy-api$M is
  added, where M is the value for the current Numpy API, as defined by
  upstream C_API_VERSION value.

The current values for API, ABI and version are available in the file
/usr/share/numpy/versions .

You should call dh_numpy regardless of the python helper you are using
in the package.

 -- Sandro Tosi <morph@debian.org>  Sun, 29 Jan 2012 11:01:45 +0100