[Python-modules-commits] r8754 - in packages/py-radix (8 files)

myon at users.alioth.debian.org myon at users.alioth.debian.org
Tue Jun 9 16:01:35 UTC 2009


    Date: Tuesday, June 9, 2009 @ 16:01:34
  Author: myon
Revision: 8754

* Add patch by Alexander Sabourenkov to fix memory leak. Closes: #512830.
* Use quilt.
* Bump Standards-Version.

Added:
  packages/py-radix/trunk/debian/patches/
  packages/py-radix/trunk/debian/patches/512830-memleak
  packages/py-radix/trunk/debian/patches/series
Modified:
  packages/py-radix/trunk/	(properties)
  packages/py-radix/trunk/debian/	(properties)
  packages/py-radix/trunk/debian/changelog
  packages/py-radix/trunk/debian/control
  packages/py-radix/trunk/debian/rules


Property changes on: packages/py-radix/trunk
___________________________________________________________________
Added: svn:ignore
   + ChangeLog
LICENSE
MANIFEST
PKG-INFO
README
TODO
inet_ntop.c
py-radix.spec
radix.c
radix.h
radix_python.c
setup.py
strlcpy.c
test.py

.pc
build-stamp
build
build-ext-python2.4
build-ext-python2.5



Property changes on: packages/py-radix/trunk/debian
___________________________________________________________________
Added: svn:ignore
   + files
python-radix
python-radix.debhelper.log
python-radix.postinst.debhelper
python-radix.preinst.debhelper
python-radix.prerm.debhelper
python-radix.substvars
stamp-patched


Modified: packages/py-radix/trunk/debian/changelog
===================================================================
--- packages/py-radix/trunk/debian/changelog	2009-06-09 08:21:15 UTC (rev 8753)
+++ packages/py-radix/trunk/debian/changelog	2009-06-09 16:01:34 UTC (rev 8754)
@@ -1,10 +1,16 @@
-py-radix (0.5-2) UNRELEASED; urgency=low
+py-radix (0.5-2) unstable; urgency=low
 
+  [ Sandro Tosi ]
   * debian/control
     - switch Vcs-Browser field to viewsvn
 
- -- Sandro Tosi <morph at debian.org>  Mon, 03 Nov 2008 22:14:40 +0100
+  [ Christoph Berg ]
+  * Add patch by Alexander Sabourenkov to fix memory leak. Closes: #512830.
+  * Use quilt.
+  * Bump Standards-Version.
 
+ -- Christoph Berg <myon at debian.org>  Tue, 09 Jun 2009 17:42:18 +0200
+
 py-radix (0.5-1) unstable; urgency=low
 
   * New upstream version.

Modified: packages/py-radix/trunk/debian/control
===================================================================
--- packages/py-radix/trunk/debian/control	2009-06-09 08:21:15 UTC (rev 8753)
+++ packages/py-radix/trunk/debian/control	2009-06-09 16:01:34 UTC (rev 8754)
@@ -3,8 +3,8 @@
 Priority: extra
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Christoph Berg <myon at debian.org>
-Build-Depends: debhelper (>> 5), python-all-dev (>= 2.3), python, python-central (>= 0.5)
-Standards-Version: 3.7.3
+Build-Depends: debhelper (>> 5), python-all-dev (>= 2.3), python, python-central (>= 0.5), quilt
+Standards-Version: 3.8.1
 XS-Python-Version: all
 Vcs-Svn: svn://svn.debian.org/svn/python-modules/packages/py-radix/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/py-radix/trunk/

Added: packages/py-radix/trunk/debian/patches/512830-memleak
===================================================================
--- packages/py-radix/trunk/debian/patches/512830-memleak	                        (rev 0)
+++ packages/py-radix/trunk/debian/patches/512830-memleak	2009-06-09 16:01:34 UTC (rev 8754)
@@ -0,0 +1,10 @@
+--- a/radix_python.c
++++ b/radix_python.c
+@@ -95,6 +95,7 @@ RadixNode_dealloc(RadixNodeObject *self)
+ 	Py_XDECREF(self->family);
+ 	Py_XDECREF(self->network);
+ 	Py_XDECREF(self->prefix);
++	Py_XDECREF(self->packed);
+ 	PyObject_Del(self);
+ }
+ 

Added: packages/py-radix/trunk/debian/patches/series
===================================================================
--- packages/py-radix/trunk/debian/patches/series	                        (rev 0)
+++ packages/py-radix/trunk/debian/patches/series	2009-06-09 16:01:34 UTC (rev 8754)
@@ -0,0 +1 @@
+512830-memleak

Modified: packages/py-radix/trunk/debian/rules
===================================================================
--- packages/py-radix/trunk/debian/rules	2009-06-09 08:21:15 UTC (rev 8753)
+++ packages/py-radix/trunk/debian/rules	2009-06-09 16:01:34 UTC (rev 8754)
@@ -1,11 +1,13 @@
 #!/usr/bin/make -f
 #export DH_VERBOSE=1
 
+include /usr/share/quilt/quilt.make
+
 PYDEF=$(shell pyversions -d)
 PYVERS=$(shell pyversions -r)
 
 build build-indep build-arch: build-stamp
-build-stamp: $(PYVERS:%=build-ext-%)
+build-stamp: $(PYVERS:%=build-ext-%) patch
 	touch $@
 
 build-ext-%:
@@ -45,7 +47,7 @@
 
 binary: binary-indep binary-arch
 
-clean:
+clean: unpatch
 	dh_testdir
 	rm -rf build
 	dh_clean build-stamp build-ext-*




More information about the Python-modules-commits mailing list