Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
Link examples into the doc directory
· f45756bc
Antonio Valentino
authored
Feb 10, 2019
f45756bc
Refresh and renumber all patches
· c9997d77
Antonio Valentino
authored
Feb 10, 2019
c9997d77
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
c9997d77
python-cartopy (0.17.0+dfsg-4) UNRELEASED; urgency=medium
* Link examples into the doc directory.
* debian/patches:
- refresh and renumber all patches.
-- Antonio Valentino <antonio.valentino@tiscali.it> Sun, 10 Feb 2019 08:40:13 +0000
python-cartopy (0.17.0+dfsg-3) unstable; urgency=medium
* Team upload.
...
...
debian/patches/0001-Skip-tests-failing-on-i386-architectures.patch
View file @
c9997d77
...
...
@@ -2,9 +2,17 @@ From: Ghislain Antony Vaillant <ghisvail@gmail.com>
Date: Sat, 14 Jan 2017 10:26:34 +0000
Subject: Skip tests failing on i386 architectures
---
lib/cartopy/tests/crs/test_lambert_azimuthal_equal_area.py | 3 +++
lib/cartopy/tests/mpl/test_features.py | 3 +++
lib/cartopy/tests/mpl/test_images.py | 3 +++
3 files changed, 9 insertions(+)
diff --git a/lib/cartopy/tests/crs/test_lambert_azimuthal_equal_area.py b/lib/cartopy/tests/crs/test_lambert_azimuthal_equal_area.py
index 93663d0..790b7f3 100644
--- a/lib/cartopy/tests/crs/test_lambert_azimuthal_equal_area.py
+++ b/lib/cartopy/tests/crs/test_lambert_azimuthal_equal_area.py
@@ -20,6 +20,7 @@
from __future__ import (absolute_import,
@@ -20,6 +20,7 @@
from __future__ import (absolute_import,
division, print_function)
import numpy as np
from numpy.testing import assert_almost_equal
import pytest
...
...
@@ -21,9 +29,11 @@ Subject: Skip tests failing on i386 architectures
def test_default(self):
crs = ccrs.LambertAzimuthalEqualArea()
other_args = {'ellps=WGS84', 'lon_0=0.0', 'lat_0=0.0', 'x_0=0.0',
diff --git a/lib/cartopy/tests/mpl/test_features.py b/lib/cartopy/tests/mpl/test_features.py
index 250e3db..f3cc54f 100644
--- a/lib/cartopy/tests/mpl/test_features.py
+++ b/lib/cartopy/tests/mpl/test_features.py
@@ -19,6 +19,7 @@
from __future__ import (absolute_import,
@@ -19,6 +19,7 @@
from __future__ import (absolute_import,
division, print_function)
import matplotlib.pyplot as plt
import pytest
...
...
@@ -40,6 +50,8 @@ Subject: Skip tests failing on i386 architectures
@ImageTesting(['gshhs_coastlines'],
tolerance=1.7 if MPL_VERSION < '2' else 0)
def test_gshhs():
diff --git a/lib/cartopy/tests/mpl/test_images.py b/lib/cartopy/tests/mpl/test_images.py
index 55a7ee5..3991db4 100644
--- a/lib/cartopy/tests/mpl/test_images.py
+++ b/lib/cartopy/tests/mpl/test_images.py
@@ -18,6 +18,7 @@
...
...
debian/patches/no-network.patch
→
debian/patches/
0002-
no-network.patch
View file @
c9997d77
Description: Mark additional tests as requiring network.
Author: Bas Couwenberg <sebastic@debian.org>
From: Bas Couwenberg <sebastic@debian.org>
Date: Sun, 10 Feb 2019 11:52:26 +0000
Subject: Mark additional tests as requiring network.
Forwarded: https://github.com/SciTools/cartopy/issues/1206
---
lib/cartopy/tests/mpl/test_nightshade.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/cartopy/tests/mpl/test_nightshade.py b/lib/cartopy/tests/mpl/test_nightshade.py
index 5922609..8395ab6 100644
--- a/lib/cartopy/tests/mpl/test_nightshade.py
+++ b/lib/cartopy/tests/mpl/test_nightshade.py
@@ -27,6 +27,7 @@
from cartopy.feature.nightshade import N
@@ -27,6 +27,7 @@
from cartopy.feature.nightshade import N
ightshade
from cartopy.tests.mpl import ImageTesting
...
...
debian/patches/series
View file @
c9997d77
0001-Skip-tests-failing-on-i386-architectures.patch
no-network.patch
0002-
no-network.patch
debian/python-cartopy.links
View file @
c9997d77
usr/share/cartopy/data usr/lib/python2.7/dist-packages/cartopy/data
usr/share/cartopy/tests/mpl/baseline_images usr/lib/python2.7/dist-packages/cartopy/tests/mpl/baseline_images
usr/lib/python2.7/dist-packages/cartopy/examples usr/share/doc/python2.7-cartopy/examples
debian/python3-cartopy.links
View file @
c9997d77
usr/share/cartopy/data usr/lib/python3/dist-packages/cartopy/data
usr/share/cartopy/tests/mpl/baseline_images usr/lib/python3/dist-packages/cartopy/tests/mpl/baseline_images
usr/lib/python3/dist-packages/cartopy/examples usr/share/doc/python3-cartopy/examples