debian/0000755000000000000000000000000011763205250007167 5ustar debian/changelog0000644000000000000000000000055711763205250011050 0ustar python-pywcs (1.11-1) unstable; urgency=low * New upstream version 1.11-4.8.2 * Rebuild using pysupport * Set DM-Upload-Allowed: yes -- Ole Streicher Mon, 04 Jun 2012 08:30:00 +0200 python-pywcs (1.10-1) unstable; urgency=low * New package. Closes: #641635 -- Ole Streicher Mon, 17 Oct 2011 11:54:00 +0100 debian/control0000644000000000000000000000214211763205250010571 0ustar Source: python-pywcs Section: python Priority: optional Maintainer: Debian Science Maintainers Uploaders: Ole Streicher DM-Upload-Allowed: yes Build-Depends: python-all-dev (>= 2.6.6-3~), debhelper (>= 7.0.50~), python-support, python-nose, wcslib-dev (>= 4.7), python-pyfits, python-numpy XS-Python-Version: >= 2.6 Standards-Version: 3.9.3 Homepage: https://trac6.assembla.com/astrolib Vcs-Git: git://git.debian.org/git/debian-science/packages/python-pywcs.git Vcs-Browser: http://git.debian.org/?p=debian-science/packages/python-pywcs.git Package: python-pywcs Architecture: any Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends} Provides: ${python:Provides} Description: Set of routines for handling the FITS WCS standard This is a thin wrapper around the high- and mid-level interfaces of Dr. Mark Calabretta's WCSLIB for handling the World Coordinate System. . In addition, there are extensions (written in C) to support Spitzer Simple Imaging Polynomial (SIP) convention keywords and Paper IV table lookup distortion. debian/compat0000644000000000000000000000000211657412305010370 0ustar 7 debian/patches/0000755000000000000000000000000011763205250010616 5ustar debian/patches/series0000644000000000000000000000002511657412305012033 0ustar pywcs-unbundle.patch debian/patches/pywcs-unbundle.patch0000644000000000000000000000303511763205250014617 0ustar Author: Ole Streicher Description: Use the wcslib provided by the Debian system instead of the convienience copy in the upstream package. --- a/defsetup.py 2011-03-17 15:27:00.000000000 +0100 +++ b/defsetup.py 2011-03-17 16:11:45.738319057 +0100 @@ -282,22 +282,21 @@ PYWCS_EXTENSIONS = [ Extension('pywcs._pywcs', - WCSFILES + PYWCS_SOURCES, + PYWCS_SOURCES, include_dirs = [numpy_include, - join(srcroot, WCSLIBC), - WCSLIBC, + '/usr/include/wcslib', join(srcroot, "src") ], define_macros=define_macros, undef_macros=undef_macros, extra_compile_args=extra_compile_args, extra_link_args=extra_link_args, - libraries=libraries + libraries=libraries + ['wcs', 'm'] ) ] -pkg = ["pywcs", "pywcs.tests"] +pkg = ["pywcs" ] setupargs = { 'version' : VERSION, @@ -309,11 +308,7 @@ 'ext_modules' : PYWCS_EXTENSIONS, 'data_files' : [ ( 'pywcs/include', ['src/*.h']), - ( 'pywcs/include/wcslib', [ WCSLIBC + '/*.h'] ), - ( 'pywcs/tests/maps', ['lib/pywcs/tests/maps/*.hdr']), - ( 'pywcs/tests/spectra', ['lib/pywcs/tests/spectra/*.hdr']), - ( 'pywcs/tests/data', ['lib/pywcs/tests/data/*.hdr']) ], - 'package_dir' : { 'pywcs' : 'lib/pywcs', 'pywcs.tests' : 'lib/pywcs/tests'}, + 'package_dir' : { 'pywcs' : 'lib/pywcs'}, } debian/watch0000644000000000000000000000016411763205250010221 0ustar # watch control file for uscan version=3 http://trac.assembla.com/astrolib .+/pywcs-(.+)-.+\.tar\.gz debian uupdate debian/pyversions0000644000000000000000000000000511763205250011326 0ustar 2.6- debian/rules0000755000000000000000000000025211763205250010246 0ustar #!/usr/bin/make -f %: dh $@ override_dh_auto_test: python setup.py build_ext -i && nosetests lib/pywcs/tests/test.py override_dh_shlibdeps: dh_shlibdeps dh_numpy debian/clean0000644000000000000000000000004711763205250010175 0ustar lib/svn_version.py lib/pywcs/_pywcs.so debian/copyright0000644000000000000000000000571611763205250011133 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: pywcs Upstream-Author: Michael Droettboom Source: http://stsdas.stsci.edu/astrolib/ Files: * Copyright: Copyright (C) 2008 Association of Universities for Research in Astronomy (AURA) License: BSD 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. The name of AURA and its representatives may not be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY AURA ``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: debian/* Copyright: 2011 Ole Streicher License: BSD See above. Files: wcslib/* Copyright: Copyright (C) 1995-2011, Mark Calabretta License: LGPL-3 WCSLIB 4.7 - an implementation of the FITS WCS standard. Copyright (C) 1995-2011, Mark Calabretta . 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 . Note that these files are not used in the package build process, so the copyright information is included here only as a reference. debian/source/0000755000000000000000000000000011763205250010467 5ustar debian/source/format0000644000000000000000000000001411657412305011700 0ustar 3.0 (quilt)