[Python-modules-commits] r23805 - in packages/python-cffi/trunk/debian (8 files)

stefanor at users.alioth.debian.org stefanor at users.alioth.debian.org
Sat Mar 30 23:50:22 UTC 2013


    Date: Saturday, March 30, 2013 @ 23:50:21
  Author: stefanor
Revision: 23805

* Add a missing b to a byte-string in a big-endian-only code-path, fixing a
  test failure.
* autopkgtests: Depend on python-dev / python3-dev.
* Suggest python-dev / python3-dev (needed for building verifier
  extensions).

Added:
  packages/python-cffi/trunk/debian/patches/tests-big-endian-byte-string
Modified:
  packages/python-cffi/trunk/debian/changelog
  packages/python-cffi/trunk/debian/control
  packages/python-cffi/trunk/debian/patches/avoid_d_d
  packages/python-cffi/trunk/debian/patches/long-double-tests
  packages/python-cffi/trunk/debian/patches/series
  packages/python-cffi/trunk/debian/patches/tests-non-linux-ports
  packages/python-cffi/trunk/debian/tests/control

Modified: packages/python-cffi/trunk/debian/changelog
===================================================================
--- packages/python-cffi/trunk/debian/changelog	2013-03-30 19:53:37 UTC (rev 23804)
+++ packages/python-cffi/trunk/debian/changelog	2013-03-30 23:50:21 UTC (rev 23805)
@@ -2,6 +2,11 @@
 
   * Fix long double related test failures on non-x86. (LP: #1157978)
   * Use the glibc varargs convention on kFreeBSD and Hurd ports.
+  * Add a missing b to a byte-string in a big-endian-only code-path, fixing a
+    test failure.
+  * autopkgtests: Depend on python-dev / python3-dev.
+  * Suggest python-dev / python3-dev (needed for building verifier
+    extensions).
 
  -- Stefano Rivera <stefanor at debian.org>  Thu, 07 Mar 2013 17:06:27 +0200
 

Modified: packages/python-cffi/trunk/debian/control
===================================================================
--- packages/python-cffi/trunk/debian/control	2013-03-30 19:53:37 UTC (rev 23804)
+++ packages/python-cffi/trunk/debian/control	2013-03-30 23:50:21 UTC (rev 23805)
@@ -30,6 +30,7 @@
 Package: python-cffi
 Architecture: any
 Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}
+Suggests: python-dev
 Description: Foreign Function Interface for Python calling C code
  Convenient and reliable way of calling C code from Python.
  .
@@ -60,6 +61,7 @@
 Package: python3-cffi
 Architecture: any
 Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}
+Suggests: python3-dev
 Description: Foreign Function Interface for Python 3 calling C code
  Convenient and reliable way of calling C code from Python 3.
  .

Modified: packages/python-cffi/trunk/debian/patches/avoid_d_d
===================================================================
--- packages/python-cffi/trunk/debian/patches/avoid_d_d	2013-03-30 19:53:37 UTC (rev 23804)
+++ packages/python-cffi/trunk/debian/patches/avoid_d_d	2013-03-30 23:50:21 UTC (rev 23805)
@@ -1,7 +1,7 @@
 Description: Avoid adding a double _d under debug-builds of Python2
 Author: Stefano Rivera <stefanor at debian.org>
-Last-Update: 2013-02-23
-Forwarded: https://bitbucket.org/cffi/cffi/pull-request/8/strip-_d-from-cpython-2x-debug-build/diff
+Origin: https://bitbucket.org/cffi/cffi/commits/ac6e8b7a5317
+Last-Update: 2013-03-30
 
 --- a/cffi/verifier.py
 +++ b/cffi/verifier.py

Modified: packages/python-cffi/trunk/debian/patches/long-double-tests
===================================================================
--- packages/python-cffi/trunk/debian/patches/long-double-tests	2013-03-30 19:53:37 UTC (rev 23804)
+++ packages/python-cffi/trunk/debian/patches/long-double-tests	2013-03-30 23:50:21 UTC (rev 23805)
@@ -11,6 +11,7 @@
  https://bitbucket.org/cffi/cffi/commits/1f49770a97b2
  https://bitbucket.org/cffi/cffi/commits/231fd7f12dbb
 Author: Armin Rigo <arigo at tunes.org>
+Last-Update: 2013-03-30
 
 --- a/c/_cffi_backend.c
 +++ b/c/_cffi_backend.c

Modified: packages/python-cffi/trunk/debian/patches/series
===================================================================
--- packages/python-cffi/trunk/debian/patches/series	2013-03-30 19:53:37 UTC (rev 23804)
+++ packages/python-cffi/trunk/debian/patches/series	2013-03-30 23:50:21 UTC (rev 23805)
@@ -1,3 +1,4 @@
 avoid_d_d
 long-double-tests
 tests-non-linux-ports
+tests-big-endian-byte-string

Added: packages/python-cffi/trunk/debian/patches/tests-big-endian-byte-string
===================================================================
--- packages/python-cffi/trunk/debian/patches/tests-big-endian-byte-string	                        (rev 0)
+++ packages/python-cffi/trunk/debian/patches/tests-big-endian-byte-string	2013-03-30 23:50:21 UTC (rev 23805)
@@ -0,0 +1,16 @@
+Description: Add missing b prefix to a byte-tring in the big-endian code path
+Author: Stefano Rivera <stefanor at debian.org>
+Origin: https://bitbucket.org/cffi/cffi/commits/7889afdcddc7
+Last-Update: 2013-03-30
+
+--- a/testing/backend_tests.py
++++ b/testing/backend_tests.py
+@@ -1093,7 +1093,7 @@
+             assert content.startswith(b'\x64\x00\x00\x00\x65\x00\x00\x00')
+             b[4] = b'\x45'
+         else:
+-            assert content.startswith('\x00\x00\x00\x64\x00\x00\x00\x65')
++            assert content.startswith(b'\x00\x00\x00\x64\x00\x00\x00\x65')
+             b[7] = b'\x45'
+         assert len(content) == 4 * 10
+         assert a[1] == 0x45

Modified: packages/python-cffi/trunk/debian/patches/tests-non-linux-ports
===================================================================
--- packages/python-cffi/trunk/debian/patches/tests-non-linux-ports	2013-03-30 19:53:37 UTC (rev 23804)
+++ packages/python-cffi/trunk/debian/patches/tests-non-linux-ports	2013-03-30 23:50:21 UTC (rev 23805)
@@ -1,6 +1,6 @@
 Description: Linux isn't the only platform using glibc. Debian gnukfreebsd and hurd ports do too
 Author: Stefano Rivera <stefanor at debian.org>
-Forwarded: https://bitbucket.org/cffi/cffi/pull-request/12/linux-isnt-the-only-platform-using-glibc
+Origin: https://bitbucket.org/cffi/cffi/commits/4fa8a99e93e8
 Last-Update: 2013-03-30
 
 --- a/testing/test_function.py

Modified: packages/python-cffi/trunk/debian/tests/control
===================================================================
--- packages/python-cffi/trunk/debian/tests/control	2013-03-30 19:53:37 UTC (rev 23804)
+++ packages/python-cffi/trunk/debian/tests/control	2013-03-30 23:50:21 UTC (rev 23805)
@@ -1,5 +1,5 @@
 Tests: unittests
-Depends: python-all, python-all-dbg, python-cffi, python-cffi-dbg, python-py, python-pytest, python-virtualenv
+Depends: python-all-dbg, python-all-dev, python-cffi, python-cffi-dbg, python-py, python-pytest, python-virtualenv
 
 Tests: unittests3
-Depends: python-virtualenv, python3-all, python3-all-dbg, python3-cffi, python3-cffi-dbg, python3-py, python3-pytest
+Depends: python-virtualenv, python3-all-dbg, python3-all-dev, python3-cffi, python3-cffi-dbg, python3-py, python3-pytest




More information about the Python-modules-commits mailing list