[netcdf4-python] 12/13: Drop man pages from debian directory, now included upstream.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Fri Jun 5 00:01:04 UTC 2015


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository netcdf4-python.

commit a17d653572ee55ef775e40e551336b54a8f4a544
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Jun 5 01:35:30 2015 +0200

    Drop man pages from debian directory, now included upstream.
---
 debian/changelog                        |  1 +
 debian/nc3tonc4.1                       | 78 ---------------------------------
 debian/nc4tonc3.1                       | 45 -------------------
 debian/ncinfo.1                         | 44 -------------------
 debian/patches/fix-manpage-syntax.patch | 48 ++++++++++++++++++++
 debian/patches/series                   |  1 +
 debian/python3-netcdf4.manpages         |  2 +-
 7 files changed, 51 insertions(+), 168 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index aaf3db6..b39b4f9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ netcdf4-python (1.1.8-1) UNRELEASED; urgency=medium
   * Also install examples.
   * Override dh_auto_test to use custom pybuild test for all tests.
   * Don't run test that requires network connectivity.
+  * Drop man pages from debian directory, now included upstream.
 
  -- Bas Couwenberg <sebastic at debian.org>  Thu, 04 Jun 2015 23:12:36 +0200
 
diff --git a/debian/nc3tonc4.1 b/debian/nc3tonc4.1
deleted file mode 100644
index cfccf59..0000000
--- a/debian/nc3tonc4.1
+++ /dev/null
@@ -1,78 +0,0 @@
-.\" (C) Copyright 2015, Ross Gammon <rossgammon at mail.dk>,
-.\"
-.TH NC3TONC4 1 "22 Mar 2015"
-.\"
-.SH NAME
-nc3tonc4 \- a program to convert netCDF 3 files to netCDF 4 format files
-.SH SYNOPSIS
-.B nc3tonc4
-.RB [ \-h ]
-.RB [ \-o ]
-.RB [ \-\-vars=\fIvar1,var2,..\fR ]
-.RB [ \-\-zlib=\fI(0|1)\fR ]
-.RB [ \-\-complevel=\fI(1\-9)\fR ]
-.RB [ \-\-shuffle=\fI(0|1)\fR ]
-.RB [ \-\-fletcher32=\fI(0|1)\fR ]
-.RB [ \-\-unpackshort=\fI(0|1)\fR ]
-.RB [ \-\-quantize=\fIvar1=n1,var2=n2,..\fR ]
-.I netcdf3filename
-.I netcdf4filename
-.br
-.SH DESCRIPTION
-This manual page documents briefly the
-.B nc3tonc4
-command.
-.PP
-\fBnc3tonc4\fP is a program that converts a netCDF 3 file into netCDF 4 format, optionally unpacking variables packed as short integers (with scale_factor and add_offset) to floats, and adding zlib compression (with the HDF5 shuffle filter and fletcher32 checksum). Data may also be quantized (truncated) to a specified precision to improve compression.
-.SH OPTIONS
-These programs follow the usual GNU command line syntax, with long
-options starting with two dashes (`-').
-A summary of options is included below.
-.TP
-.B \-h
-Shows a summary of the available options.
-.TP
-.B \-o
-Overwite destination file (default is to raise an error if output file already exists).
-.TP
-.B \-\-vars
-A comma separated list of variable names to copy (default is to copy all variables).
-.TP
-.B \-\-classic=(0|1)
-Use NETCDF4_CLASSIC format instead of NETCDF4 (default = 1).
-.TP
-.B \-\-zlib=(0|1)
-Activate (or disable) zlib compression (the default is to activate).
-.TP
-.B \-\-complevel=(1-9)
-Set the zlib compression level (6 is default).
-.TP
-.B \-\-shuffle=(0|1)
-Activate (or disable) the shuffle filter (it is active by default).
-.TP
-.B \-\-fletcher32=(0|1)
-Activate (or disable) the fletcher32 checksum (it is not active by default).
-.TP
-.B \-\-unpackshort=(0|1)
-Unpack short integer variables to float variables using scale_factor and add_offset netCDF variable attributes (it is active by default).
-.TP
-.B \-\-quantize=(comma separated list of "variable name=integer" pairs)
-Truncate the data in the specified variables to a given decimal precision. For example, 'speed=2, height=-2, temp=0' will cause the variable 'speed' to be truncated to a precision of 0.01, 'height' to a precision of 100 and 'temp' to 1. This can significantly improve compression. The default is not to quantize any of the variables.
-.TP
-.B \-\-quiet=(0|1)
-If set to 1, don't print any diagnostic information.
-.TP
-.B \-\-chunk=(integer)
-The number of records along unlimited dimension to write at once. The default is 10. It is ignored if there is no unlimited dimension. If chunk=0, it means write all the data at once.
-.TP
-.B \-\-istart=(integer)
-The number of the record to start at along unlimited dimension. The default is 0. This option is ignored if there is no unlimited dimension.
-.TP
-.B \-\-istop=(integer)
-The number of the record to stop at along unlimited dimension. The default is 1. This option is ignored if there is no unlimited dimension.
-.SH SEE ALSO
-.BR ncinfo (1),
-.BR nc4tonc3 (1).
-.br
-.SH AUTHOR
-This manual page was written by Ross Gammon <rossgammon at mail.dk> based on the options displayed by nc3tonc4 \-h.
diff --git a/debian/nc4tonc3.1 b/debian/nc4tonc3.1
deleted file mode 100644
index 02154f4..0000000
--- a/debian/nc4tonc3.1
+++ /dev/null
@@ -1,45 +0,0 @@
-.\" (C) Copyright 2015, Ross Gammon <rossgammon at mail.dk>,
-.\"
-.TH NC4TONC3 1 "22 Mar 2015"
-.\"
-.SH NAME
-nc4tonc3 \- a program to convert a classic netCDF 4 file to netCDF 3 format
-.SH SYNOPSIS
-.B nc4tonc3
-.RB [ \-h ]
-.RB [ \-o ]
-.RB [ \-\-chunk ]
-.I netcdf4filename
-.I netcdf3filename
-.br
-.SH DESCRIPTION
-This manual page documents briefly the
-.B nc4tonc3
-command.
-.PP
-\fBnc4tonc3\fP is a program that converts a netCDF 4 file (in NETCDF4_CLASSIC format) to netCDF 3 format.
-.SH OPTIONS
-These programs follow the usual GNU command line syntax, with long
-options starting with two dashes (`-').
-A summary of options is included below.
-.TP
-.B \-h
-Shows a summary of the available options.
-.TP
-.B \-o
-Overwite destination file (default is to raise an error if output file already exists).
-.TP
-.B \-\-quiet=(0|1)
-If set to 1, don't print any diagnostic information.
-.TP
-.B \-\-format
-Choose the netcdf3 format to use. NETCDF3_64BIT is used by default, or it can be set to NETCDF3_CLASSIC.
-.TP
-.B \-\-chunk=(integer)
-The number of records along unlimited dimension to write at once. The default is 10. It is ignored if there is no unlimited dimension. If chunk=0, this means write all the data at once.
-.SH SEE ALSO
-.BR ncinfo (1),
-.BR nc3tonc4 (1).
-.br
-.SH AUTHOR
-This manual page was written by Ross Gammon <rossgammon at mail.dk> based on the options displayed by nc3tonc4 \-h.
diff --git a/debian/ncinfo.1 b/debian/ncinfo.1
deleted file mode 100644
index c219e82..0000000
--- a/debian/ncinfo.1
+++ /dev/null
@@ -1,44 +0,0 @@
-.\" (C) Copyright 2015, Ross Gammon <rossgammon at mail.dk>,
-.\"
-.TH NCINFO 1 "22 Mar 2015"
-.\"
-.SH NAME
-ncinfo \- a program to print summary information about a netCDF file
-.SH SYNOPSIS
-.B ncinfo
-.RB [ \-h ]
-.RB [ \-g|\-\-group=\fIgrp\fR ]
-.RB [ \-v|\-\-variable=\fIvar\fR ]
-.RB [ \-d|\-\-dimension=\fIdim\fR ]
-.I filename
-.br
-.SH DESCRIPTION
-This manual page documents briefly the
-.B ncinfo
-command.
-.PP
-\fBncinfo\fP is a program that prints summary information about a netCDF file
-.SH OPTIONS
-These programs follow the usual GNU command line syntax, with long
-options starting with two dashes (`-').
-A summary of options is included below.
-.TP
-.B \-h
-Shows a summary of the available options.
-.TP
-.B \-g grp, \-\-group=grp
-Prints information for this group. The default group is the root group. Nested groups are specified using posix paths e.g. group1/group2/group3.
-.TP
-.B \-v <variable name>, \-\-variable=<variable name>
-Prints information for this variable.
-.TP
-.B \-d <dimension name>, \-\-dimension=<dimension name>
-Prints information for this dimension.
-.TP
-The filename of the netCDF file must be supplied as the last argument.
-.SH SEE ALSO
-.BR nc3tonc4 (1),
-.BR nc4tonc3 (1).
-.br
-.SH AUTHOR
-This manual page was written by Ross Gammon <rossgammon at mail.dk> based on the options displayed by ncinfo \-h.
diff --git a/debian/patches/fix-manpage-syntax.patch b/debian/patches/fix-manpage-syntax.patch
new file mode 100644
index 0000000..4ef468d
--- /dev/null
+++ b/debian/patches/fix-manpage-syntax.patch
@@ -0,0 +1,48 @@
+Description: Fix bolded closing bracket in man pages.
+ Previously fixed in commit f2a027d5026c54f02a93bc96a45a78f85b03cac2
+ for man pages included in the Debian package only.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: https://github.com/Unidata/netcdf4-python/pull/429
+
+--- a/man/nc3tonc4.1
++++ b/man/nc3tonc4.1
+@@ -6,15 +6,15 @@
+ nc3tonc4 \- a program to convert netCDF 3 files to netCDF 4 format files
+ .SH SYNOPSIS
+ .B nc3tonc4
+-.RB [\-h ]
+-.RB [\-o ]
+-.RB [\-\-vars=\fIvar1,var2,..\fR ]
+-.RB [\-\-zlib=\fI(0|1)\fR ]
+-.RB [\-\-complevel=\fI(1\-9)\fR ]
+-.RB [\-\-shuffle=\fI(0|1)\fR ]
+-.RB [\-\-fletcher32=\fI(0|1)\fR ]
+-.RB [\-\-unpackshort=\fI(0|1)\fR ]
+-.RB [\-\-quantize=\fIvar1=n1,var2=n2,..\fR ]
++.RB [ \-h ]
++.RB [ \-o ]
++.RB [ \-\-vars=\fIvar1,var2,..\fR ]
++.RB [ \-\-zlib=\fI(0|1)\fR ]
++.RB [ \-\-complevel=\fI(1\-9)\fR ]
++.RB [ \-\-shuffle=\fI(0|1)\fR ]
++.RB [ \-\-fletcher32=\fI(0|1)\fR ]
++.RB [ \-\-unpackshort=\fI(0|1)\fR ]
++.RB [ \-\-quantize=\fIvar1=n1,var2=n2,..\fR ]
+ .I netcdf3filename
+ .I netcdf4filename
+ .br
+--- a/man/nc4tonc3.1
++++ b/man/nc4tonc3.1
+@@ -6,9 +6,9 @@
+ nc4tonc3 \- a program to convert a classic netCDF 4 file to netCDF 3 format
+ .SH SYNOPSIS
+ .B nc4tonc3
+-.RB [\-h ]
+-.RB [\-o ]
+-.RB [\-\-chunk]
++.RB [ \-h ]
++.RB [ \-o ]
++.RB [ \-\-chunk ]
+ .I netcdf4filename
+ .I netcdf3filename
+ .br
diff --git a/debian/patches/series b/debian/patches/series
index d2ef1c5..9afe037 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 cython-clean.patch
 no-online-tests.patch
+fix-manpage-syntax.patch
diff --git a/debian/python3-netcdf4.manpages b/debian/python3-netcdf4.manpages
index 0f65186..bf519d7 100644
--- a/debian/python3-netcdf4.manpages
+++ b/debian/python3-netcdf4.manpages
@@ -1 +1 @@
-debian/*.1
+man/*.1

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/netcdf4-python.git



More information about the Pkg-grass-devel mailing list