[pytango] 01/03: upload to unstable

Frédéric-Emmanuel Picca picca at moszumanska.debian.org
Sat Feb 13 18:27:00 UTC 2016


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

picca pushed a commit to branch master
in repository pytango.

commit 1cd9ad97ea95b6839146401391cf10fba704409d
Author: Picca Frédéric-Emmanuel <picca at debian.org>
Date:   Thu Sep 3 23:42:40 2015 +0200

    upload to unstable
---
 debian/changelog                                   |  9 ++++
 debian/control                                     |  2 +-
 .../0001-fix-compilation-with-python3.4.patch      | 57 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 4 files changed, 68 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index e66654b..eb5404a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+pytango (8.1.6-1) unstable; urgency=medium
+
+  * debian/control
+    - Build-deps: libtango8-dev (>= 8.1.2c+dfsg-7~) (Closes: #797284)
+  * debian/patch
+    - 0001-fix-compilation-with-python3.4.patch
+
+ -- Picca Frédéric-Emmanuel <picca at debian.org>  Thu, 03 Sep 2015 18:23:34 +0100
+
 pytango (8.1.6-1~exp1) experimental; urgency=medium
 
   * Imported Upstream version 8.1.6
diff --git a/debian/control b/debian/control
index 4ae4c06..7ece0be 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Section: science
 Priority: extra
 Build-Depends: debhelper (>= 9),
                libboost-python-dev,
-               libtango8-dev,
+               libtango8-dev (>= 8.1.2c+dfsg-7~),
                pkg-config,
                python-all-dev,
                python-numpy,
diff --git a/debian/patches/0001-fix-compilation-with-python3.4.patch b/debian/patches/0001-fix-compilation-with-python3.4.patch
new file mode 100644
index 0000000..adacea1
--- /dev/null
+++ b/debian/patches/0001-fix-compilation-with-python3.4.patch
@@ -0,0 +1,57 @@
+From: =?utf-8?q?Picca_Fr=C3=A9d=C3=A9ric-Emmanuel?= <picca at debian.org>
+Date: Sun, 13 Sep 2015 11:21:38 +0200
+Subject: fix compilation with python3.4
+
+---
+ doc/conf.py | 10 +++++-----
+ 1 file changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/doc/conf.py b/doc/conf.py
+index fcd04e0..e63d389 100644
+--- a/doc/conf.py
++++ b/doc/conf.py
+@@ -259,7 +259,7 @@ todo_include_todos = True
+ 
+ def copy_spaces(origin):
+     r = ''
+-    for x in xrange(len(origin)):
++    for x in range(len(origin)):
+         if origin[x] in (' ', '\t'):
+             r += origin[x]
+         else:
+@@ -362,7 +362,7 @@ def search_ONLY_signature(name, text):
+ 
+     signatureLine = None
+ 
+-    for ln in xrange(len(lines)):
++    for ln in range(len(lines)):
+         line = lines[ln]
+ 
+         if len(line.strip()) and line[0] != ' ':
+@@ -405,7 +405,7 @@ _with_only_one_signature_methods = {}
+ def __reformat_lines(app, what, name, obj, options, lines):
+     global _with_only_one_signature_methods
+     if what != 'method':
+-        for ln in xrange(len(lines)):
++        for ln in range(len(lines)):
+             lines[ln] = parse_bullet_with_type(lines[ln])
+         return
+ 
+@@ -415,7 +415,7 @@ def __reformat_lines(app, what, name, obj, options, lines):
+ 
+     toinsert.append((0, ""))
+     
+-    for ln in xrange(len(lines)):
++    for ln in range(len(lines)):
+         line = lines[ln]
+ 
+         if len(line) and line[0] != ' ':
+@@ -487,7 +487,7 @@ def __reformat_lines(app, what, name, obj, options, lines):
+         else:
+             lines[ln] = spaces + ":" + control_word + ": " + spl[1]
+ 
+-    for x in xrange(len(toinsert)-1, -1, -1):
++    for x in range(len(toinsert)-1, -1, -1):
+         pos, txt = toinsert[x]
+         lines.insert(pos, txt)
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..5f8a1f4
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-fix-compilation-with-python3.4.patch

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



More information about the debian-science-commits mailing list