[Python-modules-commits] r15254 - in packages/python-pytc/trunk/debian (4 files)

edmonds at users.alioth.debian.org edmonds at users.alioth.debian.org
Wed Jan 5 02:13:03 UTC 2011


    Date: Wednesday, January 5, 2011 @ 02:13:01
  Author: edmonds
Revision: 15254

python-pytc: update to upstream version 0.8; fix tcbdb rangefwm method to allow null bytes in prefix

Added:
  packages/python-pytc/trunk/debian/patches/10_allow_tcbdb_rangefwm_null_bytes
Modified:
  packages/python-pytc/trunk/debian/changelog
  packages/python-pytc/trunk/debian/control
  packages/python-pytc/trunk/debian/patches/series

Modified: packages/python-pytc/trunk/debian/changelog
===================================================================
--- packages/python-pytc/trunk/debian/changelog	2011-01-04 23:30:28 UTC (rev 15253)
+++ packages/python-pytc/trunk/debian/changelog	2011-01-05 02:13:01 UTC (rev 15254)
@@ -1,8 +1,14 @@
-python-pytc (0.7-1) UNRELEASED; urgency=low
+python-pytc (0.8-1) unstable; urgency=low
 
-  * (NOT RELEASED YET) New upstream release
+  * New upstream release.
+  * Add myself to Uploaders.
+  * Bump Standards-Version to 3.9.1; no changes.
+  * Rebuild against current tokyocabinet packages; closes: #532198.
+  * New patch: 10_allow_tcbdb_rangefwm_null_bytes; allows for using \x00
+    bytes in TCBDB range searches.
+  * Upload to unstable.
 
- -- Vernon Tang <vt at foilhead.net>  Tue, 06 Jan 2009 05:57:58 +0800
+ -- Robert S. Edmonds <edmonds at debian.org>  Tue, 04 Jan 2011 20:03:22 -0500
 
 python-pytc (0.6-2) experimental; urgency=low
 

Modified: packages/python-pytc/trunk/debian/control
===================================================================
--- packages/python-pytc/trunk/debian/control	2011-01-04 23:30:28 UTC (rev 15253)
+++ packages/python-pytc/trunk/debian/control	2011-01-05 02:13:01 UTC (rev 15254)
@@ -2,11 +2,12 @@
 Section: python
 Priority: optional
 Maintainer: Vernon Tang <vt at foilhead.net>
-Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>,
+ Robert S. Edmonds <edmonds at debian.org>
 Build-Depends: debhelper (>= 7), cdbs (>= 0.4.41), quilt, python-central,
  python-all-dev (>= 2.3), python-all-dbg (>= 2.3), libtokyocabinet-dev (>= 1.3.6)
 XS-Python-Version: >= 2.3
-Standards-Version: 3.8.0
+Standards-Version: 3.9.1
 Homepage: http://pypi.python.org/pypi/pytc/
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-pytc/trunk
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-pytc/trunk
@@ -22,6 +23,7 @@
 
 Package: python-pytc-dbg
 Architecture: any
+Section: debug
 Priority: extra
 Depends: python-pytc (= ${binary:Version}), 
  ${shlibs:Depends}, ${misc:Depends}, python-dbg

Added: packages/python-pytc/trunk/debian/patches/10_allow_tcbdb_rangefwm_null_bytes
===================================================================
--- packages/python-pytc/trunk/debian/patches/10_allow_tcbdb_rangefwm_null_bytes	                        (rev 0)
+++ packages/python-pytc/trunk/debian/patches/10_allow_tcbdb_rangefwm_null_bytes	2011-01-05 02:13:01 UTC (rev 15254)
@@ -0,0 +1,21 @@
+--- orig/pytc-0.8/pytc.c	2008-12-30 11:34:53.000000000 -0500
++++ python-pytc-0.8/pytc.c	2010-12-23 23:08:31.264929997 -0500
+@@ -1555,14 +1555,15 @@ PyTCBDB_rangefwm(PyTCBDB *self, PyObject
+   int max;
+   TCLIST *list;
+   char *prefix;
++  int prefix_len;
+   static char *kwlist[] = {"prefix", "max", NULL};
+ 
+-  if (!PyArg_ParseTupleAndKeywords(args, keywds, "si:rangefwm", kwlist,
+-                                   &prefix, &max)) {
++  if (!PyArg_ParseTupleAndKeywords(args, keywds, "s#i:rangefwm", kwlist,
++                                   &prefix, &prefix_len, &max)) {
+     return NULL;
+   }
+   Py_BEGIN_ALLOW_THREADS
+-  list = tcbdbrange3(self->bdb, prefix, max);
++  list = tcbdbfwmkeys(self->bdb, prefix, prefix_len, max);
+   Py_END_ALLOW_THREADS
+ 
+   TCLIST2PyList()

Modified: packages/python-pytc/trunk/debian/patches/series
===================================================================
--- packages/python-pytc/trunk/debian/patches/series	2011-01-04 23:30:28 UTC (rev 15253)
+++ packages/python-pytc/trunk/debian/patches/series	2011-01-05 02:13:01 UTC (rev 15254)
@@ -0,0 +1 @@
+10_allow_tcbdb_rangefwm_null_bytes




More information about the Python-modules-commits mailing list