Package: python3-numpy
Version: 1:1.21.4-2
Severity: minor
Tags: patch

Hi!

The dh_numpy3.1 manpage isn't actually installed; this can be easily
fixed by adding debian/python3-numpy.manpages with the one line:

debian/dh_numpy3.1

Also, the documentation is out-of-date; it still uses Python 2 names
and paths.  Attached are patches for dh_numpy3.1 and
README.DebianMaints to address this.

Best wishes,

   Julian
--- dh_numpy3.1.orig    2021-11-20 04:39:08.000000000 +0000
+++ dh_numpy3.1 2021-11-25 07:15:12.441450261 +0000
@@ -1,14 +1,14 @@
-.TH DH_NUMPY 1 "2012-01-29" "Numpy"
+.TH DH_NUMPY3 1 "2012-01-29" "Numpy"
 .SH NAME
-dh_numpy \- adds Numpy depends to python:Depends substvar
+dh_numpy3 \- adds Numpy depends to python:Depends substvar
 .SH SYNOPSIS
-\fBdh_numpy\fR [\fIdebhelper\ options\fR]
+\fBdh_numpy3\fR [\fIdebhelper\ options\fR]
 .SH DESCRIPTION
 dh_numpy adds information about the correct versioned depends on python-numpy 
to python:Depends substvar.
 .PP
 This is needed because some Python extensions require strict versioned depends 
on python-numpy, and using this helper script is the easiest and most 
consistent way to get them.
 .PP
-The helper script uses the information stored in /usr/share/numpy/versions, 
and the architecture type of the package, to generate the Depends information; 
for a detailed description of how the dependencies are generate, please refer 
to /usr/share/doc/python-numpy/README.DebianMaints .
+The helper script uses the information stored in /usr/share/numpy3/versions, 
and the architecture type of the package, to generate the Depends information; 
for a detailed description of how the dependencies are generated, please refer 
to /usr/share/doc/python3-numpy/README.DebianMaints .
 .SH "SEE ALSO"
 \fIdebhelper\fR(7)
 .PP
--- README.DebianMaints.orig    2021-11-20 04:39:08.000000000 +0000
+++ README.DebianMaints 2021-11-25 07:16:47.427700524 +0000
@@ -1,34 +1,34 @@
-Information for Maintainers of packages depending on python-numpy
------------------------------------------------------------------
+Information for Maintainers of packages depending on python3-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
+versioned depends on python3-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:
+python3-numpy provides a debhelper tool, dh_numpy3, that will add Numpy
+dependencies to python:Depends substvar; what dh_numpy3 does is:
 
-* if the package is arch:all, a simple dependency on 'python-numpy' is
+* if the package is arch:all, a simple dependency on 'python3-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
+  * python3-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
+  * python3-numpy (>= $VER), where VER is the minimum python3-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
+  passed to dh_numpy3, a dependency against python3-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 .
+/usr/share/numpy3/versions .
 
-You should call dh_numpy regardless of the python helper you are using
+You should call dh_numpy3 regardless of the python helper you are using
 in the package.
 
  -- Sandro Tosi <mo...@debian.org>  Sun, 29 Jan 2012 11:01:45 +0100

Reply via email to