From b224bd65f5dfee7194bd579c4db623a943312a3a Mon Sep 17 00:00:00 2001 From: Ole Streicher Date: Thu, 20 Jun 2024 18:37:28 +0200 Subject: [PATCH] Import python-fitsio_1.2.4+dfsg-1.debian.tar.xz [dgit import tarball python-fitsio 1.2.4+dfsg-1 python-fitsio_1.2.4+dfsg-1.debian.tar.xz] --- README.Debian | 6 ++ changelog | 235 ++++++++++++++++++++++++++++++++++++++++++++++ control | 35 +++++++ copyright | 44 +++++++++ gitlab-ci.yml | 8 ++ rules | 14 +++ source/format | 1 + tests/control | 3 + upstream/metadata | 4 + watch | 3 + 10 files changed, 353 insertions(+) create mode 100644 README.Debian create mode 100644 changelog create mode 100644 control create mode 100644 copyright create mode 100644 gitlab-ci.yml create mode 100755 rules create mode 100644 source/format create mode 100644 tests/control create mode 100644 upstream/metadata create mode 100644 watch diff --git a/README.Debian b/README.Debian new file mode 100644 index 0000000..8ce7127 --- /dev/null +++ b/README.Debian @@ -0,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 Wed, 13 Apr 2016 17:24:30 +0200 diff --git a/changelog b/changelog new file mode 100644 index 0000000..cc4867d --- /dev/null +++ b/changelog @@ -0,0 +1,235 @@ +python-fitsio (1.2.4+dfsg-1) unstable; urgency=medium + + * New upstream version 1.2.4+dfsg + + -- Ole Streicher Thu, 20 Jun 2024 18:37:28 +0200 + +python-fitsio (1.2.2+dfsg-1) unstable; urgency=medium + + * New upstream version 1.2.2+dfsg + * Push Standards-Version to 4.7.0. No changes needed + + -- Ole Streicher Wed, 12 Jun 2024 19:51:02 +0200 + +python-fitsio (1.2.1+dfsg-1) unstable; urgency=medium + + * New upstream version 1.2.1+dfsg + + -- Ole Streicher Tue, 07 Nov 2023 17:07:17 +0100 + +python-fitsio (1.2.0+dfsg-1) unstable; urgency=medium + + * New upstream version 1.2.0+dfsg + * Specify --use-system-cfitsio during build and install. Remove patch. + + -- Ole Streicher Thu, 03 Aug 2023 18:10:34 +0200 + +python-fitsio (1.1.10+dfsg-1) unstable; urgency=medium + + * New upstream version 1.1.10+dfsg + * Drop Mark-failures-that-are-known-to-fail-with-the-original-cf.patch + * Push Standards-Version to 4.6.2. No changes needed + * Add new build and test dep py3-pytest + + -- Ole Streicher Tue, 27 Jun 2023 17:00:51 +0200 + +python-fitsio (1.1.8+dfsg-1) unstable; urgency=medium + + * New upstream version 1.1.8+dfsg + * Drop testCompressPreserveZeros patch: applied upstream + + -- Ole Streicher Thu, 29 Sep 2022 14:56:21 +0200 + +python-fitsio (1.1.7+dfsg-3) unstable; urgency=medium + + * Add missing curl and bz2 dev libs (Closes: #1020027) + * Push Standards-Version to 4.6.1. No changes needed + + -- Ole Streicher Mon, 19 Sep 2022 15:07:35 +0200 + +python-fitsio (1.1.7+dfsg-2) unstable; urgency=medium + + [ Aurelien Jarno ] + * testCompressPreserveZeros: do not test with the hcompress algorithm + Closes: #1011178 + + -- Ole Streicher Thu, 19 May 2022 07:57:02 +0200 + +python-fitsio (1.1.7+dfsg-1) unstable; urgency=medium + + * New upstream version 1.1.7+dfsg + * Rediff patches + + -- Ole Streicher Mon, 31 Jan 2022 12:34:52 +0100 + +python-fitsio (1.1.6+dfsg-1) unstable; urgency=medium + + * New upstream version 1.1.6+dfsg + * Rediff patches + + -- Ole Streicher Tue, 21 Dec 2021 13:32:09 +0100 + +python-fitsio (1.1.5+dfsg-1) unstable; urgency=medium + + [ Debian Janitor ] + * Set upstream metadata fields: Bug-Submit, Repository, Repository-Browse. + * Remove obsolete field Name from debian/upstream/metadata (already + present in machine-readable debian/copyright). + + * New upstream version 1.1.5+dfsg + * Rediff patches + * Push Standards-Version to 4.6.0. No changes needed + * Replace deprecated ADTTMP variable with AUTOPKGTEST_TMP in d/t/control + + -- Ole Streicher Tue, 14 Sep 2021 09:31:41 +0200 + +python-fitsio (1.1.4+dfsg-1) unstable; urgency=medium + + * New upstream version 1.1.4+dfsg + * Rediff patches + * Push Standards-Version to 4.5.1. No changes needed + * Add "Rules-Requires-Root: no" to d/control + * Push dh-compat to 13 + + -- Ole Streicher Wed, 24 Feb 2021 10:09:50 +0100 + +python-fitsio (1.1.3+dfsg-2) unstable; urgency=medium + + * Switch back to unstable + + -- Ole Streicher Mon, 02 Nov 2020 08:25:06 +0100 + +python-fitsio (1.1.3+dfsg-1) experimental; urgency=medium + + * New upstream version 1.1.3+dfsg. Rediff patches + * Try to run build time tests on arm platform. Switch to experimental + + -- Ole Streicher Wed, 14 Oct 2020 08:58:47 +0200 + +python-fitsio (1.1.2+dfsg-1) unstable; urgency=low + + * New upstream version 1.1.2+dfsg. Rediff patches. Closes: #956521 + + -- Ole Streicher Tue, 28 Apr 2020 08:43:19 +0200 + +python-fitsio (1.1.1+dfsg-1) unstable; urgency=low + + * New upstream version 1.1.1+dfsg. Rediff patches + + -- Ole Streicher Wed, 11 Mar 2020 08:33:41 +0100 + +python-fitsio (1.1.0+dfsg-1) unstable; urgency=low + + * New upstream version 1.1.0+dfsg. Rediff patches + * Push Standards-Version to 4.5.0. No changes required + + -- Ole Streicher Fri, 21 Feb 2020 17:47:44 +0100 + +python-fitsio (1.0.5+dfsg-2) unstable; urgency=low + + * Add tests on salsa + * Remove test for Python-2 package + * Remove d/compat + + -- Ole Streicher Mon, 05 Aug 2019 11:47:37 +0200 + +python-fitsio (1.0.5+dfsg-1) unstable; urgency=low + + * New upstream version 1.0.5+dfsg. Rediff patches + * Push Standards-Version to 4.4.0. No changes needed + * Remove Python 2 package + + -- Ole Streicher Thu, 18 Jul 2019 14:08:15 +0200 + +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 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 Sun, 15 Jul 2018 16:36:56 +0200 + +python-fitsio (0.9.11+dfsg-3) unstable; urgency=medium + + * Disable failing checksum test + + -- Ole Streicher 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 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 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 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 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 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 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 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 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 Sat, 16 Apr 2016 22:01:34 +0200 + +python-fitsio (0.9.8+dfsg-1) unstable; urgency=low + + * Initial release. (Closes: #820811) + + -- Ole Streicher Thu, 14 Apr 2016 22:56:03 +0200 diff --git a/control b/control new file mode 100644 index 0000000..74c35cd --- /dev/null +++ b/control @@ -0,0 +1,35 @@ +Source: python-fitsio +Maintainer: Debian Astronomy Team +Uploaders: Ole Streicher +Section: python +Priority: optional +Build-Depends: debhelper-compat (= 13), + dh-python, + libbz2-dev, + libcfitsio-dev, + libcurl4-openssl-dev, + python3-all-dev, + python3-numpy, + python3-pytest, + python3-setuptools +Standards-Version: 4.7.0 +Vcs-Browser: https://salsa.debian.org/debian-astro-team/python-fitsio +Vcs-Git: https://salsa.debian.org/debian-astro-team/python-fitsio.git +Homepage: https://github.com/esheldon/fitsio +Rules-Requires-Root: no + +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). diff --git a/copyright b/copyright new file mode 100644 index 0000000..ad5ee29 --- /dev/null +++ b/copyright @@ -0,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 +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. diff --git a/gitlab-ci.yml b/gitlab-ci.yml new file mode 100644 index 0000000..6b506f8 --- /dev/null +++ b/gitlab-ci.yml @@ -0,0 +1,8 @@ + +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml + +variables: + RELEASE: 'unstable' + \ No newline at end of file diff --git a/rules b/rules new file mode 100755 index 0000000..660a94c --- /dev/null +++ b/rules @@ -0,0 +1,14 @@ +#!/usr/bin/make -f +#export DH_VERBOSE=1 + +export PYBUILD_NAME=fitsio +export PYBUILD_BUILD_ARGS=--use-system-fitsio +export PYBUILD_INSTALL_ARGS=--use-system-fitsio +export SKIP_BZIP_TEST=1 + +%: + dh $@ --with python3 --buildsystem=pybuild + +override_dh_shlibdeps: + dh_shlibdeps + dh_numpy3 diff --git a/source/format b/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/tests/control b/tests/control new file mode 100644 index 0000000..da38ae9 --- /dev/null +++ b/tests/control @@ -0,0 +1,3 @@ +Test-Command: cd $AUTOPKGTEST_TMP && pytest-3 --pyargs fitsio +Depends: @, python3-pytest +Restrictions: allow-stderr diff --git a/upstream/metadata b/upstream/metadata new file mode 100644 index 0000000..dcd8ffb --- /dev/null +++ b/upstream/metadata @@ -0,0 +1,4 @@ +Bug-Database: https://github.com/esheldon/fitsio/issues +Bug-Submit: https://github.com/esheldon/fitsio/issues/new +Repository: https://github.com/esheldon/fitsio.git +Repository-Browse: https://github.com/esheldon/fitsio diff --git a/watch b/watch new file mode 100644 index 0000000..ee6449d --- /dev/null +++ b/watch @@ -0,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))) -- 2.30.2