[Python-apps-commits] r8810 - in packages/hellanzb/trunk/debian (3 files)
dandrimont-guest at users.alioth.debian.org
dandrimont-guest at users.alioth.debian.org
Fri Jun 1 04:23:57 UTC 2012
Date: Friday, June 1, 2012 @ 04:23:53
Author: dandrimont-guest
Revision: 8810
Add patch for twisted 11.1.0 compatibility
Added:
packages/hellanzb/trunk/debian/patches/008-Twisted_11.1.0_compat.patch
Modified:
packages/hellanzb/trunk/debian/changelog
packages/hellanzb/trunk/debian/patches/series
Modified: packages/hellanzb/trunk/debian/changelog
===================================================================
--- packages/hellanzb/trunk/debian/changelog 2012-06-01 03:23:21 UTC (rev 8809)
+++ packages/hellanzb/trunk/debian/changelog 2012-06-01 04:23:53 UTC (rev 8810)
@@ -3,14 +3,14 @@
* Adopt package under the Python Applications Packaging Team umbrella
(Closes: #673946)
* Acknowledge previous NMU, thanks Jakub.
-
* Change source format to "3.0 (quilt)" (Closes: #664281)
- Convert patches to the DEP3 format
- Refresh the patches with quilt
- Drop the dpatch build-dependency and dpatch-related targets
- Drop README.source
+ * Add patch from Emil Mikulic to support Twisted 11.1.0+ (Closes: #653294)
- -- Nicolas Dandrimont <nicolas.dandrimont at crans.org> Fri, 01 Jun 2012 04:29:58 +0200
+ -- Nicolas Dandrimont <nicolas.dandrimont at crans.org> Fri, 01 Jun 2012 06:22:08 +0200
hellanzb (0.13-6.1) unstable; urgency=low
Added: packages/hellanzb/trunk/debian/patches/008-Twisted_11.1.0_compat.patch
===================================================================
--- packages/hellanzb/trunk/debian/patches/008-Twisted_11.1.0_compat.patch (rev 0)
+++ packages/hellanzb/trunk/debian/patches/008-Twisted_11.1.0_compat.patch 2012-06-01 04:23:53 UTC (rev 8810)
@@ -0,0 +1,22 @@
+Description: Make hellanzb compatible with Twisted 11.1.0+
+Author: Emil Mikulic <emikulic at gmail.com>
+
+---
+
+diff --git a/Hellanzb/HellaReactor.py b/Hellanzb/HellaReactor.py
+index 4284c0b..88ee556 100644
+--- a/Hellanzb/HellaReactor.py
++++ b/Hellanzb/HellaReactor.py
+@@ -9,7 +9,11 @@ reactor system so it can catch signals, and shutdown hellanzb cleanly
+ import Hellanzb, sys, time
+
+ import twisted.copyright
+-if twisted.copyright.version >= '2.0.0' or twisted.copyright.version >= '10.0.0':
++if twisted.copyright.version >= '11.1.0':
++ from twisted.internet.selectreactor import SelectReactor
++ from twisted.internet.posixbase import _NO_FILENO
++ from twisted.internet.posixbase import _NO_FILEDESC
++elif twisted.copyright.version >= '2.0.0' or twisted.copyright.version >= '10.0.0':
+ from twisted.internet.selectreactor import SelectReactor
+ from twisted.internet.selectreactor import _NO_FILENO
+ from twisted.internet.selectreactor import _NO_FILEDESC
Modified: packages/hellanzb/trunk/debian/patches/series
===================================================================
--- packages/hellanzb/trunk/debian/patches/series 2012-06-01 03:23:21 UTC (rev 8809)
+++ packages/hellanzb/trunk/debian/patches/series 2012-06-01 04:23:53 UTC (rev 8810)
@@ -6,4 +6,5 @@
005-Fix_crash_on_missing_unrar.patch
006-Fix_embedded_nzb_postprocessing.patch
007-Twisted_10.0.0_compat.patch
+008-Twisted_11.1.0_compat.patch
100-python_26_fixes.patch
More information about the Python-apps-commits
mailing list