Your message dated Fri, 03 Feb 2017 07:32:00 +0000
with message-id <[email protected]>
and subject line Re: Bug#854023: unblock: gdal/2.1.2+dfsg-3
has caused the Debian Bug report #854023,
regarding unblock: gdal/2.1.2+dfsg-3
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
854023: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854023
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: [email protected]
Usertags: unblock
Please unblock package gdal
The only change is the fix for #853900 _gdal_array ImportError with
Python 3.
unblock gdal/2.1.2+dfsg-3
Kind Regards,
Bas
diff -Nru gdal-2.1.2+dfsg/debian/changelog gdal-2.1.2+dfsg/debian/changelog
--- gdal-2.1.2+dfsg/debian/changelog 2016-11-09 18:38:03.000000000 +0100
+++ gdal-2.1.2+dfsg/debian/changelog 2017-02-02 20:15:59.000000000 +0100
@@ -1,3 +1,10 @@
+gdal (2.1.2+dfsg-3) unstable; urgency=medium
+
+ * Add upstream patch to fix _gdal_array ImportError with Python 3.
+ (closes: #853900)
+
+ -- Bas Couwenberg <[email protected]> Thu, 02 Feb 2017 20:15:59 +0100
+
gdal (2.1.2+dfsg-2) unstable; urgency=medium
* Add upstream patch to fix crash on URLs that are not DODS servers.
diff -Nru gdal-2.1.2+dfsg/debian/patches/python3-import-gdal_array.patch
gdal-2.1.2+dfsg/debian/patches/python3-import-gdal_array.patch
--- gdal-2.1.2+dfsg/debian/patches/python3-import-gdal_array.patch
1970-01-01 01:00:00.000000000 +0100
+++ gdal-2.1.2+dfsg/debian/patches/python3-import-gdal_array.patch
2017-02-02 20:14:31.000000000 +0100
@@ -0,0 +1,28 @@
+Description: Python bindings: fix 'import osgeo.gdal_array' with python3 and
SWIG 3.0.10
+Author: Even Rouault
+Origin: https://trac.osgeo.org/gdal/changeset/37277
+Bug: https://trac.osgeo.org/gdal/ticket/6801
+Bug-Debian: https://bugs.debian.org/853900
+
+--- a/swig/include/gdal_array.i
++++ b/swig/include/gdal_array.i
+@@ -994,7 +994,7 @@ retStringAndCPLFree* GetArrayFilename(Py
+
+ %pythoncode %{
+ import numpy
+-import _gdal_array
++from . import _gdal_array
+
+ import gdalconst
+ import gdal
+--- a/swig/python/osgeo/gdal_array.py
++++ b/swig/python/osgeo/gdal_array.py
+@@ -145,7 +145,7 @@ def RATValuesIONumPyRead(*args, **kwargs
+ return _gdal_array.RATValuesIONumPyRead(*args, **kwargs)
+ RATValuesIONumPyRead = _gdal_array.RATValuesIONumPyRead
+ import numpy
+-import _gdal_array
++from . import _gdal_array
+
+ import gdalconst
+ import gdal
diff -Nru gdal-2.1.2+dfsg/debian/patches/series
gdal-2.1.2+dfsg/debian/patches/series
--- gdal-2.1.2+dfsg/debian/patches/series 2016-11-09 18:31:25.000000000
+0100
+++ gdal-2.1.2+dfsg/debian/patches/series 2017-02-02 20:15:40.000000000
+0100
@@ -11,3 +11,4 @@
sort-files-in-static-library.patch
spelling-errors.patch
svn-r36175-DODS-fix-crash-on-URL-that-are-not-DODS-servers.patch
+python3-import-gdal_array.patch
--- End Message ---
--- Begin Message ---
Bas Couwenberg:
> Package: release.debian.org
> Severity: normal
> User: [email protected]
> Usertags: unblock
>
> Please unblock package gdal
>
> The only change is the fix for #853900 _gdal_array ImportError with
> Python 3.
>
> unblock gdal/2.1.2+dfsg-3
>
> Kind Regards,
>
> Bas
>
Unblocked, thanks.
~Niels
--- End Message ---