[python-pywcs] 01/01: Set standard version to 3.9.5 and debhelper compat to 9

Ole Streicher olebole-guest at moszumanska.debian.org
Tue Mar 18 15:14:33 UTC 2014


This is an automated email from the git hooks/post-receive script.

olebole-guest pushed a commit to branch debian
in repository python-pywcs.

commit e74f4f963e9e4c252e2b470312013c3a5b2972e8
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Tue Mar 18 16:14:13 2014 +0100

    Set standard version to 3.9.5 and debhelper compat to 9
---
 debian/changelog                       |  7 +++++++
 debian/compat                          |  2 +-
 debian/control                         | 13 +++++++++----
 debian/patches/fix-format-errors.patch | 13 +++++++++++++
 debian/patches/series                  |  1 +
 debian/rules                           |  2 +-
 debian/source/lintian-overrides        |  2 ++
 7 files changed, 34 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2ba5f52..98cdadb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+python-pywcs (1.11-2) unstable; urgency=low
+
+  * Set standard version to 3.9.5. No changes needed.
+  * Set debhelper compat to 9
+
+ -- Ole Streicher <debian at liska.ath.cx>  Tue, 18 Mar 2014 16:05:03 +0100
+
 python-pywcs (1.11-1) unstable; urgency=low
 
   * New upstream version 1.11-4.8.2
diff --git a/debian/compat b/debian/compat
index 7f8f011..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+9
diff --git a/debian/control b/debian/control
index aeb8e00..20056ad 100644
--- a/debian/control
+++ b/debian/control
@@ -3,10 +3,15 @@ Section: python
 Priority: optional
 Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
 Uploaders: Ole Streicher <debian at liska.ath.cx>
-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
+Build-Depends: debhelper (>= 9),
+               python-all-dev (>= 2.6.6-3~),
+               python-nose,
+               python-numpy,
+               python-pyfits,
+               python-support,
+               wcslib-dev (>= 4.7)
 XS-Python-Version: >= 2.6
-Standards-Version: 3.9.3
+Standards-Version: 3.9.5
 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
@@ -16,7 +21,7 @@ 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 
+ 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
diff --git a/debian/patches/fix-format-errors.patch b/debian/patches/fix-format-errors.patch
new file mode 100644
index 0000000..dae14a9
--- /dev/null
+++ b/debian/patches/fix-format-errors.patch
@@ -0,0 +1,13 @@
+Author: Ole Streicher <debian at liska.ath.cx>
+Description: Fix format security error of printf
+--- a/src/wcslib_tabprm_wrap.c
++++ b/src/wcslib_tabprm_wrap.c
+@@ -184,7 +184,7 @@
+ 
+   ignored = tabprt(self->x);
+ 
+-  printf(wcsprintf_buf());
++  printf("%s", wcsprintf_buf());
+ 
+   Py_INCREF(Py_None);
+   return Py_None;
diff --git a/debian/patches/series b/debian/patches/series
index 6788023..c37dc7e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 pywcs-unbundle.patch
+fix-format-errors.patch
diff --git a/debian/rules b/debian/rules
index 0121741..73fbbb7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 %:
-	dh $@ 
+	dh $@ --with python2
 
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 override_dh_auto_test:
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..b937821
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,2 @@
+# Don't complain about files in an unused convienience copy
+python-pywcs source: outdated-autotools-helper-file

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-pywcs.git



More information about the debian-science-commits mailing list