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
1=== modified file 'debian/changelog'
2--- debian/changelog 2010-07-16 12:13:35 +0000
3+++ debian/changelog 2012-09-07 20:58:19 +0000
4@@ -1,3 +1,10 @@
5+hellanzb (0.13-6.1ubuntu0) precise-proposed; urgency=low
6+
7+ * Add debian/patches/008-Twisted_11.1.0_compat to work
8+ with Python Twisted 11.1.0 (LP: #950972)
9+
10+ -- Benjamin Kerensa <bkerensa@ubuntu.com> Fri, 07 Sep 2012 13:30:28 -0700
11+
12 hellanzb (0.13-6.1) unstable; urgency=low
13
14 * Non-maintainer upload.
15
16=== added file 'debian/patches/008-Twisted_11.1.0_compat.dpatch'
17--- debian/patches/008-Twisted_11.1.0_compat.dpatch 1970-01-01 00:00:00 +0000
18+++ debian/patches/008-Twisted_11.1.0_compat.dpatch 2012-09-07 20:58:19 +0000
19@@ -0,0 +1,24 @@
20+#! /bin/sh /usr/share/dpatch/dpatch-run
21+## 008-Twisted_11.1.0_compat.dpatch by Christophe Sauthier <christophe.sauthier@objectif-libre.com>
22+##
23+## All lines beginning with `## DP:' are a description of the patch.
24+## DP: Fix the compat with python twisted 11.1.0 and above
25+
26+@DPATCH@
27+diff -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
28+--- hellanzb-0.13~/Hellanzb/HellaReactor.py 2012-05-06 05:51:07.000000000 -0700
29++++ hellanzb-0.13/Hellanzb/HellaReactor.py 2012-05-06 05:51:26.486696613 -0700
30+@@ -9,7 +9,12 @@
31+ import Hellanzb, sys, time
32+
33+ import twisted.copyright
34+-if twisted.copyright.version >= '2.0.0' or twisted.copyright.version >= '10.0.0':
35++
36++if twisted.copyright.version >= '11.0.0':
37++ from twisted.internet.selectreactor import SelectReactor
38++ from twisted.internet.posixbase import _NO_FILENO
39++ from twisted.internet.posixbase import _NO_FILEDESC
40++elif twisted.copyright.version >= '2.0.0' or twisted.copyright.version >= '10.0.0':
41+ from twisted.internet.selectreactor import SelectReactor
42+ from twisted.internet.selectreactor import _NO_FILENO
43+ from twisted.internet.selectreactor import _NO_FILEDESC
44
45=== modified file 'debian/patches/00list'
46--- debian/patches/00list 2010-03-12 14:53:32 +0000
47+++ debian/patches/00list 2012-09-07 20:58:19 +0000
48@@ -6,4 +6,5 @@
49 005-Fix_crash_on_missing_unrar
50 006-Fix_embedded_nzb_postprocessing
51 007-Twisted_10.0.0_compat
52+008-Twisted_11.1.0_compat.dpatch
53 100-python_26_fixes

Subscribers

People subscribed via source and target branches