[Python-modules-commits] r12202 - in packages/python-event/trunk/debian (5 files)

luciano at users.alioth.debian.org luciano at users.alioth.debian.org
Sat Mar 6 22:40:32 UTC 2010


    Date: Saturday, March 6, 2010 @ 22:40:31
  Author: luciano
Revision: 12202

python-event: lintian cleaning

Added:
  packages/python-event/trunk/debian/README.source
  packages/python-event/trunk/debian/patches/00list
  packages/python-event/trunk/debian/patches/01_avoid_event_sigcb.dpatch
    (from rev 12199, packages/python-event/trunk/debian/patches/avoid_event_sigcb.dpatch)
Modified:
  packages/python-event/trunk/debian/control
Deleted:
  packages/python-event/trunk/debian/patches/avoid_event_sigcb.dpatch

Added: packages/python-event/trunk/debian/README.source
===================================================================
--- packages/python-event/trunk/debian/README.source	                        (rev 0)
+++ packages/python-event/trunk/debian/README.source	2010-03-06 22:40:31 UTC (rev 12202)
@@ -0,0 +1,4 @@
+This package manages a few patches using dpatch.
+
+Please check /usr/share/doc/dpatch/README.source.gz for further
+information on how this works.

Modified: packages/python-event/trunk/debian/control
===================================================================
--- packages/python-event/trunk/debian/control	2010-03-06 22:23:42 UTC (rev 12201)
+++ packages/python-event/trunk/debian/control	2010-03-06 22:40:31 UTC (rev 12202)
@@ -5,7 +5,7 @@
 Uploaders: Luciano Bello <luciano at debian.org>
 Build-Depends: debhelper (>= 7), libevent-dev(>=1.4), python-all-dev, python-support, python-all-dbg, dpatch
 Provides: ${python:Provides}
-Standards-Version: 3.8.3
+Standards-Version: 3.8.4
 Homepage: http://code.google.com/p/pyevent/
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-event/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-event/trunk/
@@ -25,7 +25,7 @@
 Architecture: any
 Priority: extra
 Section: debug
-Depends: python-event (= ${binary:Version}), python-dbg, ${shlibs:Depends}
+Depends: python-event (= ${binary:Version}), python-dbg, ${shlibs:Depends}, ${misc:Depends}
 Provides: ${python:Provides}
 XB-Python-Version: ${python:Versions}
 Description: Python extension module for Niels Provos' libevent

Added: packages/python-event/trunk/debian/patches/00list
===================================================================
--- packages/python-event/trunk/debian/patches/00list	                        (rev 0)
+++ packages/python-event/trunk/debian/patches/00list	2010-03-06 22:40:31 UTC (rev 12202)
@@ -0,0 +1 @@
+01_avoid_event_sigcb.dpatch

Copied: packages/python-event/trunk/debian/patches/01_avoid_event_sigcb.dpatch (from rev 12199, packages/python-event/trunk/debian/patches/avoid_event_sigcb.dpatch)
===================================================================
--- packages/python-event/trunk/debian/patches/01_avoid_event_sigcb.dpatch	                        (rev 0)
+++ packages/python-event/trunk/debian/patches/01_avoid_event_sigcb.dpatch	2010-03-06 22:40:31 UTC (rev 12202)
@@ -0,0 +1,39 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_avoid_event_sigcb.dpatch by Luciano Bello <luciano at debian.org>
+##
+## DP: From http://code.google.com/p/pyevent/issues/detail?id=23#c2 .
+
+ at DPATCH@
+diff -urNad trunk~/event.pyx trunk/event.pyx
+--- trunk~/event.pyx	2009-06-25 03:30:14.000000000 -0300
++++ trunk/event.pyx	2010-03-06 17:40:33.000000000 -0300
+@@ -52,6 +52,7 @@
+                    event_handler handler, void *arg)
+     void evtimer_set(event_t *ev, event_handler handler, void *arg)
+     int  event_add(event_t *ev, timeval *tv)
++    int  event_loopbreak()
+     int  event_del(event_t *ev)
+     int  event_dispatch() nogil
+     int  event_loop(int loop) nogil
+@@ -68,19 +69,13 @@
+ 
+ __event_exc = None
+ 
+-cdef int __event_sigcb():
+-    return -1
+-
+ cdef void __event_abort():
+     global __event_exc
+-    cdef extern int event_gotsig
+-    cdef extern int (*event_sigcb)()
+-    
++    cdef timeval tv
++    event_loopbreak()
+     __event_exc = sys.exc_info()
+     if __event_exc[0] is None:
+         __event_exc = None
+-    event_sigcb = __event_sigcb
+-    event_gotsig = 1
+ 
+ cdef void __event_handler(int fd, short evtype, void *arg) with gil:
+     (<object>arg).__callback(evtype)

Deleted: packages/python-event/trunk/debian/patches/avoid_event_sigcb.dpatch
===================================================================
--- packages/python-event/trunk/debian/patches/avoid_event_sigcb.dpatch	2010-03-06 22:23:42 UTC (rev 12201)
+++ packages/python-event/trunk/debian/patches/avoid_event_sigcb.dpatch	2010-03-06 22:40:31 UTC (rev 12202)
@@ -1,39 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## avoid_event_sigcb.dpatch by Luciano Bello <luciano at debian.org>
-##
-## DP: From http://code.google.com/p/pyevent/issues/detail?id=23#c2 .
-
- at DPATCH@
-diff -urNad trunk~/event.pyx trunk/event.pyx
---- trunk~/event.pyx	2009-06-25 03:30:14.000000000 -0300
-+++ trunk/event.pyx	2010-03-06 17:40:33.000000000 -0300
-@@ -52,6 +52,7 @@
-                    event_handler handler, void *arg)
-     void evtimer_set(event_t *ev, event_handler handler, void *arg)
-     int  event_add(event_t *ev, timeval *tv)
-+    int  event_loopbreak()
-     int  event_del(event_t *ev)
-     int  event_dispatch() nogil
-     int  event_loop(int loop) nogil
-@@ -68,19 +69,13 @@
- 
- __event_exc = None
- 
--cdef int __event_sigcb():
--    return -1
--
- cdef void __event_abort():
-     global __event_exc
--    cdef extern int event_gotsig
--    cdef extern int (*event_sigcb)()
--    
-+    cdef timeval tv
-+    event_loopbreak()
-     __event_exc = sys.exc_info()
-     if __event_exc[0] is None:
-         __event_exc = None
--    event_sigcb = __event_sigcb
--    event_gotsig = 1
- 
- cdef void __event_handler(int fd, short evtype, void *arg) with gil:
-     (<object>arg).__callback(evtype)




More information about the Python-modules-commits mailing list