From: Ole Streicher Date: Tue, 19 Dec 2017 10:35:47 +0000 (+0000) Subject: python-astropy (2.0.3-1) unstable; urgency=low X-Git-Tag: archive/raspbian/2.0.3-1+rpi1^2~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ecd2ebc5c3372477e971143856f3b833dadd7c71;p=python-astropy.git python-astropy (2.0.3-1) unstable; urgency=low * New upstream version 2.0.3 * Rediff patches * Remove http proxy from d/rules to allow localhost connections * Use the packaged MathJax [dgit import unpatched python-astropy 2.0.3-1] --- ecd2ebc5c3372477e971143856f3b833dadd7c71 diff --cc debian/astropy-utils.install index 0000000,0000000..e772481 new file mode 100644 --- /dev/null +++ b/debian/astropy-utils.install @@@ -1,0 -1,0 +1,1 @@@ ++usr/bin diff --cc debian/astropy-utils.manpages index 0000000,0000000..6a3e46c new file mode 100644 --- /dev/null +++ b/debian/astropy-utils.manpages @@@ -1,0 -1,0 +1,8 @@@ ++debian/fits2bitmap.1 ++debian/fitscheck.1 ++debian/fitsdiff.1 ++debian/fitsheader.1 ++debian/fitsinfo.1 ++debian/samp_hub.1 ++debian/volint.1 ++debian/wcslint.1 diff --cc debian/changelog index 0000000,0000000..3479e82 new file mode 100644 --- /dev/null +++ b/debian/changelog @@@ -1,0 -1,0 +1,600 @@@ ++python-astropy (2.0.3-1) unstable; urgency=low ++ ++ * New upstream version 2.0.3 ++ * Rediff patches ++ * Remove http proxy from d/rules to allow localhost connections ++ * Use the packaged MathJax ++ ++ -- Ole Streicher Tue, 19 Dec 2017 11:35:47 +0100 ++ ++python-astropy (2.0.2-2) unstable; urgency=medium ++ ++ * Push Standards-Version to 4.1.2. Change remaining URLs to use https ++ * Otherwise unchanged upload for python3.6 transition. Closes: #883403 ++ ++ -- Ole Streicher Tue, 05 Dec 2017 11:16:34 +0100 ++ ++python-astropy (2.0.2-1) unstable; urgency=medium ++ ++ * New upstream version 2.0.2 ++ * Rediff patches ++ * Push Standards-Version to 4.1.0. No changes needed. ++ * Shorten message to compare for recent h5py. ++ * Rebuiold against current Python versions. Closes: #875317 ++ ++ -- Ole Streicher Mon, 11 Sep 2017 20:39:28 +0200 ++ ++python-astropy (2.0.1-2) unstable; urgency=medium ++ ++ * Changing parametrized tests pytest 3.2.0 compatible ++ * Change astropy home URL to https ++ * Push standards-version to 4.0.1. No changes needed. ++ * Adjust several dependency versions ++ * Reimplement reportinfo() in doctestplus extension (Closes: #871995) ++ ++ -- Ole Streicher Thu, 17 Aug 2017 09:53:02 +0200 ++ ++python-astropy (2.0.1-1) unstable; urgency=low ++ ++ * Change upstream GPG key to Brigitta Sipocz ++ * New upstream version 2.0.1 ++ ++ -- Ole Streicher Mon, 31 Jul 2017 09:36:34 +0200 ++ ++python-astropy (2.0-2) unstable; urgency=low ++ ++ * Re-disable test_socketblocker (see upstream #4193). ++ ++ -- Ole Streicher Thu, 13 Jul 2017 09:19:57 +0200 ++ ++python-astropy (2.0-1) unstable; urgency=low ++ ++ * New upstream version 2.0. Switch back to unstable ++ * Rediff patches ++ * Re-enable sphinx build ++ * Update d/changelog. Change copyright of debian files to BSD-3-Clause ++ ++ -- Ole Streicher Mon, 10 Jul 2017 10:21:30 +0200 ++ ++python-astropy (2.0~rc1-1) experimental; urgency=low ++ ++ * New upstream release candidate 2.0~rc1 ++ * Rediff patches ++ * Temporarily re-enable almost all test to see if they are fixed ++ * Temporarily disable sphinx build ++ ++ -- Ole Streicher Wed, 28 Jun 2017 08:38:02 +0200 ++ ++python-astropy (1.3.3-1) unstable; urgency=low ++ ++ [ Leo Singer ] ++ * Enable Matplotlib tests ++ * Add build dependency on h5py to enable related unit tests ++ * Qualify dependency on pytest >= 2.7.0 because the unit tests ++ make use of parameterize ids as a callable, a feature that was ++ added in that version. See also: ++ https://docs.pytest.org/en/latest/changelog.html#id156 ++ ++ [ Ole Streicher ] ++ * New upstream version 1.3.3 ++ * Rediff patches ++ * Push Standards-Version to 4.0.0. No changes needed ++ ++ -- Ole Streicher Tue, 20 Jun 2017 20:58:21 +0200 ++ ++python-astropy (1.3-8) unstable; urgency=medium ++ ++ * Switch to unstable. Closes: #852550 ++ * Revert unrelated "Improved detection of ascii fast_reader in non-fast ++ parsers" ++ ++ -- Ole Streicher Wed, 25 Jan 2017 16:17:26 +0100 ++ ++python-astropy (1.3-8~exp2) experimental; urgency=medium ++ ++ * Fix pytest section, finally re-enabling doctests ++ ++ -- Ole Streicher Thu, 19 Jan 2017 17:27:30 +0100 ++ ++python-astropy (1.3-8~exp1) experimental; urgency=medium ++ ++ * Switch to experimental for some tests ++ * Try to fix doctest failures ++ * Improved detection of ascii fast_reader in non-fast parsers ++ ++ -- Ole Streicher Thu, 19 Jan 2017 09:57:22 +0100 ++ ++python-astropy (1.3-7) unstable; urgency=medium ++ ++ * Allow stderr in all tests ++ ++ -- Ole Streicher Sun, 15 Jan 2017 14:35:17 +0100 ++ ++python-astropy (1.3-6) unstable; urgency=medium ++ ++ * Override missing-build-dependency-for-dh_-command ++ * Add python-astropy-affiliated to suggestions ++ * Add pytest to package dependencies ++ * Fix default value for remote_data option. Closes: #849501 ++ * Remove wcslib 4.24 compatibility property. Closes: #844525 ++ ++ -- Ole Streicher Sat, 14 Jan 2017 11:28:01 +0100 ++ ++python-astropy (1.3-5) unstable; urgency=medium ++ ++ * Manually add dependencies for external packages ++ ++ -- Ole Streicher Thu, 12 Jan 2017 22:51:46 +0100 ++ ++python-astropy (1.3-4) unstable; urgency=medium ++ ++ * Mark doc package as Multi-Arch: foreign as suggested by Multiarch hinter ++ * Remove wcsaxes suggestions since this is now part of astropy ++ * Use external modules instead of convenience copies. Closes: #849502 ++ * Temporarily disable doctests (not working with pytest 3.0.5) ++ * Remove explicite dh_strip_nondeterminism ++ ++ -- Ole Streicher Thu, 12 Jan 2017 12:17:23 +0100 ++ ++python-astropy (1.3-3) unstable; urgency=medium ++ ++ * Ensure NUMPY_LT_1_12 works for beta prerelease. Closes: #849271 ++ ++ -- Ole Streicher Thu, 29 Dec 2016 09:52:44 +0100 ++ ++python-astropy (1.3-2) unstable; urgency=low ++ ++ * Disable TestDisplayWorldCoordinate.test_cube_coords to fix FTBFS on MIPS ++ ++ -- Ole Streicher Fri, 23 Dec 2016 17:58:24 +0100 ++ ++python-astropy (1.3-1) unstable; urgency=low ++ ++ * New upstream version 1.3 ++ * Switch back to unstable ++ * Rediff patches ++ ++ -- Ole Streicher Fri, 23 Dec 2016 15:13:46 +0100 ++ ++python-astropy (1.3~rc1-1) experimental; urgency=low ++ ++ * Add python3-pkg-resources to astropy-tools dependencies. Closes: #839746 ++ * Disable failing VO SSL test to avoid FTBFS with recent Python release. ++ Closes: #844984 ++ * New upstream version 1.3~rc1 ++ * Rediff patches ++ * Re-enable WCS.all_world2pix test (should be fixed now) ++ ++ -- Ole Streicher Tue, 13 Dec 2016 09:44:29 +0100 ++ ++python-astropy (1.2.1-1) unstable; urgency=low ++ ++ * New upstream version ++ ++ -- Ole Streicher Thu, 23 Jun 2016 09:48:06 +0200 ++ ++python-astropy (1.2-1) unstable; urgency=low ++ ++ * New upstream version. Switch back to unstable ++ ++ -- Ole Streicher Mon, 20 Jun 2016 15:10:14 +0200 ++ ++python-astropy (1.2~rc1-3) experimental; urgency=low ++ ++ * Re-enable unfixed yet tests ++ ++ -- Ole Streicher Thu, 16 Jun 2016 14:06:19 +0200 ++ ++python-astropy (1.2~rc1-2) experimental; urgency=low ++ ++ * Temporarily disable all xfail marks ++ ++ -- Ole Streicher Tue, 14 Jun 2016 21:32:33 +0200 ++ ++python-astropy (1.2~rc1-1) experimental; urgency=low ++ ++ * New upstream RC. Switch to experimental ++ * Install Python 3 versions of the scripts ++ * Push Standards-Version to 3.9.8. No changes needed ++ ++ -- Ole Streicher Sun, 12 Jun 2016 10:32:16 +0200 ++ ++python-astropy (1.1.2-1) unstable; urgency=low ++ ++ * Add ASCL-Id ++ * New upstream version ++ * Fix cfitsio related tests. Closes: #816715 ++ ++ -- Ole Streicher Fri, 11 Mar 2016 10:54:46 +0100 ++ ++python-astropy (1.1.1-3) unstable; urgency=medium ++ ++ * Fix for newer pytest. Closes: #812648 ++ * Fix for wcslib 5.13 ++ * Fix for known test issue with new numpy ++ * Push standards-version to 3.9.7. No changes needed. ++ * Adjust VCS entries in d/control ++ ++ -- Ole Streicher Sun, 14 Feb 2016 15:09:01 +0100 ++ ++python-astropy (1.1.1-2) unstable; urgency=low ++ ++ * Fix dependency of python-astropy-utils on python-astropy ++ * Finally fix test failure ++ * Switch back to unstable since bugfix is approved upstream ++ ++ -- Ole Streicher Thu, 14 Jan 2016 23:06:52 +0100 ++ ++python-astropy (1.1.1-1~exp1) experimental; urgency=low ++ ++ * New upstream version ++ * Depend python-astropy-utils on python-astropy of the same version. ++ Closes: #807834 ++ * Revert astropy.wcs to 1.1 to workaround test failure ++ * Switch to experimental since WCS seems to be buggy ++ ++ -- Ole Streicher Thu, 14 Jan 2016 11:14:05 +0100 ++ ++python-astropy (1.1-1) unstable; urgency=low ++ ++ * New upstream version ++ * Switch back to unstable ++ ++ -- Ole Streicher Sat, 12 Dec 2015 10:02:22 +0100 ++ ++python-astropy (1.1~rc2-1) experimental; urgency=low ++ ++ * New upstream RC version ++ ++ -- Ole Streicher Tue, 08 Dec 2015 09:29:29 +0100 ++ ++python-astropy (1.1~rc1-1) experimental; urgency=low ++ ++ * New upstream RC version ++ ++ -- Ole Streicher Tue, 24 Nov 2015 21:09:40 +0100 ++ ++python-astropy (1.1~b1-1) experimental; urgency=low ++ ++ * New upstream beta version ++ * [Martin Pitt] Ignore stderr for python3 test to avoid failing on ++ the ResourceWarning stderr message. Closes: #803068 ++ ++ -- Ole Streicher Fri, 16 Oct 2015 08:58:30 +0200 ++ ++python-astropy (1.0.5-2) unstable; urgency=low ++ ++ * Fix FTBS on i386 ++ ++ -- Ole Streicher Thu, 08 Oct 2015 15:44:51 +0200 ++ ++python-astropy (1.0.5-1) unstable; urgency=low ++ ++ * New upstream version, providing Python-3.5 compatibility. Closes: #800727 ++ * Limit wcslib-dev version to pre-5 releases ++ ++ -- Ole Streicher Tue, 06 Oct 2015 13:26:14 +0200 ++ ++python-astropy (1.0.4-1) unstable; urgency=low ++ ++ * New upstream version ++ * Re-enable dh_strip_nondeterminism override. See #791574 for details. ++ ++ -- Ole Streicher Thu, 27 Aug 2015 10:32:44 +0200 ++ ++python-astropy (1.0.3-3) unstable; urgency=low ++ ++ * Extend Suggests, and build/test-depend on scipy for more extended tests ++ * Fix conflicts/replaces of astropy-utils with pyfits-utils. Closes: #790530 ++ * Temporarily remove dh_strip_nondeterminism ++ * Override image-file-in-usr-lib lintian ++ ++ -- Ole Streicher Thu, 16 Jul 2015 10:46:32 +0200 ++ ++python-astropy (1.0.3-2) unstable; urgency=low ++ ++ * Fix FTBS with hurd-i386 ++ ++ -- Ole Streicher Wed, 24 Jun 2015 10:38:18 +0200 ++ ++python-astropy (1.0.3-1) unstable; urgency=low ++ ++ * New upstream version ++ ++ -- Ole Streicher Sun, 07 Jun 2015 17:55:56 +0200 ++ ++python-astropy (1.0.2-1) unstable; urgency=low ++ ++ * New upstream version. ++ * Create upstream/metadata with bibliographic information ++ * Create debci control file ++ * New binary package astropy-utils. Conflicts with pyfits-utils. ++ * Package png files as well. Closes: #783573 ++ * switch back to unstable ++ ++ -- Ole Streicher Thu, 16 Apr 2015 22:15:02 +0200 ++ ++python-astropy (1.0-1~exp) experimental; urgency=low ++ ++ * New upstream version. ++ ++ -- Ole Streicher Thu, 19 Feb 2015 09:09:44 +0100 ++ ++python-astropy (1.0~rc2-1) experimental; urgency=medium ++ ++ * New upstream release candidate ++ ++ -- Ole Streicher Thu, 12 Feb 2015 09:26:56 +0100 ++ ++python-astropy (1.0~rc1-3) experimental; urgency=low ++ ++ * Fix last FTBS on Hurd ++ ++ -- Ole Streicher Thu, 05 Feb 2015 21:41:57 +0100 ++ ++python-astropy (1.0~rc1-2) experimental; urgency=low ++ ++ * Fix FTBS on several platforms ++ * Disable failing tests (temporartily) ++ ++ -- Ole Streicher Sun, 01 Feb 2015 11:13:52 +0100 ++ ++python-astropy (1.0~rc1-1) experimental; urgency=low ++ ++ * New upstream release candidate ++ ++ -- Ole Streicher Wed, 28 Jan 2015 09:17:42 +0100 ++ ++python-astropy (0.4.2-2) unstable; urgency=medium ++ ++ * Don't set defalt SSL protocol in vo/samp/client.py. Closes: #775780 ++ ++ -- Ole Streicher Mon, 19 Jan 2015 21:07:18 +0100 ++ ++python-astropy (0.4.2-1) unstable; urgency=low ++ ++ * New upstream release. ++ * Build-depend on libcfitsio-dev instead of libcfitsio3-dev. Closes: #761716 ++ * Upgrade to Standards-Version 3.9.6 (no changes needed) ++ ++ -- Ole Streicher Wed, 24 Sep 2014 14:49:35 +0200 ++ ++python-astropy (0.4.1+dfsg2-1) unstable; urgency=low ++ ++ * Remove astropy-helper and use external dependency. Closes: #761055 ++ * Support numpy 1.9. Closes: #761392 ++ * Update uploaders email address ++ ++ -- Ole Streicher Sun, 14 Sep 2014 13:50:29 +0200 ++ ++python-astropy (0.4.1+dfsg-1) unstable; urgency=low ++ ++ * New upstream version ++ * Exclude precompiled files from source tarball ++ ++ -- Ole Streicher Sun, 10 Aug 2014 10:22:07 +0200 ++ ++python-astropy (0.4-4) unstable; urgency=low ++ ++ * build-depend on wcslib >= 4.23. Closes: #755485 ++ ++ -- Ole Streicher Tue, 22 Jul 2014 17:22:16 +0200 ++ ++python-astropy (0.4-3) unstable; urgency=low ++ ++ * Revert build-depends-indep since it does not work yet. ++ ++ -- Ole Streicher Fri, 18 Jul 2014 16:50:55 +0200 ++ ++python-astropy (0.4-2) unstable; urgency=low ++ ++ * Fix locale on build ++ ++ -- Ole Streicher Fri, 18 Jul 2014 09:16:16 +0200 ++ ++python-astropy (0.4-1) unstable; urgency=low ++ ++ * New upstream version ++ ++ -- Ole Streicher Wed, 16 Jul 2014 20:21:39 +0200 ++ ++python-astropy (0.4~rc2-3) experimental; urgency=low ++ ++ * Convert from python-support to dh_python ++ ++ -- Ole Streicher Mon, 14 Jul 2014 09:46:47 +0200 ++ ++python-astropy (0.4~rc2-2) experimental; urgency=low ++ ++ * Fix FTBS on powerpc, s390 ++ ++ -- Ole Streicher Sun, 13 Jul 2014 18:56:28 +0200 ++ ++python-astropy (0.4~rc2-1) experimental; urgency=low ++ ++ * New upstream prerelease ++ ++ -- Ole Streicher Sat, 12 Jul 2014 18:51:26 +0200 ++ ++python-astropy (0.4~rc1-2) experimental; urgency=low ++ ++ * Fix FTBS on powerpc and s390x ++ ++ -- Ole Streicher Wed, 09 Jul 2014 13:16:06 +0200 ++ ++python-astropy (0.4~rc1-1) experimental; urgency=low ++ ++ * New upstream prerelease ++ * Adjust watch file for prerelease ++ ++ -- Ole Streicher Mon, 07 Jul 2014 16:07:05 +0200 ++ ++python-astropy (0.3.2-3) unstable; urgency=low ++ ++ * Fix checksum calculation and test on 32-bit ++ ++ -- Ole Streicher Sat, 17 May 2014 17:05:58 +0200 ++ ++python-astropy (0.3.2-2) unstable; urgency=low ++ ++ * Mark known failures as xfail. ++ * Change maintainer and VCS location to debian-astro ++ ++ -- Ole Streicher Wed, 14 May 2014 14:47:35 +0200 ++ ++python-astropy (0.3.2-1) unstable; urgency=low ++ ++ * New upstream version. Closes: #743554 ++ * Don't repack since all sources are included now ++ ++ -- Ole Streicher Wed, 14 May 2014 09:21:18 +0200 ++ ++python-astropy (0.3.1+dfsg-1) unstable; urgency=low ++ ++ * New upstream version ++ ++ -- Ole Streicher Thu, 06 Mar 2014 11:40:55 +0100 ++ ++python-astropy (0.3+dfsg-3) unstable; urgency=low ++ ++ * Re-integrate 0.3-6 fixes which were left out by another mistake :-) ++ ++ -- Ole Streicher Fri, 24 Jan 2014 11:31:26 +0100 ++ ++python-astropy (0.3+dfsg-2) unstable; urgency=low ++ ++ * Re-integrate 0.3-5 fixes which were left out by mistake ++ ++ -- Ole Streicher Fri, 24 Jan 2014 11:11:46 +0100 ++ ++python-astropy (0.3+dfsg-1) unstable; urgency=low ++ ++ * Remove sourceless files jqery*.js. Closes: #735770 ++ ++ -- Ole Streicher Fri, 24 Jan 2014 09:43:27 +0100 ++ ++python-astropy (0.3-6) unstable; urgency=low ++ ++ * Fix another FTBS causes on python-3.4. ++ ++ -- Ole Streicher Thu, 16 Jan 2014 16:27:55 +0100 ++ ++python-astropy (0.3-5) unstable; urgency=low ++ ++ * Include upstream fixes to build on python-3.4. Closes: #734293 ++ * Upgrade to Standards-Version 3.9.5 (no changes needed) ++ ++ -- Ole Streicher Wed, 15 Jan 2014 09:57:05 +0100 ++ ++python-astropy (0.3-4) unstable; urgency=low ++ ++ * Mark known s390 failures as xfail. ++ ++ -- Ole Streicher Fri, 20 Dec 2013 10:43:16 +0100 ++ ++python-astropy (0.3-3) unstable; urgency=low ++ ++ * Fix vo_test.py for big endian. ++ ++ -- Ole Streicher Tue, 10 Dec 2013 11:23:38 +0100 ++ ++python-astropy (0.3-2) unstable; urgency=low ++ ++ * Fix doctest and mark other known test failures on big endian until ++ they get fixed upstream. ++ ++ -- Ole Streicher Mon, 09 Dec 2013 14:23:04 +0100 ++ ++python-astropy (0.3-1) unstable; urgency=low ++ ++ * New upstream version. ++ * Remove legacy packages that are no longer supported upstream. ++ ++ -- Ole Streicher Sat, 30 Nov 2013 12:56:34 +0100 ++ ++python-astropy (0.2.5-1) unstable; urgency=low ++ ++ * New upstream version. ++ ++ -- Ole Streicher Sun, 27 Oct 2013 18:29:01 +0100 ++ ++python-astropy (0.2.4-3) unstable; urgency=low ++ ++ * Fix "Conflicts" of python3-astropy-legacy. Closes: #719770 ++ ++ -- Ole Streicher Thu, 15 Aug 2013 14:33:37 +0200 ++ ++python-astropy (0.2.4-2) unstable; urgency=low ++ ++ * Enable python3 packages ++ ++ -- Ole Streicher Mon, 05 Aug 2013 21:04:23 +0200 ++ ++python-astropy (0.2.4-1) unstable; urgency=low ++ ++ * New upstream version. ++ ++ -- Ole Streicher Fri, 26 Jul 2013 17:41:26 +0200 ++ ++python-astropy (0.2.3-2~1) experimental; urgency=low ++ ++ * Fix FTBS on MIPS and MIPSEL ++ ++ -- Ole Streicher Fri, 21 Jun 2013 16:31:15 +0200 ++ ++python-astropy (0.2.3-1) unstable; urgency=low ++ ++ * New upstream version; incorporates all previous patches ++ ++ -- Ole Streicher Fri, 07 Jun 2013 14:40:05 +0200 ++ ++python-astropy (0.2.1-1) unstable; urgency=low ++ ++ * Fix FTBS (unit test failure) on HURD ++ * Change distribution to unstable ++ ++ -- Ole Streicher Tue, 30 Apr 2013 10:36:01 +0200 ++ ++python-astropy (0.2.1-1~exp6) experimental; urgency=low ++ ++ * Fix FTBS (unit test failure) on MIPS ++ ++ -- Ole Streicher Fri, 26 Apr 2013 09:57:59 +0200 ++ ++python-astropy (0.2.1-1~exp5) experimental; urgency=low ++ ++ * Fix FTBS (unit test failure) on bigendian machines ++ ++ -- Ole Streicher Mon, 22 Apr 2013 19:37:00 +0200 ++ ++python-astropy (0.2.1-1~exp4) experimental; urgency=low ++ ++ * Fix FTBS (unit test failure) on Hurd ++ ++ -- Ole Streicher Sun, 14 Apr 2013 18:39:00 +0200 ++ ++python-astropy (0.2.1-1~exp3) experimental; urgency=low ++ ++ * Suggest optional packages ++ ++ -- Ole Streicher Sun, 14 Apr 2013 12:17:00 +0200 ++ ++python-astropy (0.2.1-1~exp2) experimental; urgency=low ++ ++ * increase test verbosity to catch bigendian FTBS ++ ++ -- Ole Streicher Wed, 10 Apr 2013 16:21:00 +0200 ++ ++python-astropy (0.2.1-1~exp1) experimental; urgency=low ++ ++ * New upstream release ++ * Infrastructure to build python3 packages (but py3 still disabled) ++ * Fix FTBS: set a writeable HOME + MPLCONFIGDIR ++ ++ -- Ole Streicher Thu, 10 Apr 2013 09:10:00 +0200 ++ ++python-astropy (0.2~b2-1) experimental; urgency=low ++ ++ * Initial release. (Closes: #678168) ++ ++ -- Ole Streicher Wed, 30 Jan 2013 10:00:00 +0100 diff --cc debian/clean index 0000000,0000000..c5de8e8 new file mode 100644 --- /dev/null +++ b/debian/clean @@@ -1,0 -1,0 +1,24 @@@ ++astropy/astropy.cfg ++astropy/convolution/boundary_extend.c ++astropy/convolution/boundary_fill.c ++astropy/convolution/boundary_none.c ++astropy/convolution/boundary_wrap.c ++astropy/cython_version.py ++astropy/io/ascii/cparser.c ++astropy/modeling/src/wcsconfig.h ++astropy/table/_np_utils.c ++astropy/time/erfa_time.c ++astropy/units/format/generic_lextab.py ++astropy/units/format/generic_parsetab.py ++astropy/version.py ++astropy/wcs/include/astropy_wcs/wcsconfig.h ++astropy/wcs/include/docstrings.h ++astropy/wcs/include/wcsconfig.h ++astropy/wcs/src/docstrings.c ++astropy/extern/configobj/* ++astropy/extern/ply/* ++astropy/extern/six/* ++astropy/extern/js/* ++astropy/extern/css/* ++astropy/extern/pytest.py ++docs/api/* diff --cc debian/compat index 0000000,0000000..ec63514 new file mode 100644 --- /dev/null +++ b/debian/compat @@@ -1,0 -1,0 +1,1 @@@ ++9 diff --cc debian/control index 0000000,0000000..5fc4c3c new file mode 100644 --- /dev/null +++ b/debian/control @@@ -1,0 -1,0 +1,155 @@@ ++Source: python-astropy ++Maintainer: Debian Astronomy Maintainers ++Uploaders: Ole Streicher ++Section: python ++Priority: optional ++Build-Depends: cython, ++ cython3, ++ debhelper (>= 9), ++ dh-python, ++ graphviz, ++ libcfitsio-dev | libcfitsio3-dev, ++ liberfa-dev (>= 1.1.0), ++ libexpat1-dev, ++ libjs-jquery, ++ libjs-jquery-datatables, ++ libjs-mathjax, ++ pkg-config, ++ python-all-dev (>= 2.7~), ++ python-astropy-helpers (>= 1.1~), ++ python-configobj, ++ python-h5py, ++ python-jinja2, ++ python-matplotlib, ++ python-nose, ++ python-numpy (>= 1.7), ++ python-ply (>= 3.5), ++ python-pytest (>= 3.1), ++ python-pytest-mpl, ++ python-scipy, ++ python-setuptools (>= 0.6.4), ++ python-six (>= 1.10.0), ++ python-yaml, ++ python3-all-dev, ++ python3-astropy-helpers (>= 1.1~), ++ python3-configobj, ++ python3-h5py, ++ python3-jinja2, ++ python3-matplotlib, ++ python3-nose, ++ python3-numpy (>= 1:1.7), ++ python3-ply (>= 3.5), ++ python3-pytest (>= 3.1), ++ python3-pytest-mpl, ++ python3-scipy, ++ python3-setuptools (>= 0.6.4), ++ python3-six (>= 1.10.0), ++ python3-sphinx (>= 1.3), ++ python3-yaml, ++ wcslib-dev (>= 5.8), ++ zlib1g-dev ++Standards-Version: 4.1.2 ++Vcs-Browser: https://anonscm.debian.org/cgit/debian-astro/packages/python-astropy.git ++Vcs-Git: https://anonscm.debian.org/git/debian-astro/packages/python-astropy.git ++Homepage: https://astropy.org ++X-Python-Version: >= 2.7 ++X-Python3-Version: >= 3.2 ++ ++Package: python-astropy ++Architecture: any ++Depends: python-configobj, ++ python-ply (>= 3.5), ++ python-pytest (>= 3.1), ++ python-six (>= 1.10.0), ++ ${misc:Depends}, ++ ${python:Depends}, ++ ${shlibs:Depends} ++Suggests: libxml2-utils, ++ python-astropy-affiliated, ++ python-astropy-doc, ++ python-beautifulsoup, ++ python-h5py, ++ python-matplotlib, ++ python-pandas, ++ python-scipy, ++ python-tz, ++ python-yaml ++Recommends: libjs-jquery, ++ libjs-jquery-datatables ++Description: Core functionality for performing astrophysics with Python ++ The astropy package contains core functionality and some common tools ++ needed for performing astronomy and astrophysics research with Python. ++ It can be extended by a number of "affiliated packages" that are ++ intended to work with the core package. ++ ++Package: python3-astropy ++Architecture: any ++Depends: python3-configobj, ++ python3-ply (>= 3.5), ++ python3-pytest (>= 3.1), ++ python3-six (>= 1.10.0), ++ ${misc:Depends}, ++ ${python3:Depends}, ++ ${shlibs:Depends} ++Suggests: libxml2-utils, ++ python-astropy-doc, ++ python3-astropy-affiliated, ++ python3-beautifulsoup, ++ python3-h5py, ++ python3-matplotlib, ++ python3-pandas, ++ python3-scipy, ++ python3-tz, ++ python3-yaml ++Recommends: libjs-jquery, ++ libjs-jquery-datatables ++Description: Core functionality for performing astrophysics with Python3 ++ The astropy package contains core functionality and some common tools ++ needed for performing astronomy and astrophysics research with Python3. ++ It can be extended by a number of "affiliated packages" that are ++ intended to work with the core package. ++ ++Package: python-astropy-doc ++Architecture: all ++Multi-Arch: foreign ++Section: doc ++Depends: ${misc:Depends}, ++ ${sphinxdoc:Depends} ++Description: Core functionality for performing astrophysics with Python (doc) ++ The astropy package contains core functionality and some common tools ++ needed for performing astronomy and astrophysics research with Python. ++ It can be extended by a number of "affiliated packages" that are ++ intended to work with the core package. ++ . ++ This package contains the package documentation. ++ ++Package: astropy-utils ++Architecture: all ++Section: science ++Depends: python3-astropy (<< ${source:Version}.1~), ++ python3-astropy (>= ${source:Version}), ++ python3-pkg-resources, ++ ${misc:Depends}, ++ ${python3:Depends} ++Breaks: fitscheck (<< 1:3.1.2-1~), ++ pyfits-utils (<<1:3.3-4~), ++ python-pyfits (<< 1:3.0.7-4~) ++Replaces: fitscheck (<< 1:3.1.2-1~), ++ pyfits-utils (<<1:3.3-4~), ++ python-pyfits (<< 1:3.0.7-4~) ++Description: Command line tools from astropy ++ The astropy package contains core functionality and some common tools ++ needed for performing astronomy and astrophysics research with Python. ++ . ++ This package contains the tools that come with astropy: ++ . ++ * fitscheck: Detect and fix FITS standards violations ++ * fits2bitmap: Create a bitmap file from a FITS image. ++ * fitsdiff: Compare two FITS image files and report the differences in ++ header keywords and data. ++ * fitsheader: Print the header(s) of one or more FITS file(s) to the ++ standard output in a human-readable format. ++ * samp_hub: SAMP Hub Server. ++ * volint: Check a VOTable file for compliance to the VOTable specification ++ * wcslint: Check the WCS keywords in a FITS file for compliance against ++ the standards diff --cc debian/copyright index 0000000,0000000..0f1d163 new file mode 100644 --- /dev/null +++ b/debian/copyright @@@ -1,0 -1,0 +1,97 @@@ ++Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ ++Upstream-Name: astropy ++Upstream-Author: The Astropy Developers ++Source: https://www.astropy.org/ ++ ++Files: * astropy/io/fits/* ++ astropy/extern/configobj/* ++ astropy/extern/js/jquery.dataTables.js ++Copyright: 2011-2017 Astropy Developers, ++ 2004-2005 Association of Universities for Research in Astronomy, ++ 2006 Enthought, Inc., ++ 2010-2011 Smithsonian Astrophysical Observatory, ++ 2003-2010 Michael Foord, Mark Andrews, Nicola Larosa, ++ 1995-2010 Jean-loup Gailly and Mark Adler, ++ 2001-2011 David M. Beazley (Dabeaz LLC) ++ 2008-2013 Allan Jardine ++ 2012-2017 Ole Streicher ++License: BSD-3-Clause ++ Redistribution and use in source and binary forms, with or without ++ modification, are permitted provided that the following conditions are met: ++ . ++ 1. Redistributions of source code must retain the above copyright ++ notice, this list of conditions and the following disclaimer. ++ . ++ 2. 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. ++ . ++ 3. Neither the name of AURA and its representatives nor the names ++ of the Smithsonian Astrophysical Observatory, Enthought Inc., Michael Foord, ++ the name of Voidspace, the names of its contributors, David Beazley, or ++ Dabeaz LLC, Allan Jardine nor SpryMedia, may not be used to endorse or ++ promote products derived from this software without specific prior ++ written permission. ++ . ++ THIS SOFTWARE IS PROVIDED BY ITS AUTHORS ``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 AURA 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. ++ ++Files: cextern/expat/* ++Copyright: 2001-2007 Expat maintainers, ++ 1998-2003 Thai Open Source Software Center Ltd and Clark Cooper ++ 2014 jQuery Foundation and other contributors ++License: Expat ++ Permission is hereby granted, free of charge, to any person obtaining a copy ++ of this software and associated documentation files (the "Software"), to deal ++ in the Software without restriction, includingwithout limitation the rights ++ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ++ copies of the Software, and to permit persons to whom the Software is ++ furnished to do so, subject to the following conditions: ++ . ++ The above copyright notice and this permission notice shall be included in ++ all copies or substantial portions of the Software. ++ . ++ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ++ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ++ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ++ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ++ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ++ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ++ SOFTWARE. ++ ++Files: cextern/wcslib/* ++Copyright: Copyright (C) 1995-2012, Mark Calabretta ++License: LGPL-3 ++ WCSLIB is free software: you can redistribute it and/or modify it under the ++ terms of the GNU Lesser General Public License as published by the Free ++ Software Foundation, either version 3 of the License, or (at your option) ++ any later version. ++ . ++ WCSLIB 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 Lesser General Public License for ++ more details. ++ . ++ On Debian systems, the full text of the GNU Lesser General Public ++ License version 3 can be found in the file ++ `/usr/share/common-licenses/LGPL-3'. ++ . ++ Correspondence concerning WCSLIB may be directed to: ++ Internet email: mcalabre@atnf.csiro.au ++ Postal address: Dr. Mark Calabretta ++ Australia Telescope National Facility, CSIRO ++ PO Box 76 ++ Epping NSW 1710 ++ AUSTRALIA ++Comment: Note that these files are not used in the package build process, so ++ the copyright information is included here only as a reference. diff --cc debian/fits2bitmap.1 index 0000000,0000000..8d044cc new file mode 100644 --- /dev/null +++ b/debian/fits2bitmap.1 @@@ -1,0 -1,0 +1,58 @@@ ++.TH FITS2BITMAP 1 "April 2015" "fits2bitmap" "astropy 1.0.2" ++.SH NAME ++fits2bitmap \- Create a bitmap file from a FITS image. ++.SH DESCRIPTION ++usage: fits2bitmap [\-h] [\-e hdu] [\-o filename] [\-\-scale SCALE] [\-\-power POWER] ++.IP ++[\-\-asinh_a ASINH_A] [\-\-min_cut MIN_CUT] [\-\-max_cut MAX_CUT] ++[\-\-min_percent MIN_PERCENT] [\-\-max_percent MAX_PERCENT] ++[\-\-percent PERCENT] [\-\-cmap colormap_name] ++filename [filename ...] ++.SS "positional arguments:" ++.TP ++filename ++Path to one or more FITS files to convert ++.SS "optional arguments:" ++.TP ++\fB\-h\fR, \fB\-\-help\fR ++show this help message and exit ++.TP ++\fB\-e\fR hdu, \fB\-\-ext\fR hdu ++specify the HDU extension number or name ++.TP ++\fB\-o\fR filename ++Filename for the output image (Default is a PNG file ++with the same name as the FITS file) ++.TP ++\fB\-\-scale\fR SCALE ++Type of image scaling ("linear", "sqrt", "power", ++"log", or "asinh") ++.TP ++\fB\-\-power\fR POWER ++Power index for "power" scaling ++.TP ++\fB\-\-asinh_a\fR ASINH_A ++The value in normalized image where the asinh curve ++transitions from linear to logarithmic behavior (used ++only for "asinh" scaling) ++.TP ++\fB\-\-min_cut\fR MIN_CUT ++The pixel value of the minimum cut level ++.TP ++\fB\-\-max_cut\fR MAX_CUT ++The pixel value of the maximum cut level ++.TP ++\fB\-\-min_percent\fR MIN_PERCENT ++The percentile value used to determine the minimum cut ++level ++.TP ++\fB\-\-max_percent\fR MAX_PERCENT ++The percentile value used to determine the maximum cut ++level ++.TP ++\fB\-\-percent\fR PERCENT ++The percentage of the image values used to determine ++the pixel values of the minimum and maximum cut levels ++.TP ++\fB\-\-cmap\fR colormap_name ++matplotlib color map name diff --cc debian/fitscheck.1 index 0000000,0000000..3406852 new file mode 100644 --- /dev/null +++ b/debian/fitscheck.1 @@@ -1,0 -1,0 +1,71 @@@ ++.TH fitscheck 1 "April 2015" "fitscheck" "astropy 1.0.2" ++.SH NAME ++fitscheck \- script to detect and fix FITS standards violations ++.SH SYNOPSIS ++.B fitscheck ++[\fIOPTION\fR]... [\fIFILE\fR]... ++.SH DESCRIPTION ++.PP ++\fBfitscheck\fR is a command line script based on pyfits for verifying ++and updating the CHECKSUM and DATASUM keywords of FITS files. ++\fBitscheck\fR can also detect and often fix other FITS standards ++violations. \fBfitscheck\fR facilitates re\-writing the non-standard ++checksums originally generated by pyfits with standard checksums which ++will interoperate with cfitsio. ++.PP ++\fBfitscheck\fR will refuse to write new checksums if the checksum keywords ++are missing or their values are bad. Use \fB\-\-force\fR to write new ++checksums regardless of whether or not they currently exist or pass. ++Use \fB\-\-ignore-missing\fR to tolerate missing checksum keywords without ++comment. ++.SH OPTIONS ++.TP ++\fB\-h\fR, \fB\-\-help\fR ++Display terse usage information (help). ++.TP ++\fB\-k\fR [\fIstandard\fR | \fInonstandard\fR | \fIeither\fR | \fInone\fR], \fB\-\-checksum\fR=[\fIstandard\fR | \fInonstandard\fR | \fIeither\fR | \fInone\fR] ++Choose FITS checksum mode or none. Defaults to standard. ++.TP ++\fB\-w\fR, \fB\-\-write\fR ++Write out file checksums and/or FITS compliance fixes. ++.TP ++\fB\-f\fR, \fB\-\-force\fR ++Do file update even if original checksum was bad. ++.TP ++\fB\-c\fR, \fB\-\-compliance\fR ++Do FITS compliance checking, fix if possible. ++.TP ++\fB\-i\fR, \fB\-\-ignore\-missing\fR ++Ignore missing checksums. ++.TP ++\fB\-v\fR, \fB\-\-verbose\fR ++Generate extra output. ++.SH "EXAMPLES" ++.B "% fitscheck --checksum either --write *.fits" ++.br ++Verify and update checksums, tolerating non-standard checksums, updating to standard checksum. ++ ++.B "% fitscheck --write --force *.fits" ++.br ++Write new checksums, even if existing checksums are bad or missing. ++ ++.B "% fitscheck --compliance *.fits" ++.br ++Verify standard checksums and FITS compliance without changing the files. ++ ++.B "% fitscheck --checksum nonstandard *.fits" ++.br ++Verify original nonstandard checksums only. ++ ++.B "% fitscheck --checksum none --compliance --write *.fits" ++.br ++Only check and fix compliance problems, ignoring checksums. ++ ++.B "% fitscheck *.fits" ++.br ++Verify standard interoperable checksums. ++ ++.B "% fitscheck --checksum none --write *.fits" ++.br ++Delete checksum keywords. ++ diff --cc debian/fitsdiff.1 index 0000000,0000000..51d9c4a new file mode 100644 --- /dev/null +++ b/debian/fitsdiff.1 @@@ -1,0 -1,0 +1,87 @@@ ++.TH fitsdiff 1 "April 2015" "fitsdiff" "astropy 1.0.2" ++.SH NAME ++fitsdiff \- compare two FITS image files and report the differences in header keywords and data. ++.SH SYNOPSIS ++.B fitsdiff ++[\fIOPTION\fR]... \fIFILE1\fR \fIFILE2\fR ++.SH DESCRIPTION ++.PP ++\fBfitsdiff\fR is a command line script based on pyfits to compare two ++FITS image files and report the differences in header keywords and data. ++.PP ++\fIFILE1\fR and \fIFILE2\fR are the two files to be compared. They may also be ++wild cards, in such cases, they must be enclosed by double or single quotes, or ++they may be directory names. If both are directory names, all files in each of ++the directories will be included; if only one is directory name, then the ++directory name will be prefixed to the file name(s) specified by the other ++argument. For example: ++.TP ++.B "% fitsdiff ""*.fits"" ""/machine/data1"" ++.PP ++will compare all FITS files in the current directory to the corresponding files ++in the directory \fI/machine/data1\fR. ++.PP ++If the two files are identical within the specified conditions, it will report ++"No difference is found." If the value(s) of \fI-c\fR and \fI-k\fR takes the form ++\fI\@filename\fR, list is in the text file \fIfilename\fR, and each line in that text ++file contains one keyword. ++.PP ++\fBfitsdiff\fR commandline arguments can also be set using the environment variable ++\fIFITSDIFF_SETTINGS\fR. If the \fIFITSDIFF_SETTINGS\fR environment variable is present, ++each argument present will override the corresponding argument on the ++commandline. This environment variable exists to make it easier to change the ++behavior of \fBfitsdiff\fR on a global level, such as in a set of regression tests. ++.SH GENERIC OPTIONS ++.TP ++\fB\-h\fR, \fB\-\-help\fR ++Display terse usage information (help). ++.TP ++\fB\-q\fR, \fB\-\-quiet\fR ++Produce no output and just return a status code. ++.TP ++\fB\-n\fR \fIINTEGER\fR, \fB\-\-num\-diffs\fR=\fIINTEGER\fR ++Max number of data differences (image pixel or table element) to report per extension (default 10). ++.TP ++\fB\-d\fR \fINUMBER\fR, \fB\-\-difference-tolerance\fR=\fINUMBER\fR ++The relative tolerance for comparison of two numbers, ++specifically two floating point numbers. This applies ++to data in both images and tables, and to floating ++point keyword values in headers (default 0.0). ++.TP ++\fB\-b\fR, \fB\-\-no\-ignore\-blanks\fR ++Don't ignore trailing blanks (whitespace) in string ++values. Otherwise trailing blanks both in header ++keywords/values and in table column values) are not ++treated as significant i.e. without this option 'ABC ' and 'ABC' are considered equivalent. ++.TP ++\fB\-\-no\-ignore\-blank\-cards\fR ++Don't ignore entirely blank cards in headers. Normally \fIfitsdiff\fR does not ++consider blank cards when comparing headers, but this will ensure that even blank ++cards match up. ++.TP ++\fB\-o\fR \fIFILE\fR, \fB\-\-output\-file\fR=\fIFILE\fR ++Output results to this file; otherwise results are printed to stdout. ++.SH "HEADER COMPARISON OPTIONS" ++.TP ++\fB\-k\fR \fIKEYWORDS\fR, \fB\-\-ignore\-keywords\fR=\fIKEYWORDS\fR ++Comma-separated list of keywords not to be compared. ++Keywords may contain wildcard patterns. To exclude ++all keywords, use "*"; make sure to have double or ++single quotes around the asterisk. ++.TP ++\fB\-c\fR \fIKEYWORDS\fR, \fB\-\-ignore\-comments\fR=\fIKEYWORDS\fR ++Comma-separated list of keywords whose comments will not be compared. ++Wildcards may be used as with \fI\-\-ignore-keywords\fR. ++.SH "TABLE COMPARISON OPTIONS" ++.TP ++\fB\-f\fR \fICOLUMNS\fR, \fB\-\-ignore\-fields\fR=\fICOLUMNS\fR ++Comma-separated list of fields (i.e. columns) not to be compared. ++All columns may be excluded using "*" as with \fI\-\-ignore-keywords\fR. ++.SH "EXAMPLES" ++.B "% fitsdiff -k filename,filtnam1 -n 5 -d 1.e-6 test1.fits test2" ++.br ++This command will compare files \fItest1.fits\fR and \fItest2.fits\fR, report maximum of 5 ++different pixels values per extension, only report data values larger than ++1.e-6 relative to each other, and will neglect the different values of ++keywords \fIFILENAME\fR and \fIFILTNAM1\fR (or their very existence). ++ diff --cc debian/fitsheader.1 index 0000000,0000000..4add989 new file mode 100644 --- /dev/null +++ b/debian/fitsheader.1 @@@ -1,0 -1,0 +1,36 @@@ ++.TH FITSHEADER 1 "April 2015" "fitsheader" "astropy 1.0.2" ++.SH NAME ++fitsheader \- Print the header(s) of a FITS file. ++.SH DESCRIPTION ++usage: fitsheader [\-h] [\-e HDU] [\-k KEYWORD] [\-t [FORMAT]] [\-c] ++.IP ++filename [filename ...] ++.PP ++Print the header(s) of a FITS file. Optional arguments allow the desired ++extension(s), keyword(s), and output format to be specified. Note that in the ++case of a compressed image, the decompressed header is shown by default. ++.SS "positional arguments:" ++.TP ++filename ++path to one or more files; wildcards are supported ++.SS "optional arguments:" ++.TP ++\fB\-h\fR, \fB\-\-help\fR ++show this help message and exit ++.TP ++\fB\-e\fR HDU, \fB\-\-extension\fR HDU ++specify the extension by name or number; this argument ++can be repeated to select multiple extensions ++.TP ++\fB\-k\fR KEYWORD, \fB\-\-keyword\fR KEYWORD ++specify a keyword; this argument can be repeated to ++select multiple keywords; also supports wildcards ++.TP ++\fB\-t\fR [FORMAT], \fB\-\-table\fR [FORMAT] ++print the header(s) in machine\-readable table format; ++the default format is "ascii.fixed_width" (can be ++"ascii.csv", "ascii.html", "ascii.latex", "fits", etc) ++.TP ++\fB\-c\fR, \fB\-\-compressed\fR ++for compressed image data, show the true header which ++describes the compression rather than the data diff --cc debian/fitsinfo.1 index 0000000,0000000..8b87dcb new file mode 100644 --- /dev/null +++ b/debian/fitsinfo.1 @@@ -1,0 -1,0 +1,31 @@@ ++.TH fitsinfo 1 "April 2015" "fitsdiff" "astropy 1.1" ++.SH NAME ++fitsinfo \- Print a summary of the HDUs in one or more FITS files(s) ++.SH SYNOPSIS ++.B fitsinfo ++\fIfilename\fR [\fIfilename\fR ...] ++.SH DESCRIPTION ++.PP ++\fBfitsinfo\fR is a command-line script based on astropy.io.fits for ++printing a summary of the HDUs in one or more FITS files(s) to the ++standard output. ++.SH EXAMPLES ++.PP ++Example usage of \fBfitsinfo\fR: ++.PP ++1. Print a summary of the HDUs in a FITS file: ++.PP ++ $ fitsinfo filename.fits ++ ++ Filename: filename.fits ++ No. Name Type Cards Dimensions Format ++ 0 PRIMARY PrimaryHDU 138 () ++ 1 SCI ImageHDU 61 (800, 800) int16 ++ 2 SCI ImageHDU 61 (800, 800) int16 ++ 3 SCI ImageHDU 61 (800, 800) int16 ++ 4 SCI ImageHDU 61 (800, 800) int16 ++.PP ++2. Print a summary of HDUs of all the FITS files in the current directory: ++.PP ++ $ fitsinfo *.fits ++. diff --cc debian/patches/Use-the-packaged-MathJax.patch index 0000000,0000000..e24b2e6 new file mode 100644 --- /dev/null +++ b/debian/patches/Use-the-packaged-MathJax.patch @@@ -1,0 -1,0 +1,20 @@@ ++From: Ole Streicher ++Date: Tue, 19 Dec 2017 11:34:49 +0100 ++Subject: Use the packaged MathJax ++ ++--- ++ astropy_helpers/astropy_helpers/sphinx/conf.py | 1 + ++ 1 file changed, 1 insertion(+) ++ ++diff --git a/astropy_helpers/astropy_helpers/sphinx/conf.py b/astropy_helpers/astropy_helpers/sphinx/conf.py ++index 0e77234..8eb29da 100644 ++--- a/astropy_helpers/astropy_helpers/sphinx/conf.py +++++ b/astropy_helpers/astropy_helpers/sphinx/conf.py ++@@ -148,6 +148,7 @@ extensions = [ ++ 'astropy_helpers.sphinx.ext.doctest', ++ 'astropy_helpers.sphinx.ext.changelog_links'] ++ +++mathjax_path = 'file:///usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML' ++ ++ if not on_rtd and LooseVersion(sphinx.__version__) < LooseVersion('1.4'): ++ extensions.append('sphinx.ext.pngmath') diff --cc debian/patches/disable_helper.patch index 0000000,0000000..a99a40b new file mode 100644 --- /dev/null +++ b/debian/patches/disable_helper.patch @@@ -1,0 -1,0 +1,21 @@@ ++From: Ole Streicher ++Date: Tue, 13 Dec 2016 09:41:39 +0100 ++Subject: Disable astropy-helpers copy ++ ++--- ++ setup.cfg | 2 +- ++ 1 file changed, 1 insertion(+), 1 deletion(-) ++ ++diff --git a/setup.cfg b/setup.cfg ++index 97cb44d..abd94da 100644 ++--- a/setup.cfg +++++ b/setup.cfg ++@@ -25,7 +25,7 @@ addopts = --pyargs -p no:warnings ++ bitmap = static/wininst_background.bmp ++ ++ [ah_bootstrap] ++-auto_use = True +++auto_use = False ++ ++ [flake8] ++ exclude = extern,*parsetab.py,*lextab.py diff --cc debian/patches/external_python_pkgs.patch index 0000000,0000000..ab75461 new file mode 100644 --- /dev/null +++ b/debian/patches/external_python_pkgs.patch @@@ -1,0 -1,0 +1,179 @@@ ++From: Ole Streicher ++Date: Thu, 12 Jan 2017 11:37:47 +0100 ++Subject: Use external python modules instead of convenience copies ++ ++--- ++ astropy/coordinates/angle_utilities.py | 2 +- ++ astropy/extern/configobj.py | 4 ++++ ++ astropy/extern/six.py | 2 +- ++ astropy/table/jsviewer.py | 14 ++++++++------ ++ astropy/table/tests/test_jsviewer.py | 6 +++--- ++ astropy/units/format/cds.py | 4 ++-- ++ astropy/units/format/generic.py | 4 ++-- ++ astropy/units/format/ogip.py | 4 ++-- ++ 8 files changed, 23 insertions(+), 17 deletions(-) ++ create mode 100644 astropy/extern/configobj.py ++ ++diff --git a/astropy/coordinates/angle_utilities.py b/astropy/coordinates/angle_utilities.py ++index cfa894e..bb8fb7d 100644 ++--- a/astropy/coordinates/angle_utilities.py +++++ b/astropy/coordinates/angle_utilities.py ++@@ -64,7 +64,7 @@ class _AngleParser(object): ++ ++ @classmethod ++ def _make_parser(cls): ++- from ..extern.ply import lex, yacc +++ from ply import lex, yacc ++ ++ # List of token names. ++ tokens = ( ++diff --git a/astropy/extern/configobj.py b/astropy/extern/configobj.py ++new file mode 100644 ++index 0000000..2815978 ++--- /dev/null +++++ b/astropy/extern/configobj.py ++@@ -0,0 +1,4 @@ +++# Wrapper to use installed validate and configobj modules +++from __future__ import absolute_import +++import validate +++import configobj ++diff --git a/astropy/extern/six.py b/astropy/extern/six.py ++index 5398fc0..fb3a30c 100644 ++--- a/astropy/extern/six.py +++++ b/astropy/extern/six.py ++@@ -13,7 +13,7 @@ _SIX_MIN_VERSION = StrictVersion('1.10.0') ++ # Update this to prevent Astropy from using its bundled copy of six ++ # (but only if some other version of at least _SIX_MIN_VERSION can ++ # be provided) ++-_SIX_SEARCH_PATH = ['astropy.extern.bundled.six', 'six'] +++_SIX_SEARCH_PATH = ['six'] ++ ++ ++ def _find_module(name, path=None): ++diff --git a/astropy/table/jsviewer.py b/astropy/table/jsviewer.py ++index 0ec7824..033dd43 100644 ++--- a/astropy/table/jsviewer.py +++++ b/astropy/table/jsviewer.py ++@@ -30,8 +30,8 @@ class Conf(_config.ConfigNamespace): ++ conf = Conf() ++ ++ ++-EXTERN_JS_DIR = abspath(join(dirname(extern.__file__), 'js')) ++-EXTERN_CSS_DIR = abspath(join(dirname(extern.__file__), 'css')) +++EXTERN_JS_DIR = '/usr/share/javascript' +++EXTERN_CSS_DIR = EXTERN_JS_DIR ++ ++ _SORTING_SCRIPT_PART_1 = """ ++ var astropy_sort_num = function(a, b) {{ ++@@ -134,22 +134,24 @@ class JSViewer(object): ++ @property ++ def jquery_urls(self): ++ if self._use_local_files: ++- return ['file://' + join(EXTERN_JS_DIR, 'jquery-3.1.1.min.js'), ++- 'file://' + join(EXTERN_JS_DIR, 'jquery.dataTables.min.js')] +++ return ['file://' + join(EXTERN_JS_DIR, 'jquery', 'jquery.min.js'), +++ 'file://' + join(EXTERN_JS_DIR, 'jquery-datatables', +++ 'jquery.dataTables.min.js')] ++ else: ++ return [conf.jquery_url, conf.datatables_url] ++ ++ @property ++ def css_urls(self): ++ if self._use_local_files: ++- return ['file://' + join(EXTERN_CSS_DIR, +++ return ['file://' + join(EXTERN_CSS_DIR, 'jquery-datatables', 'css', ++ 'jquery.dataTables.css')] ++ else: ++ return conf.css_urls ++ ++ def _jstable_file(self): ++ if self._use_local_files: ++- return 'file://' + join(EXTERN_JS_DIR, 'jquery.dataTables.min') +++ return 'file://' + join(EXTERN_JS_DIR, 'jquery-datatables', +++ 'jquery.dataTables.min') ++ else: ++ return conf.datatables_url[:-3] ++ ++diff --git a/astropy/table/tests/test_jsviewer.py b/astropy/table/tests/test_jsviewer.py ++index 51738e1..f95a99a 100644 ++--- a/astropy/table/tests/test_jsviewer.py +++++ b/astropy/table/tests/test_jsviewer.py ++@@ -146,9 +146,9 @@ def test_write_jsviewer_local(tmpdir): ++ table_id='test', ++ length='50', ++ display_length='10, 25, 50, 100, 500, 1000', ++- datatables_css_url='file://' + join(EXTERN_DIR, 'css', 'jquery.dataTables.css'), ++- datatables_js_url='file://' + join(EXTERN_DIR, 'js', 'jquery.dataTables.min.js'), ++- jquery_url='file://' + join(EXTERN_DIR, 'js', 'jquery-3.1.1.min.js') +++ datatables_css_url='file:///usr/share/javascript/jquery-datatables/css/jquery.dataTables.css', +++ datatables_js_url='file:///usr/share/javascript/jquery-datatables/jquery.dataTables.min.js', +++ jquery_url='file:///usr/share/javascript/jquery/jquery.min.js' ++ ) ++ with open(tmpfile) as f: ++ assert f.read().strip() == ref.strip() ++diff --git a/astropy/units/format/cds.py b/astropy/units/format/cds.py ++index e40c1cf..0d5e033 100644 ++--- a/astropy/units/format/cds.py +++++ b/astropy/units/format/cds.py ++@@ -78,7 +78,7 @@ class CDS(Base): ++ ++ @classmethod ++ def _make_lexer(cls): ++- from ...extern.ply import lex +++ from ply import lex ++ ++ tokens = cls._tokens ++ ++@@ -142,7 +142,7 @@ class CDS(Base): ++ `_. ++ """ ++ ++- from ...extern.ply import yacc +++ from ply import yacc ++ ++ tokens = cls._tokens ++ ++diff --git a/astropy/units/format/generic.py b/astropy/units/format/generic.py ++index 974ca25..7d40dfe 100644 ++--- a/astropy/units/format/generic.py +++++ b/astropy/units/format/generic.py ++@@ -103,7 +103,7 @@ class Generic(Base): ++ ++ @classmethod ++ def _make_lexer(cls): ++- from ...extern.ply import lex +++ from ply import lex ++ ++ tokens = cls._tokens ++ ++@@ -178,7 +178,7 @@ class Generic(Base): ++ formats, the only difference being the set of available unit ++ strings. ++ """ ++- from ...extern.ply import yacc +++ from ply import yacc ++ ++ tokens = cls._tokens ++ ++diff --git a/astropy/units/format/ogip.py b/astropy/units/format/ogip.py ++index e429407..e80e35a 100644 ++--- a/astropy/units/format/ogip.py +++++ b/astropy/units/format/ogip.py ++@@ -110,7 +110,7 @@ class OGIP(generic.Generic): ++ ++ @classmethod ++ def _make_lexer(cls): ++- from ...extern.ply import lex +++ from ply import lex ++ ++ tokens = cls._tokens ++ ++@@ -180,7 +180,7 @@ class OGIP(generic.Generic): ++ `_. ++ """ ++ ++- from ...extern.ply import yacc +++ from ply import yacc ++ ++ tokens = cls._tokens ++ diff --cc debian/patches/mark_known_failures.patch index 0000000,0000000..c67ebdc new file mode 100644 --- /dev/null +++ b/debian/patches/mark_known_failures.patch @@@ -1,0 -1,0 +1,49 @@@ ++From: Ole Streicher ++Date: Tue, 13 Dec 2016 09:41:39 +0100 ++Subject: Mark all known test failures as xfail. These failures have been ++ discussed with upstream. ++ ++--- ++ astropy/io/ascii/tests/test_c_reader.py | 8 ++++++-- ++ astropy/tests/tests/test_socketblocker.py | 2 ++ ++ 2 files changed, 8 insertions(+), 2 deletions(-) ++ ++diff --git a/astropy/io/ascii/tests/test_c_reader.py b/astropy/io/ascii/tests/test_c_reader.py ++index 83144e0..e49ef2e 100644 ++--- a/astropy/io/ascii/tests/test_c_reader.py +++++ b/astropy/io/ascii/tests/test_c_reader.py ++@@ -1055,7 +1055,9 @@ def test_int_out_of_range(parallel): ++ assert_table_equal(table, expected) ++ ++ ++-@pytest.mark.parametrize("parallel", [True, False]) +++@pytest.mark.parametrize("parallel", [ +++ pytest.param(True, marks=pytest.mark.xfail(reason="see https://github.com/astropy/astropy/issues/5693")), +++ False]) ++ def test_fortran_reader(parallel): ++ """ ++ Make sure that ascii.read() can read Fortran-style exponential notation ++@@ -1099,7 +1101,9 @@ def test_fortran_reader(parallel): ++ assert_table_equal(table, expected) ++ ++ ++-@pytest.mark.parametrize("parallel", [True, False]) +++@pytest.mark.parametrize("parallel", [ +++ pytest.param(True, marks=pytest.mark.xfail(reason="see https://github.com/astropy/astropy/issues/5693")), +++ False]) ++ def test_fortran_invalid_exp(parallel): ++ """ ++ Test Fortran-style exponential notation in the fast_reader with invalid ++diff --git a/astropy/tests/tests/test_socketblocker.py b/astropy/tests/tests/test_socketblocker.py ++index f1b1fdd..933277a 100644 ++--- a/astropy/tests/tests/test_socketblocker.py +++++ b/astropy/tests/tests/test_socketblocker.py ++@@ -69,6 +69,8 @@ def _square(x): ++ ++ ++ @pytest.mark.skipif('not PY3_4 or sys.platform == "win32" or sys.platform.startswith("gnu0")') +++# see https://github.com/astropy/astropy/issues/4193 +++@pytest.mark.skipif(True, reason="Blocks on Debian CI test") ++ def test_multiprocessing_forkserver(): ++ """ ++ Test that using multiprocessing with forkserver works. Perhaps diff --cc debian/patches/only_python3-binaries.patch index 0000000,0000000..82d2d27 new file mode 100644 --- /dev/null +++ b/debian/patches/only_python3-binaries.patch @@@ -1,0 -1,0 +1,22 @@@ ++From: Ole Streicher ++Date: Tue, 13 Dec 2016 09:41:39 +0100 ++Subject: Install the scripts only for the Python 3 version ++ ++--- ++ setup.py | 3 ++- ++ 1 file changed, 2 insertions(+), 1 deletion(-) ++ ++diff --git a/setup.py b/setup.py ++index b907611..5c4fc6e 100755 ++--- a/setup.py +++++ b/setup.py ++@@ -47,7 +47,8 @@ package_info['package_data'].setdefault('astropy', []).append('data/*') ++ # Add any necessary entry points ++ entry_points = {} ++ # Command-line scripts ++-entry_points['console_scripts'] = [ +++if sys.version_info[0] == 3: +++ entry_points['console_scripts'] = [ ++ 'fits2bitmap = astropy.visualization.scripts.fits2bitmap:main', ++ 'fitscheck = astropy.io.fits.scripts.fitscheck:main', ++ 'fitsdiff = astropy.io.fits.scripts.fitsdiff:main', diff --cc debian/patches/series index 0000000,0000000..cbc7bb3 new file mode 100644 --- /dev/null +++ b/debian/patches/series @@@ -1,0 -1,0 +1,5 @@@ ++disable_helper.patch ++only_python3-binaries.patch ++mark_known_failures.patch ++external_python_pkgs.patch ++Use-the-packaged-MathJax.patch diff --cc debian/python-astropy-doc.doc-base index 0000000,0000000..f3268a0 new file mode 100644 --- /dev/null +++ b/debian/python-astropy-doc.doc-base @@@ -1,0 -1,0 +1,11 @@@ ++Document: python-astropy ++Title: Astropy Documentation ++Author: The Astropy Collaboration. ++Section: Science/Astronomy ++Abstract: Astropy is a community-driven package intended to contain much of ++ the core functionality and some common tools needed for performing astronomy ++ and astrophysics with Python. ++ ++Format: HTML ++Index: /usr/share/doc/python-astropy-doc/html/index.html ++Files: /usr/share/doc/python-astropy-doc/html/ diff --cc debian/python-astropy-doc.docs index 0000000,0000000..4ecc793 new file mode 100644 --- /dev/null +++ b/debian/python-astropy-doc.docs @@@ -1,0 -1,0 +1,1 @@@ ++docs/_build/html diff --cc debian/python-astropy-doc.lintian-overrides index 0000000,0000000..f8d8445 new file mode 100644 --- /dev/null +++ b/debian/python-astropy-doc.lintian-overrides @@@ -1,0 -1,0 +1,5 @@@ ++# We store an extra license file since this is linked within the ++# HTML documentation. It seems to be better to keep this file than ++# to remove these links or to link to the machine-readable Debian ++# copyright file. ++extra-license-file usr/share/doc/python-astropy-doc/html/_sources/license.rst.txt diff --cc debian/python-astropy.install index 0000000,0000000..27f6a13 new file mode 100644 --- /dev/null +++ b/debian/python-astropy.install @@@ -1,0 -1,0 +1,1 @@@ ++usr/lib/python2*/dist-packages/astropy* diff --cc debian/python-astropy.lintian-overrides index 0000000,0000000..9bb56c0 new file mode 100644 --- /dev/null +++ b/debian/python-astropy.lintian-overrides @@@ -1,0 -1,0 +1,5 @@@ ++# The hardening is switched on, but does not cover all functions mentioned ++# in hardening-check. ++hardening-no-fortify-functions */astropy/utils/xml/_iterparser*.so ++# Python packages install all files into a common subdir by purpose. ++python-astropy: image-file-in-usr-lib diff --cc debian/python3-astropy.install index 0000000,0000000..9d13fec new file mode 100644 --- /dev/null +++ b/debian/python3-astropy.install @@@ -1,0 -1,0 +1,1 @@@ ++usr/lib/python3*/dist-packages/astropy* diff --cc debian/python3-astropy.lintian-overrides index 0000000,0000000..63604df new file mode 100644 --- /dev/null +++ b/debian/python3-astropy.lintian-overrides @@@ -1,0 -1,0 +1,5 @@@ ++# The hardening is switched on, but does not cover all functions mentioned ++# in hardening-check. ++hardening-no-fortify-functions */astropy/utils/xml/_iterparser*.* ++# Python packages install all files into a common subdir by purpose. ++python3-astropy: image-file-in-usr-lib diff --cc debian/rules index 0000000,0000000..ff845f8 new file mode 100755 --- /dev/null +++ b/debian/rules @@@ -1,0 -1,0 +1,62 @@@ ++#!/usr/bin/make -f ++ ++PYTHON2:=$(shell pyversions -vr) ++PYTHON3:=$(shell py3versions -vr) ++ ++# set the MPLCONFIGDIR to avoid writing into non writable location ++export HOME=$(CURDIR)/build ++export MPLCONFIGDIR=$(CURDIR)/build ++ ++# Use agg Matplotlib backend for testing on headless machines. ++export MPLBACKEND=agg ++ ++%: ++ dh $@ --with python2,python3,sphinxdoc ++ ++build-python%: ++ python$* setup.py build --use-system-libraries ++ ++# We need to build python2 first, since cython is currently only available for ++# python2, and we need cython to (re-) generate some of the C files. ++override_dh_auto_build: $(PYTHON2:%=build-python%) $(PYTHON3:%=build-python%) ++ #dh_auto_build ++ ++install-python%: ++ python$* setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb ++ ++override_dh_auto_install: $(PYTHON3:%=install-python%) ++ dh_auto_install ++ ++override_dh_auto_build: ++ dh_auto_build -- --use-system-libraries ++ ++override_dh_shlibdeps: ++ dh_shlibdeps ++ dh_numpy ++ dh_numpy3 ++ ++override_dh_installdocs-indep: ++ python3 setup.py build_docs ++ dh_installdocs ++ ++override_dh_sphinxdoc-arch: ++ # sphinxdoc is only needed on indep and does not work here. ++ ++override_dh_installchangelogs: ++ dh_installchangelogs docs/changelog.rst ++ ++override_dh_auto_clean: ++ dh_auto_clean ++ rm -rf build astropy.egg-info ++ rm -rf astropy_helpers-*.egg ++ rm -rf docs/_build docs/_generated ++ ++ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) ++test-python%: ++ python$* setup.py test -vv --args "-vv --mpl" ++ ++override_dh_auto_test: $(PYTHON2:%=test-python%) $(PYTHON3:%=test-python%) ++endif ++ ++override_dh_strip_nondeterminism: ++ dh_strip_nondeterminism -Xinvalid.dat.gz diff --cc debian/samp_hub.1 index 0000000,0000000..7938881 new file mode 100644 --- /dev/null +++ b/debian/samp_hub.1 @@@ -1,0 -1,0 +1,130 @@@ ++.TH SAMP_HUB 1 "April 2015" "samp_hub" "astropy 1.0.2" ++.SH NAME ++samp_hub \- SAMP Hub Server ++.SH DESCRIPTION ++usage: samp_hub [\-h] [\-k CODE] [\-d ADDR] [\-p PORT] [\-f FILE] [\-w] ++.TP ++[\-P SIZE] [\-t SECONDS] [\-c SECONDS] [\-L LEVEL] [\-O FILE] ++[\-l LABEL] [\-m] [\-s] [\-C FILE] [\-K FILE] ++[\-\-cert\-reqs STRING] [\-\-ca\-certs FILE] ++[\-\-ssl\-version STRING] ++.SS "optional arguments:" ++.TP ++\fB\-h\fR, \fB\-\-help\fR ++show this help message and exit ++.TP ++\fB\-k\fR CODE, \fB\-\-secret\fR CODE ++custom secret code. ++.TP ++\fB\-d\fR ADDR, \fB\-\-addr\fR ADDR ++listening address (or IP). ++.TP ++\fB\-p\fR PORT, \fB\-\-port\fR PORT ++listening port number. ++.TP ++\fB\-f\fR FILE, \fB\-\-lockfile\fR FILE ++custom lockfile. ++.TP ++\fB\-w\fR, \fB\-\-no\-web\-profile\fR ++run the Hub disabling the Web Profile. ++.TP ++\fB\-P\fR SIZE, \fB\-\-pool\-size\fR SIZE ++the socket connections pool size. ++.SS "Timeout group:" ++.IP ++Special options to setup hub and client timeouts.It contains a set of ++special options that allows one to set up the Hub and clients inactivity ++timeouts, that is the Hub or client inactivity time interval after which ++the Hub shuts down or unregisters the client. Notification of ++samp.hub.disconnect MType is sent to the clients forcibly unregistered for ++timeout expiration. ++.TP ++\fB\-t\fR SECONDS, \fB\-\-timeout\fR SECONDS ++set the Hub inactivity timeout in SECONDS. By default ++it is set to 0, that is the Hub never expires. ++.TP ++\fB\-c\fR SECONDS, \fB\-\-client\-timeout\fR SECONDS ++set the client inactivity timeout in SECONDS. By ++default it is set to 0, that is the client never ++expires. ++.SS "Logging options:" ++.IP ++Additional options which allow one to customize the logging output. By default ++the SAMP Hub uses the standard output and standard error devices to print ++out INFO level logging messages. Using the options here below it is ++possible to modify the logging level and also specify the output files ++where redirect the logging messages. ++.TP ++\fB\-L\fR LEVEL, \fB\-\-log\-level\fR LEVEL ++set the Hub instance log level (OFF, ERROR, WARNING, ++INFO, DEBUG). ++.TP ++\fB\-O\fR FILE, \fB\-\-log\-output\fR FILE ++set the output file for the log messages. ++.SS "Advanced group:" ++.IP ++Advanced options addressed to facilitate administrative tasks and allow ++new non\-standard Hub behaviors. In particular the \fB\-\-label\fR options is used ++to assign a value to hub.label token and is used to assign a name to the ++Hub instance. The very special \fB\-\-multi\fR option allows one to start a Hub in ++multi\-instance mode. Multi\-instance mode is a non\-standard Hub behavior ++that enables multiple contemporaneous running Hubs. Multi\-instance hubs ++place their non\-standard lock\-files within the /.samp\-1 ++directory naming them making use of the format: samp\-hub\-\-, where ++PID is the Hub process ID while ID is an internal ID (integer). ++.TP ++\fB\-l\fR LABEL, \fB\-\-label\fR LABEL ++assign a LABEL to the Hub. ++.TP ++\fB\-m\fR, \fB\-\-multi\fR ++run the Hub in multi\-instance mode generating a custom ++lockfile with a random name. ++.SS "SSL group:" ++.IP ++Additional options to launch the Hub instance using the Secure Sockets ++Layer (HTTPS). The \fB\-\-key\-file\fR and \fB\-\-cert\-file\fR parameters specify optional ++files which contain a certificate to be used to identify the local side of ++the connection. Often the private key is stored in the same file as the ++certificate; in this case, only the \fB\-\-cert\-file\fR parameter need be passed. ++If the private key is stored in a separate file, both parameters must be ++used. If the private key is stored in the certificate file, it should come ++before the first certificate in the certificate chain. ++.TP ++\fB\-s\fR, \fB\-\-https\fR ++run the Hub using the Secure Sockets Layer. ++.TP ++\fB\-C\fR FILE, \fB\-\-cert\-file\fR FILE ++set the certificate file. ++.TP ++\fB\-K\fR FILE, \fB\-\-key\-file\fR FILE ++set the key file. By default this option is ignored, ++assuming that the private key is stored in the ++certificate file. ++.TP ++\fB\-\-cert\-reqs\fR STRING ++this option specifies whether a certificate is ++required from the client side of the connection, and ++whether it will be validated if provided. It must be ++one of the three values NONE (certificates ignored, ++default), OPTIONAL (not required, but validated if ++provided), or REQUIRED (required and validated). If ++the value of this option is not NONE, then the \fB\-\-cacerts\fR option must point to a file of CA certificates. ++.TP ++\fB\-\-ca\-certs\fR FILE ++the \fB\-\-ca\-certs\fR file contains a set of concatenated ++"certification authority" certificates, which are used ++to validate certificates passed from the client end of ++the connection. ++.TP ++\fB\-\-ssl\-version\fR STRING ++the \fB\-\-ssl\-version\fR option specifies which version of ++the SSL protocol to use. Typically, the server chooses ++a particular protocol version, and the client must ++adapt to the server's choice. Most of the versions are ++not interoperable with the other versions. If not ++specified the default SSL version is taken from the ++default in the Python standard `ssl` library for the ++version of Python that is installed. Other SSL ++protocol versions are: SSLv2, SSLv3, SSLv23, TLSv1, ++TLSv1_1, TLSv1_2 but not all of them may be available ++on all versions of Python. diff --cc debian/source/format index 0000000,0000000..163aaf8 new file mode 100644 --- /dev/null +++ b/debian/source/format @@@ -1,0 -1,0 +1,1 @@@ ++3.0 (quilt) diff --cc debian/source/lintian-overrides index 0000000,0000000..dbcec4a new file mode 100644 --- /dev/null +++ b/debian/source/lintian-overrides @@@ -1,0 -1,0 +1,10 @@@ ++# We don't use the convinience copies of wcslib, so we can ++# safely ignore their lintian warnings. ++outdated-autotools-helper-file cextern/wcslib/config/config.* ++# See https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-astropy.html: ++# Actually, it shouldn't be necessary for python-astropy to build-depends ++# on dh-strip-nondeterminism. The override_dh_strip_nondeterminism ++# target in debian/rules will be ignored unless debhelper actually ++# tries to call dh_strip_nondeterminism, in which case debhelper itself ++# would depend on dh-strip-nondeterminism. (Andrew Ayer) ++missing-build-dependency-for-dh_-command diff --cc debian/tests/control index 0000000,0000000..9b943c1 new file mode 100644 --- /dev/null +++ b/debian/tests/control @@@ -1,0 -1,0 +1,7 @@@ ++Tests: python-astropy ++Depends: python-astropy, python-scipy ++Restrictions: allow-stderr ++ ++Tests: python3-astropy ++Depends: python3-astropy, python3-scipy ++Restrictions: allow-stderr diff --cc debian/tests/python-astropy index 0000000,0000000..cb52670 new file mode 100755 --- /dev/null +++ b/debian/tests/python-astropy @@@ -1,0 -1,0 +1,8 @@@ ++#!/usr/bin/env python ++ ++import os ++os.chdir(os.getenv('ADTTMP', '/tmp')) ++ ++import astropy ++res = astropy.test() ++exit(res) diff --cc debian/tests/python3-astropy index 0000000,0000000..8451992 new file mode 100755 --- /dev/null +++ b/debian/tests/python3-astropy @@@ -1,0 -1,0 +1,9 @@@ ++#!/usr/bin/env python3 ++ ++import os ++os.chdir(os.getenv('ADTTMP', '/tmp')) ++ ++import astropy ++res = astropy.test() ++exit(res) ++ diff --cc debian/upstream/metadata index 0000000,0000000..c30a0ec new file mode 100644 --- /dev/null +++ b/debian/upstream/metadata @@@ -1,0 -1,0 +1,28 @@@ ++ASCL-Id: 1304.002 ++Bug-Database: https://github.com/astropy/astropy/issues ++Contact: Astronomical Python mailing list ++Name: astropy ++Reference: ++ author: > ++ Astropy Collaboration, and Robitaille, T.P. and Tollerud, E.J. and ++ Greenfield, P. and Droettboom, M. and Bray, E. and Aldcroft, T. and ++ Davis, M. and Ginsburg, A. and Price-Whelan, A.M. and Kerzendorf, W.E. and ++ Conley, A. and Crighton, N. and Barbary, K. and Muna, D. and ++ Ferguson, H. and Grollier, F. and Parikh, M.M. and Nair, P.H. and ++ Unther, H.M. and Deil, C. and Woillez, J. and Conseil, S. and ++ Kramer, R. and Turner, J.E.H. and Singer, L. and Fox, R. and ++ Weaver, B.A. and Zabalza, V. and Edwards, Z.I. and Azalee Bostroem, K. and ++ Burke, D.J. and Casey, A.R. and Crawford, S.M. and Dencheva, N. and ++ Ely, J. and Jenness, T. and Labrie, K. and Lim, P.L. and ++ Pierfederici, F. and Pontzen, A. and Ptak, A. and Refsdal, B. and ++ Servillat, M. and Streicher, O. ++ title: "Astropy: A community Python package for astronomy" ++ journal: Astronomy & Astrophysics ++ volume: 558 ++ number: A33 ++ pages: A33 ++ doi: 10.1051/0004-6361/201322068 ++ year: 2013 ++ URL: http://adsabs.harvard.edu/abs/2013A%26A...558A..33A ++ eprint: http://www.aanda.org/articles/aa/pdf/2013/10/aa22068-13.pdf ++Repository: https://github.com/astropy/astropy/ diff --cc debian/upstream/signing-key.asc index 0000000,0000000..0e79f18 new file mode 100644 --- /dev/null +++ b/debian/upstream/signing-key.asc @@@ -1,0 -1,0 +1,63 @@@ ++-----BEGIN PGP PUBLIC KEY BLOCK----- ++ ++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 ++=0KPF ++-----END PGP PUBLIC KEY BLOCK----- diff --cc debian/volint.1 index 0000000,0000000..4f2cf54 new file mode 100644 --- /dev/null +++ b/debian/volint.1 @@@ -1,0 -1,0 +1,13 @@@ ++.TH VOLINT 1 "April 2015" "volint" "astropy 1.0.2" ++.SH NAME ++volint \- Check a VOTable file for compliance to the VOTable specification ++.SH DESCRIPTION ++usage: volint [\-h] filename ++.SS "positional arguments:" ++.TP ++filename ++Path to VOTable file to check ++.SS "optional arguments:" ++.TP ++\fB\-h\fR, \fB\-\-help\fR ++show this help message and exit diff --cc debian/watch index 0000000,0000000..857c156 new file mode 100644 --- /dev/null +++ b/debian/watch @@@ -1,0 -1,0 +1,3 @@@ ++version=3 ++opts=uversionmangle=s/(rc|a|b|c)/~$1/;s/\.(post)/+$1/,pgpsigurlmangle=s/$/.asc/ \ ++https://pypi.debian.net/astropy/astropy-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) diff --cc debian/wcslint.1 index 0000000,0000000..c715ff8 new file mode 100644 --- /dev/null +++ b/debian/wcslint.1 @@@ -1,0 -1,0 +1,13 @@@ ++.TH WCSLINT 1 "April 2015" "wcslint" "astropy 1.0.2" ++.SH NAME ++wcslint \- Check the WCS keywords in a FITS file for compliance against the standards ++.SH DESCRIPTION ++usage: wcslint [\-h] filename ++.SS "positional arguments:" ++.TP ++filename ++Path to FITS file to check ++.SS "optional arguments:" ++.TP ++\fB\-h\fR, \fB\-\-help\fR ++show this help message and exit