summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Fabbro <bicatali@gentoo.org>2016-02-22 21:48:03 +0000
committerSébastien Fabbro <bicatali@gentoo.org>2016-02-22 21:48:20 +0000
commit51c36f98fa12a844637a5cee0dfa776999e93ff9 (patch)
treec1ccd8cbc7151599a08386b6655e6708555b7a67 /dev-python/wcsaxes/files
parentmate-base/mate: Update to use new mate-themes-meta (diff)
downloadgentoo-51c36f98fa12a844637a5cee0dfa776999e93ff9.tar.gz
gentoo-51c36f98fa12a844637a5cee0dfa776999e93ff9.tar.bz2
gentoo-51c36f98fa12a844637a5cee0dfa776999e93ff9.zip
dev-python/wcsaxes: version bump
Package-Manager: portage-2.2.27
Diffstat (limited to 'dev-python/wcsaxes/files')
-rw-r--r--dev-python/wcsaxes/files/wcsaxes-0.6-disable_mpltest.patch14
-rw-r--r--dev-python/wcsaxes/files/wcsaxes-0.6-disable_numpy_warnings_test.patch16
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/wcsaxes/files/wcsaxes-0.6-disable_mpltest.patch b/dev-python/wcsaxes/files/wcsaxes-0.6-disable_mpltest.patch
new file mode 100644
index 000000000000..b62e15a44569
--- /dev/null
+++ b/dev-python/wcsaxes/files/wcsaxes-0.6-disable_mpltest.patch
@@ -0,0 +1,14 @@
+Author: Ole Streicher <olebole@debian.org>
+Description: Remove the tests that require pytest-mpl
+ Pytest_mpl is (still) not available in Debian.
+ https://github.com/astrofrog/pytest-mpl
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -11,7 +11,6 @@
+ minversion = 2.2
+ norecursedirs = build docs/_build
+ doctest_plus = enabled
+-addopts = --mpl --mpl-baseline-path=wcsaxes/tests/baseline_images
+
+ [ah_bootstrap]
+ auto_use = False
diff --git a/dev-python/wcsaxes/files/wcsaxes-0.6-disable_numpy_warnings_test.patch b/dev-python/wcsaxes/files/wcsaxes-0.6-disable_numpy_warnings_test.patch
new file mode 100644
index 000000000000..ff6567c48f94
--- /dev/null
+++ b/dev-python/wcsaxes/files/wcsaxes-0.6-disable_numpy_warnings_test.patch
@@ -0,0 +1,16 @@
+Author: Ole Streicher <olebole@debian.org>
+Description: Disable test_no_numpy_warnings
+ This test may fails when numpy decides that it wants to put some important
+ message as a warning; even if nothing goes wrong. This happens f.e. for
+ numpy-1.11.0~b2.
+--- a/wcsaxes/tests/test_misc.py
++++ b/wcsaxes/tests/test_misc.py
+@@ -51,6 +51,8 @@
+ COORDSYS= 'icrs '
+ """, sep='\n')
+
++# see https://github.com/astrofrog/wcsaxes/issues/187
++@pytest.mark.xfail
+ def test_no_numpy_warnings():
+
+ # Make sure that no warnings are raised if some pixels are outside WCS