[python-shapely] 86/148: Upstream patch for broken test

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Thu Aug 20 17:42:06 UTC 2015


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

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

commit 3f851fa99c6a38654e5873731b82ae76ecee74cf
Author: Pietro Battiston <me at pietrobattiston.it>
Date:   Sat Mar 10 22:40:47 2012 +0100

    Upstream patch for broken test
---
 .../patches/0003-Fix-for-Debian-bug-663210.patch   | 29 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 30 insertions(+)

diff --git a/debian/patches/0003-Fix-for-Debian-bug-663210.patch b/debian/patches/0003-Fix-for-Debian-bug-663210.patch
new file mode 100644
index 0000000..7360e4a
--- /dev/null
+++ b/debian/patches/0003-Fix-for-Debian-bug-663210.patch
@@ -0,0 +1,29 @@
+From: sgillies <sean.gillies at gmail.com>
+Date: Sat, 10 Mar 2012 11:22:25 -0800
+Subject: Fix for Debian bug #663210.
+
+There's no need for Shapely to be incidentally testing the numerical
+details of GEOS, so this patch cuts that out of the test.
+
+Signed-off-by: Pietro Battiston <me at pietrobattiston.it>
+---
+ shapely/tests/attribute-chains.txt |    6 ++----
+ 1 files changed, 2 insertions(+), 4 deletions(-)
+
+diff --git a/shapely/tests/attribute-chains.txt b/shapely/tests/attribute-chains.txt
+index 9b7933d..442cc2b 100644
+--- a/shapely/tests/attribute-chains.txt
++++ b/shapely/tests/attribute-chains.txt
+@@ -28,10 +28,8 @@ anonymous references.
+     >>> print list(p.interiors[0].coords)
+     [(-0.25, 0.25), (-0.25, 0.75), (-0.75, 0.75), (-0.75, 0.25), (-0.25, 0.25)]
+     >>> xy = list(p.interiors[0].buffer(1).exterior.coords)[0]
+-    >>> xy[0] + 0.25 <= 1.0e-7
+-    True
+-    >>> xy[1] + 0.75 <= 1.0e-7
+-    True
++    >>> len(xy)
++    2
+ 
+ Test multiple operators, boundary of a buffer
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 061fed7..0c06c1e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 0001-disable-broken-locale-test.patch
 0002-rerun-cython.patch
+0003-Fix-for-Debian-bug-663210.patch

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



More information about the Pkg-grass-devel mailing list