[rasterio] 02/04: Add patch for 'transform' typo.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sun Feb 7 13:29:38 UTC 2016


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

sebastic pushed a commit to branch master
in repository rasterio.

commit a8922ff7f83b8a399c676e379522868e2028a63d
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Feb 7 12:30:49 2016 +0100

    Add patch for 'transform' typo.
---
 debian/changelog                    |  1 +
 debian/patches/series               |  1 +
 debian/patches/transform-typo.patch | 15 +++++++++++++++
 3 files changed, 17 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 511f5a3..003afe3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 rasterio (0.31.0-3) UNRELEASED; urgency=medium
 
   * Update Vcs-Git URL to use HTTPS.
+  * Add patch for 'transform' typo.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sat, 06 Feb 2016 11:06:02 +0100
 
diff --git a/debian/patches/series b/debian/patches/series
index 9654eb2..f48b083 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-Rename-rio-to-rasterio-Closes-788463.patch
+transform-typo.patch
diff --git a/debian/patches/transform-typo.patch b/debian/patches/transform-typo.patch
new file mode 100644
index 0000000..5d37548
--- /dev/null
+++ b/debian/patches/transform-typo.patch
@@ -0,0 +1,15 @@
+Description: Fix 'tranform' typo, replace with 'transform'.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: https://github.com/mapbox/rasterio/pull/558
+
+--- a/rasterio/_io.pyx
++++ b/rasterio/_io.pyx
+@@ -1454,7 +1454,7 @@ cdef class RasterUpdater(RasterReader):
+         if [abs(v) for v in transform] == [0, 1, 0, 0, 0, 1]:
+             warnings.warn(
+                 "Dataset uses default geotransform (Affine.identity). "
+-                "No tranform will be written to the output by GDAL.",
++                "No transform will be written to the output by GDAL.",
+                 UserWarning
+             )
+ 

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



More information about the Pkg-grass-devel mailing list