[SCM] Set of routines for handling the FITS WCS standard branch, master, updated. upstream/1.10-7-gd024957

Ole Streicher debian at liska.ath.cx
Wed Nov 30 09:38:21 UTC 2011


The following commit has been merged in the master branch:
commit 4ba8e31d665ae58286fd6d6f8fca76c3414177ce
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Fri Nov 4 10:46:58 2011 +0100

    Initial debian packaging files

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..27787f2
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-pywcs (1.10-1) unstable; urgency=low
+
+  * New package. Closes: #641635
+
+ -- Ole Streicher <debian at liska.ath.cx>  Mon, 17 Oct 2011 11:54:00 +0100
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..10effb6
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,2 @@
+lib/svn_version.py
+lib/_pywcs.so
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..6931c83
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,20 @@
+Source: python-pywcs
+Section: python
+Priority: extra
+Maintainer: Ole Streicher <debian at liska.ath.cx>
+Build-Depends: python-all-dev (>= 2.6.6-3~), debhelper (>= 7.0.50~), 
+ python-nose, wcslib-dev (>= 4.7), python-numpy, python-pyfits
+Standards-Version: 3.9.2
+Homepage: https://trac6.assembla.com/astrolib
+
+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.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..6c191d8
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,39 @@
+Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=202
+Upstream-Name: pywcs
+Upstream-Author: Michael Droettboom <mdroe at stsci.edu>
+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 <debian at liska.ath.cx>
+License: BSD
+ See above.
diff --git a/debian/patches/pywcs-unbundle.patch b/debian/patches/pywcs-unbundle.patch
new file mode 100644
index 0000000..db20d0a
--- /dev/null
+++ b/debian/patches/pywcs-unbundle.patch
@@ -0,0 +1,43 @@
+Author: Ole Streicher <debian at liska.ath.cx>
+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
+@@ -256,21 +256,20 @@
+ 
+ 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,
+-              libraries=libraries
++              libraries=libraries + ['wcs', 'm']
+               )
+     ]
+ 
+-pkg = ["pywcs", "pywcs.tests"]
++pkg = ["pywcs" ]
+ 
+ setupargs = {
+     'version' :     VERSION,
+@@ -282,10 +281,7 @@
+     'ext_modules' : PYWCS_EXTENSIONS,
+     'data_files' : [
+         ( 'pywcs/include', ['src/*.h']),
+-        ( 'pywcs/include/wcslib', [ WCSLIBC + '/*.h'] ),
+-        ( 'pywcs/tests/maps', ['lib/tests/maps/*.fits']),
+-        ( 'pywcs/tests/spectra', ['lib/tests/spectra/*.fits'])
+         ],
+-    'package_dir' : {pkg[0]: 'lib', pkg[1]: 'lib/tests'},
++    'package_dir' : {pkg[0]: 'lib'},
+ }
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..6788023
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+pywcs-unbundle.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..bf799bf
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@ --with python2
+
+override_dh_auto_test:
+	python setup.py build_ext -i && nosetests tests/test.py
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..ca69c1f
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,2 @@
+# Don't complain about ancient files in an unused convienience copy
+python-pywcs source: ancient-autotools-helper-file
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..1995225
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+# watch control file for uscan
+version=3
+http://trac.assembla.com/astrolib .+/pywcs-(.+)-.+\.tar\.gz debian uupdate

-- 
Set of routines for handling the FITS WCS standard



More information about the debian-science-commits mailing list