diff options
author | 2016-08-31 21:50:28 +0000 | |
---|---|---|
committer | 2016-08-31 23:07:25 +0000 | |
commit | 3403656699bb4587f0dd0399078ab36c30535975 (patch) | |
tree | c914f9405e61597c545290d72418cc4ce042ef96 /dev-python/astropy/files | |
parent | sys-kernel/genkernel: bump for bug #591770. (diff) | |
download | gentoo-3403656699bb4587f0dd0399078ab36c30535975.tar.gz gentoo-3403656699bb4587f0dd0399078ab36c30535975.tar.bz2 gentoo-3403656699bb4587f0dd0399078ab36c30535975.zip |
dev-python/astropy: version bump. fix also xdg sandboxing issue
Gentoo-Bug: 587700
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-python/astropy/files')
-rw-r--r-- | dev-python/astropy/files/astropy-1.2.1-cfitsio-338.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-python/astropy/files/astropy-1.2.1-cfitsio-338.patch b/dev-python/astropy/files/astropy-1.2.1-cfitsio-338.patch new file mode 100644 index 000000000000..9a688d959851 --- /dev/null +++ b/dev-python/astropy/files/astropy-1.2.1-cfitsio-338.patch @@ -0,0 +1,16 @@ +Author: Ole Streicher <olebole@debian.org> +Description: Make TFORMx check more flexible + The maximal column length in cfitsio changed between version 3370 and 3380. + This patch checks their syntax, without a specific length. +Bug: https://github.com/astropy/astropy/issues/4646 +--- a/astropy/io/fits/tests/test_image.py ++++ b/astropy/io/fits/tests/test_image.py +@@ -1070,7 +1070,7 @@ + hdu.writeto(self.temp('test.fits')) + + with fits.open(self.temp('test.fits')) as hdul: +- assert (hdul['SCI'].data == cube).all() ++ assert np.abs(hdul['SCI'].data - cube).max() < 1./15. + + def test_subtractive_dither_seed(self): + """ |