python-fitsio (0.9.12+dfsg-1) unstable; urgency=low
authorOle Streicher <olebole@debian.org>
Fri, 18 Jan 2019 08:59:47 +0000 (09:59 +0100)
committerOle Streicher <olebole@debian.org>
Fri, 18 Jan 2019 08:59:47 +0000 (09:59 +0100)
  * New upstream version 0.9.12+dfsg. Rediff patches
  * Push Standards-Version to 4.3.0. No changes required.
  * New build dependencies setuptools
  * Push compat to 12

[dgit import unpatched python-fitsio 0.9.12+dfsg-1]

13 files changed:
1  2 
debian/README.Debian
debian/changelog
debian/compat
debian/control
debian/copyright
debian/patches/Force-the-use-of-the-system-cfitsio.patch
debian/patches/Mark-failures-that-are-known-to-fail-with-the-original-cf.patch
debian/patches/series
debian/rules
debian/source/format
debian/tests/control
debian/upstream/metadata
debian/watch

index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..8ce7127ef69c513672fdb5bba7b6bb21c2b84614
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,6 @@@
++Contrary to the original package, the Debian package uses the
++(unpatched) cfitsio library that comes with Debian. This causes the
++bzip2 compression switched off, and the compressed read with the "u2"
++datatype does not work.
++
++-- Ole Streicher <olebole@debian.org>  Wed, 13 Apr 2016 17:24:30 +0200
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..a3b4b130a7ec18d5ee85b04551f0d7adc6976859
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,92 @@@
++python-fitsio (0.9.12+dfsg-1) unstable; urgency=low
++
++  * New upstream version 0.9.12+dfsg. Rediff patches
++  * Push Standards-Version to 4.3.0. No changes required.
++  * New build dependencies setuptools
++  * Push compat to 12
++
++ -- Ole Streicher <olebole@debian.org>  Fri, 18 Jan 2019 09:59:47 +0100
++
++python-fitsio (0.9.11+dfsg-4) unstable; urgency=medium
++
++  [ Ole Streicher ]
++  * Drop alignment patches. They didn't work.
++
++  [ Matthias Klose ]
++  * Dont run autotests on armhf for now (partially resolves #902990)
++
++ -- Ole Streicher <olebole@debian.org>  Sun, 15 Jul 2018 16:36:56 +0200
++
++python-fitsio (0.9.11+dfsg-3) unstable; urgency=medium
++
++  * Disable failing checksum test
++
++ -- Ole Streicher <olebole@debian.org>  Fri, 13 Jul 2018 08:47:51 +0200
++
++python-fitsio (0.9.11+dfsg-2) unstable; urgency=medium
++
++  * Update VCS fields to use salsa.d.o
++  * Push compat to 11
++  * Push Standards-Version to 4.1.5. Change copyright format URL to https
++
++ -- Ole Streicher <olebole@debian.org>  Thu, 05 Jul 2018 11:09:18 +0200
++
++python-fitsio (0.9.11+dfsg-1) unstable; urgency=low
++
++  * Propagate CI test exit code
++  * New upstream version 0.9.11+dfsg
++  * Rediff patches
++  * Push Standards-Version to 4.0.0. No changes
++
++ -- Ole Streicher <olebole@debian.org>  Fri, 23 Jun 2017 17:44:06 +0200
++
++python-fitsio (0.9.10+dfsg-1) unstable; urgency=medium
++
++  * Imported Upstream version 0.9.10+dfsg
++
++ -- Ole Streicher <olebole@debian.org>  Thu, 18 Aug 2016 14:38:31 +0200
++
++python-fitsio (0.9.9.1+dfsg-1) unstable; urgency=low
++
++  * Imported Upstream version 0.9.9.1+dfsg
++
++ -- Ole Streicher <olebole@debian.org>  Wed, 20 Jul 2016 17:52:17 +0200
++
++python-fitsio (0.9.9+dfsg-1) unstable; urgency=low
++
++  * Imported Upstream version 0.9.9+dfsg
++
++ -- Ole Streicher <olebole@debian.org>  Fri, 15 Jul 2016 08:54:33 +0200
++
++python-fitsio (0.9.8+dfsg-5) unstable; urgency=low
++
++  * Skip bzip2 unittest instead of xfail to avoid bus error on sparc64
++
++ -- Ole Streicher <olebole@debian.org>  Thu, 21 Apr 2016 21:47:58 +0200
++
++python-fitsio (0.9.8+dfsg-4) unstable; urgency=low
++
++  * Align test data in testAsciiTableWriteRead. Closes: #821132
++
++ -- Ole Streicher <olebole@debian.org>  Thu, 21 Apr 2016 14:48:49 +0200
++
++python-fitsio (0.9.8+dfsg-3) unstable; urgency=low
++
++  * Push Standards-Version to 3.9.8 (no changes)
++  * Fix FTBFS on mips and powerpc
++
++ -- Ole Streicher <olebole@debian.org>  Wed, 20 Apr 2016 11:22:39 +0200
++
++python-fitsio (0.9.8+dfsg-2) unstable; urgency=low
++
++  * Fix CI test call
++  * Fix crash on 32-bit platforms Closes: #821131
++  * Fix Vcs-Git URL
++
++ -- Ole Streicher <olebole@debian.org>  Sat, 16 Apr 2016 22:01:34 +0200
++
++python-fitsio (0.9.8+dfsg-1) unstable; urgency=low
++
++  * Initial release. (Closes: #820811)
++
++ -- Ole Streicher <olebole@debian.org>  Thu, 14 Apr 2016 22:56:03 +0200
diff --cc debian/compat
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++12
diff --cc debian/control
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..c9fd408b8d6a5ba0f9099146c58fb2843718d79c
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,50 @@@
++Source: python-fitsio
++Section: python
++Priority: optional
++Maintainer: Debian Astronomy Team <debian-astro-maintainers@lists.alioth.debian.org>
++Uploaders: Ole Streicher <olebole@debian.org>
++Build-Depends: debhelper (>= 12),
++               dh-python,
++               libcfitsio-dev,
++               python-all-dev (>= 2.7),
++               python-numpy,
++               python-setuptools,
++               python3-all-dev,
++               python3-numpy,
++               python3-setuptools
++Standards-Version: 4.3.0
++Homepage: https://github.com/esheldon/fitsio
++Vcs-Git: https://salsa.debian.org/debian-astro-team/python-fitsio.git
++Vcs-Browser: https://salsa.debian.org/debian-astro-team/python-fitsio
++
++Package: python-fitsio
++Architecture: any
++Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}
++Description: Python 2 library to read from and write to FITS files
++ Fitsio provides an easy to use object-oriented API including
++ providing a Numpy interface to FITS files read from CFITSIO. It
++ allows direct access to the columns of a FITS binary table which can
++ be useful for reading large fits files. Compared to astropy.io.fits,
++ this package is closer to the underlying cfitsio library.
++ .
++ Fitsio also exposes a microlanguage (implemented in CFITSIO) for
++ making efficient SQL-like queries of tables (single tables only
++ though–no joins or anything like that).
++ .
++ This is the Python 2 package.
++
++Package: python3-fitsio
++Architecture: any
++Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}
++Description: Python 3 library to read from and write to FITS files
++ Fitsio provides an easy to use object-oriented API including
++ providing a Numpy interface to FITS files read from CFITSIO. It
++ allows direct access to the columns of a FITS binary table which can
++ be useful for reading large fits files. Compared to astropy.io.fits,
++ this package is closer to the underlying cfitsio library.
++ .
++ Fitsio also exposes a microlanguage (implemented in CFITSIO) for
++ making efficient SQL-like queries of tables (single tables only
++ though–no joins or anything like that).
++ .
++ This is the Python 3 package.
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..ad5ee295de6ea321049850e6a66a2cf87f3a68f3
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,44 @@@
++Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
++Upstream-Name: fitsio
++Files-Excluded: cfitsio*
++
++Files: *
++Copyright: 2011  Erin Sheldon, BNL.  erin dot sheldon at gmail dot com
++License: GPL-2+
++ This program is free software; you can redistribute it and/or modify
++ it under the terms of the GNU General Public License as published by
++ the Free Software Foundation; either version 2 of the License, or
++ (at your option) any later version.
++ .
++ This program is distributed in the hope that it will be useful,
++ but WITHOUT ANY WARRANTY; without even the implied warranty of
++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
++ GNU General Public License for more details.
++ .
++ On Debian GNU/Linux systems, the complete text of the GNU General
++  Public License can be found in `/usr/share/common-licenses/GPL-2'.
++
++Files: debian/*
++Copyright: 2016 Ole Streicher <olebole@debian.org>
++License: BSD-2-Clause
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions are met:
++ .
++ * Redistributions of source code must retain the above copyright notice, this
++   list of conditions and the following disclaimer.
++ .
++ * Redistributions in binary form must reproduce the above copyright notice,
++   this list of conditions and the following disclaimer in the documentation
++   and/or other materials provided with the distribution.
++ .
++ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
++ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ POSSIBILITY OF SUCH DAMAGE.
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..ff53692db0e96792e37a2ca294b50831d272709b
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,22 @@@
++From: Ole Streicher <olebole@debian.org>
++Date: Fri, 15 Jul 2016 08:46:15 +0200
++Subject: Force the use of the system cfitsio
++
++The command line option does not help here since it works only with build_ext.
++---
++ setup.py | 2 +-
++ 1 file changed, 1 insertion(+), 1 deletion(-)
++
++diff --git a/setup.py b/setup.py
++index a55ed13..336d838 100644
++--- a/setup.py
+++++ b/setup.py
++@@ -30,7 +30,7 @@ class build_ext_subclass(build_ext):
++     cfitsio_dir = 'cfitsio%s' % cfitsio_version
++ 
++     def initialize_options(self):
++-        self.use_system_fitsio = False
+++        self.use_system_fitsio = True
++         self.system_fitsio_includedir = None
++         self.system_fitsio_libdir = None
++         build_ext.initialize_options(self)
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..b93b9b647962f9a93f2da1a8e38354d24e64ac4c
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,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 32b284e..e8feecd 100644
++--- a/fitsio/test.py
+++++ b/fitsio/test.py
++@@ -643,7 +643,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)
++@@ -667,7 +667,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)
++@@ -1683,6 +1683,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
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..85c259409ba3756bcbad42844d8fb718700e2cde
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,2 @@@
++Force-the-use-of-the-system-cfitsio.patch
++Mark-failures-that-are-known-to-fail-with-the-original-cf.patch
diff --cc debian/rules
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..bb36e0bffc1e3489813f6a76dc62e9fb4ab1164f
new file mode 100755 (executable)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,20 @@@
++#!/usr/bin/make -f
++#export DH_VERBOSE=1
++
++PYTHON2:=$(shell pyversions -vr)
++PYTHON3:=$(shell py3versions -vr)
++export PYBUILD_NAME=fitsio
++export http_proxy=127.0.0.1:9
++DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
++
++%:
++      dh $@ --with python2,python3 --buildsystem=pybuild
++
++override_dh_shlibdeps:
++      dh_shlibdeps
++      dh_numpy
++      dh_numpy3
++
++ifneq (,$(filter $(DEB_HOST_ARCH), armhf))
++override_dh_auto_test:
++endif
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..163aaf8d82b6c54f23c45f32895dbdfdcc27b047
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++3.0 (quilt)
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..902c324515e015ac6b4c3e1dcca7131e0106e506
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,7 @@@
++Test-Command: cd $ADTTMP && python -c "import fitsio; exit(fitsio.test.test())"
++Depends: python-fitsio
++Restrictions: allow-stderr
++
++Test-Command: cd $ADTTMP && python3 -c "import fitsio; exit(fitsio.test.test())"
++Depends: python3-fitsio
++Restrictions: allow-stderr
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..0fc6e5d76c19941cc97229f6e6ece58e306daab5
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,3 @@@
++Bug-Database: https://github.com/esheldon/fitsio/issues
++Name: fitsio
++Repository: https://github.com/esheldon/fitsio
diff --cc debian/watch
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..ee6449dc02a9785053cfcbe0c721a125f793f9f3
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,3 @@@
++version=3
++opts=dversionmangle=s/\+dfsg//,uversionmangle=s/(rc|a|b|c)/~$1/,repacksuffix=+dfsg \
++https://pypi.debian.net/fitsio/fitsio-([0-9].+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))