Merge lp:~bkerensa/ubuntu/precise/hellanzb/fix-for-957323 into lp:ubuntu/precise/hellanzb

Proposed by Benjamin Kerensa
Status: Merged
Merge reported by: Benjamin Kerensa
Merged at revision: not available
Proposed branch: lp:~bkerensa/ubuntu/precise/hellanzb/fix-for-957323
Merge into: lp:ubuntu/precise/hellanzb
Diff against target: 53 lines (+32/-0)
3 files modified
debian/changelog (+7/-0)
debian/patches/008-Twisted_11.1.0_compat.dpatch (+24/-0)
debian/patches/00list (+1/-0)
To merge this branch: bzr merge lp:~bkerensa/ubuntu/precise/hellanzb/fix-for-957323
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: mp+123358@code.launchpad.net
To post a comment you must log in.
14. By Benjamin Kerensa

Incorporated debian/patches/008-Twisted_11.1.0_compat to work with Python Twisted 11.1.0

15. By Benjamin Kerensa

Adjusted Version

Revision history for this message
Brian Murray (brian-murray) wrote :

I've uploaded this to precise-proposed thanks!

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2010-07-16 12:13:35 +0000
+++ debian/changelog 2012-09-07 20:58:19 +0000
@@ -1,3 +1,10 @@
1hellanzb (0.13-6.1ubuntu0) precise-proposed; urgency=low
2
3 * Add debian/patches/008-Twisted_11.1.0_compat to work
4 with Python Twisted 11.1.0 (LP: #950972)
5
6 -- Benjamin Kerensa <bkerensa@ubuntu.com> Fri, 07 Sep 2012 13:30:28 -0700
7
1hellanzb (0.13-6.1) unstable; urgency=low8hellanzb (0.13-6.1) unstable; urgency=low
29
3 * Non-maintainer upload.10 * Non-maintainer upload.
411
=== added file 'debian/patches/008-Twisted_11.1.0_compat.dpatch'
--- debian/patches/008-Twisted_11.1.0_compat.dpatch 1970-01-01 00:00:00 +0000
+++ debian/patches/008-Twisted_11.1.0_compat.dpatch 2012-09-07 20:58:19 +0000
@@ -0,0 +1,24 @@
1#! /bin/sh /usr/share/dpatch/dpatch-run
2## 008-Twisted_11.1.0_compat.dpatch by Christophe Sauthier <christophe.sauthier@objectif-libre.com>
3##
4## All lines beginning with `## DP:' are a description of the patch.
5## DP: Fix the compat with python twisted 11.1.0 and above
6
7@DPATCH@
8diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' hellanzb-0.13~/Hellanzb/HellaReactor.py hellanzb-0.13/Hellanzb/HellaReactor.py
9--- hellanzb-0.13~/Hellanzb/HellaReactor.py 2012-05-06 05:51:07.000000000 -0700
10+++ hellanzb-0.13/Hellanzb/HellaReactor.py 2012-05-06 05:51:26.486696613 -0700
11@@ -9,7 +9,12 @@
12 import Hellanzb, sys, time
13
14 import twisted.copyright
15-if twisted.copyright.version >= '2.0.0' or twisted.copyright.version >= '10.0.0':
16+
17+if twisted.copyright.version >= '11.0.0':
18+ from twisted.internet.selectreactor import SelectReactor
19+ from twisted.internet.posixbase import _NO_FILENO
20+ from twisted.internet.posixbase import _NO_FILEDESC
21+elif twisted.copyright.version >= '2.0.0' or twisted.copyright.version >= '10.0.0':
22 from twisted.internet.selectreactor import SelectReactor
23 from twisted.internet.selectreactor import _NO_FILENO
24 from twisted.internet.selectreactor import _NO_FILEDESC
025
=== modified file 'debian/patches/00list'
--- debian/patches/00list 2010-03-12 14:53:32 +0000
+++ debian/patches/00list 2012-09-07 20:58:19 +0000
@@ -6,4 +6,5 @@
6005-Fix_crash_on_missing_unrar6005-Fix_crash_on_missing_unrar
7006-Fix_embedded_nzb_postprocessing7006-Fix_embedded_nzb_postprocessing
8007-Twisted_10.0.0_compat8007-Twisted_10.0.0_compat
9008-Twisted_11.1.0_compat.dpatch
9100-python_26_fixes10100-python_26_fixes

Subscribers

People subscribed via source and target branches