[netcdf4-python] 08/09: Add patch to fix spelling errors.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sat Apr 16 15:52:01 UTC 2016


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

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

commit befd6d0b924c0ccc51363c454be172da327b091e
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Apr 16 17:38:55 2016 +0200

    Add patch to fix spelling errors.
---
 debian/changelog                     |  1 +
 debian/patches/series                |  1 +
 debian/patches/spelling-errors.patch | 65 ++++++++++++++++++++++++++++++++++++
 3 files changed, 67 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 647bf4d..5d4d00a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ netcdf4-python (1.2.4-1) UNRELEASED; urgency=medium
   * Drop tempfile-mktemp.patch, applied upstream.
   * Bump Standards-Version to 3.9.8, no changes.
   * Update dh_python & dh_numpy calls to act on specific package.
+  * Add patch to fix spelling errors.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sat, 16 Apr 2016 17:10:04 +0200
 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..38edaa7
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+spelling-errors.patch
diff --git a/debian/patches/spelling-errors.patch b/debian/patches/spelling-errors.patch
new file mode 100644
index 0000000..01908bd
--- /dev/null
+++ b/debian/patches/spelling-errors.patch
@@ -0,0 +1,65 @@
+Description: Fix spelling errors.
+ singed -> signed
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: https://github.com/Unidata/netcdf4-python/pull/559
+
+--- a/docs/netCDF4/index.html
++++ b/docs/netCDF4/index.html
+@@ -1554,7 +1554,7 @@ You can specify the datatype as a numpy
+ can be converted to a numpy dtype object.  Valid datatype specifiers
+ include: <code>'f4'</code> (32-bit floating point), <code>'f8'</code> (64-bit floating
+ point), <code>'i4'</code> (32-bit signed integer), <code>'i2'</code> (16-bit signed
+-integer), <code>'i8'</code> (64-bit singed integer), <code>'i1'</code> (8-bit signed
++integer), <code>'i8'</code> (64-bit signed integer), <code>'i1'</code> (8-bit signed
+ integer), <code>'u1'</code> (8-bit unsigned integer), <code>'u2'</code> (16-bit unsigned
+ integer), <code>'u4'</code> (32-bit unsigned integer), <code>'u8'</code> (64-bit unsigned
+ integer), or <code>'S1'</code> (single-character string).  The old Numeric
+@@ -5716,7 +5716,7 @@ numpy dtype object, or a string that des
+ Supported values, corresponding to <code>str</code> attribute of numpy dtype
+ objects, include <code>'f4'</code> (32-bit floating point), <code>'f8'</code> (64-bit floating
+ point), <code>'i4'</code> (32-bit signed integer), <code>'i2'</code> (16-bit signed integer),
+-<code>'i8'</code> (64-bit singed integer), <code>'i4'</code> (8-bit singed integer), <code>'i1'</code>
++<code>'i8'</code> (64-bit signed integer), <code>'i4'</code> (8-bit signed integer), <code>'i1'</code>
+ (8-bit signed integer), <code>'u1'</code> (8-bit unsigned integer), <code>'u2'</code> (16-bit
+ unsigned integer), <code>'u4'</code> (32-bit unsigned integer), <code>'u8'</code> (64-bit
+ unsigned integer), or <code>'S1'</code> (single-character string).  From
+--- a/netCDF4/_netCDF4.c
++++ b/netCDF4/_netCDF4.c
+@@ -2047,7 +2047,7 @@ static const char __pyx_k_Class_providin
+ static const char __pyx_k_FillValue_attribute_must_be_set[] = "_FillValue attribute must be set when variable is ";
+ static const char __pyx_k_The_vltypes_dictionary_maps_the[] = "The `vltypes` dictionary maps the names of\n    variable-length types defined for the `netCDF4.Group` or `netCDF4.Dataset` to instances of the\n    `netCDF4.VLType` class.";
+ static const char __pyx_k_Variable_object_no_longer_valid[] = "Variable object no longer valid";
+-static const char __pyx_k_Version_1_2_4_Introduction_netc[] = "\nVersion 1.2.4\n-------------\n- - - \n\nIntroduction\n============\n\nnetcdf4-python is a Python interface to the netCDF C library.  \n\n[netCDF](http://www.unidata.ucar.edu/software/netcdf/) version 4 has many features\nnot found in earlier versions of the library and is implemented on top of\n[HDF5](http://www.hdfgroup.org/HDF5). This module can read and write\nfiles in both the new netCDF 4 and the old netCDF 3 format,  [...]
++static const char __pyx_k_Version_1_2_4_Introduction_netc[] = "\nVersion 1.2.4\n-------------\n- - - \n\nIntroduction\n============\n\nnetcdf4-python is a Python interface to the netCDF C library.  \n\n[netCDF](http://www.unidata.ucar.edu/software/netcdf/) version 4 has many features\nnot found in earlier versions of the library and is implemented on top of\n[HDF5](http://www.hdfgroup.org/HDF5). This module can read and write\nfiles in both the new netCDF 4 and the old netCDF 3 format,  [...]
+ static const char __pyx_k_assign_vlen_method_only_for_use[] = "_assign_vlen method only for use with VLEN variables";
+ static const char __pyx_k_cannot_set__FillValue_attribute[] = "cannot set _FillValue attribute for VLEN or compound variable";
+ static const char __pyx_k_cannot_specify_chunksizes_for_a[] = "cannot specify chunksizes for a contiguous dataset";
+@@ -25848,7 +25848,7 @@ static int __pyx_pf_7netCDF4_8_netCDF4_9
+ 
+ /* Python wrapper */
+ static int __pyx_pw_7netCDF4_8_netCDF4_8Variable_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+-static char __pyx_doc_7netCDF4_8_netCDF4_8Variable___init__[] = "\n        **`__init__(self, group, name, datatype, dimensions=(), zlib=False,\n        complevel=4, shuffle=True, fletcher32=False, contiguous=False,\n        chunksizes=None, endian='native',\n        least_significant_digit=None,fill_value=None)`**\n\n        `netCDF4.Variable` constructor.\n\n        **`group`**: `netCDF4.Group` or `netCDF4.Dataset` instance to associate with variable.\n\n        **`name`**: Name of the [...]
++static char __pyx_doc_7netCDF4_8_netCDF4_8Variable___init__[] = "\n        **`__init__(self, group, name, datatype, dimensions=(), zlib=False,\n        complevel=4, shuffle=True, fletcher32=False, contiguous=False,\n        chunksizes=None, endian='native',\n        least_significant_digit=None,fill_value=None)`**\n\n        `netCDF4.Variable` constructor.\n\n        **`group`**: `netCDF4.Group` or `netCDF4.Dataset` instance to associate with variable.\n\n        **`name`**: Name of the [...]
+ #if CYTHON_COMPILING_IN_CPYTHON
+ struct wrapperbase __pyx_wrapperbase_7netCDF4_8_netCDF4_8Variable___init__;
+ #endif
+--- a/netCDF4/_netCDF4.pyx
++++ b/netCDF4/_netCDF4.pyx
+@@ -320,7 +320,7 @@ You can specify the datatype as a numpy
+ can be converted to a numpy dtype object.  Valid datatype specifiers
+ include: `'f4'` (32-bit floating point), `'f8'` (64-bit floating
+ point), `'i4'` (32-bit signed integer), `'i2'` (16-bit signed
+-integer), `'i8'` (64-bit singed integer), `'i1'` (8-bit signed
++integer), `'i8'` (64-bit signed integer), `'i1'` (8-bit signed
+ integer), `'u1'` (8-bit unsigned integer), `'u2'` (16-bit unsigned
+ integer), `'u4'` (32-bit unsigned integer), `'u8'` (64-bit unsigned
+ integer), or `'S1'` (single-character string).  The old Numeric
+@@ -2918,7 +2918,7 @@ behavior is similar to Fortran or Matlab
+         Supported values, corresponding to `str` attribute of numpy dtype
+         objects, include `'f4'` (32-bit floating point), `'f8'` (64-bit floating
+         point), `'i4'` (32-bit signed integer), `'i2'` (16-bit signed integer),
+-        `'i8'` (64-bit singed integer), `'i4'` (8-bit singed integer), `'i1'`
++        `'i8'` (64-bit signed integer), `'i4'` (8-bit signed integer), `'i1'`
+         (8-bit signed integer), `'u1'` (8-bit unsigned integer), `'u2'` (16-bit
+         unsigned integer), `'u4'` (32-bit unsigned integer), `'u8'` (64-bit
+         unsigned integer), or `'S1'` (single-character string).  From

-- 
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