diff options
author | Sébastien Fabbro <bicatali@gentoo.org> | 2017-07-12 20:02:46 +0000 |
---|---|---|
committer | Sébastien Fabbro <bicatali@gentoo.org> | 2017-07-13 19:15:55 +0000 |
commit | 1fd35e3bd8d2038f42a5622a82ec4466a7338fd1 (patch) | |
tree | ce5545e61267a92019a45cd2a79914ee5cd08884 /dev-python/fitsio/files | |
parent | dev-db/postgresql: Disable Spinlocks on Alpha (diff) | |
download | gentoo-1fd35e3bd8d2038f42a5622a82ec4466a7338fd1.tar.gz gentoo-1fd35e3bd8d2038f42a5622a82ec4466a7338fd1.tar.bz2 gentoo-1fd35e3bd8d2038f42a5622a82ec4466a7338fd1.zip |
dev-python/fitsio: initial import
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-python/fitsio/files')
-rw-r--r-- | dev-python/fitsio/files/fitsio-0.9.11-test-failures.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/fitsio/files/fitsio-0.9.11-test-failures.patch b/dev-python/fitsio/files/fitsio-0.9.11-test-failures.patch new file mode 100644 index 000000000000..243913dc659e --- /dev/null +++ b/dev-python/fitsio/files/fitsio-0.9.11-test-failures.patch @@ -0,0 +1,38 @@ +From: Ole Streicher <olebole@debian.org> +Date: Fri, 15 Jul 2016 08:46:15 +0200 +Subject: Mark failures that are known to fail with the original cfitsio + +--- + fitsio/test.py | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/fitsio/test.py b/fitsio/test.py +index bafde15..49a4b3b 100644 +--- a/fitsio/test.py ++++ b/fitsio/test.py +@@ -545,7 +545,7 @@ class TestReadWrite(unittest.TestCase): + try: + with fitsio.FITS(fname,'rw',clobber=True) as fits: + # note i8 not supported for compressed! +- dtypes = ['u1','i1','u2','i2','u4','i4','f4','f8'] ++ dtypes = ['u1','i1', 'i2','u4','i4','f4','f8'] + + for dtype in dtypes: + data = numpy.arange(5*20,dtype=dtype).reshape(5,20) +@@ -569,7 +569,7 @@ class TestReadWrite(unittest.TestCase): + try: + with fitsio.FITS(fname,'rw',clobber=True) as fits: + # note i8 not supported for compressed! +- dtypes = ['u1','i1','u2','i2','u4','i4','f4','f8'] ++ dtypes = ['u1','i1', 'i2','u4','i4','f4','f8'] + + for dtype in dtypes: + data = numpy.arange(5*20,dtype=dtype).reshape(5,20) +@@ -1365,6 +1365,7 @@ class TestReadWrite(unittest.TestCase): + if os.path.exists(fname): + os.remove(fname) + ++ @unittest.skip("bzip2 is not supported with debian cfitsio package") + def testBz2Read(self): + ''' + Write a normal .fits file, run bzip2 on it, then read the bz2 |