This is an automated email from the git hooks/post-receive script. sebastic pushed a commit to branch master in repository python-shapely.
commit 7d8df8cd47f92002fdb9b68a1ff0961a66f5065c Author: Pietro Battiston <m...@pietrobattiston.it> Date: Tue Sep 14 19:18:05 2010 +0200 Broken locale test disabled - patch (?!??!) --- debian/patches/disable-broken-locale-test | 38 +++++++++++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 39 insertions(+) diff --git a/debian/patches/disable-broken-locale-test b/debian/patches/disable-broken-locale-test new file mode 100644 index 0000000..58f37b3 --- /dev/null +++ b/debian/patches/disable-broken-locale-test @@ -0,0 +1,38 @@ +Description: The following test assumes that the locale "pt_BR.UTF-8" is +installed, and fails otherwise. Since there is no "non-trivial" locale which we +can assume is installed, the only way to fix this seems to disable it. +Forwarded, but upstream seems willing to not drop the test. +Author: Pietro Battiston <too...@email.it> +Forwarded: yes + +--- python-shapely.orig/shapely/tests/wkt_locale.txt 2010-09-14 11:43:00.000000000 +0200 ++++ /dev/null 1970-01-01 00:00:00.000000000 +0000 +@@ -1,28 +0,0 @@ +-Test locale independence of WKT +-=============================== +- +-Set locale to one that uses a comma as decimal seperator` +- +- >>> import locale, sys +- >>> if sys.platform == 'win32': +- ... _ = locale.setlocale(locale.LC_ALL, 'portuguese_brazil') +- ... else: +- ... _ = locale.setlocale(locale.LC_ALL, 'pt_BR.UTF-8') +- +-Test reading and writing` +- +- >>> from shapely.wkt import loads +- >>> p = loads('POINT (0.0 0.0)') +- >>> p.x == 0.0 +- True +- >>> p.y == 0.0 +- True +- >>> p.wkt +- 'POINT (0.0...)' +- >>> from shapely.wkt import dumps +- >>> dumps(p) +- 'POINT (0.0...)' +- +-Reset locale +- +- >>> _ = locale.setlocale(locale.LC_ALL, '') diff --git a/debian/patches/series b/debian/patches/series index 2f0d9f5..997cff1 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ do-not-install-examples-as-scripts manual-backported-fixes +disable-broken-locale-test -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/python-shapely.git _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel