tag 608287 patch thanks
diff -uraN debian.orig/compat debian/compat --- debian.orig/compat 2012-03-01 08:51:21.000000000 +0100 +++ debian/compat 2015-11-20 01:46:18.000000000 +0100 @@ -1 +1 @@ -7 +9 diff -uraN debian.orig/control debian/control --- debian.orig/control 2015-08-18 17:47:45.000000000 +0200 +++ debian/control 2015-11-20 01:44:50.000000000 +0100 @@ -6,6 +6,8 @@ Build-Depends: debhelper (>= 8.1.0~), python-all-dev (>=2.6.6~3), python-all-dbg, + python3-all-dev, + python3-all-dbg, dh-python Package: python-sendfile @@ -30,6 +32,34 @@ Description: Python interface to sendfile(2) (debug) Python library which provides a "zero-copy" way of copying data from one file descriptor to another (a socket). The phrase "zero-copy" refers to + the fact that all of the copying of data between the two descriptors is + done entirely by the kernel, with no copying of data into userspace buffers. + This is particularly useful when sending a file over a socket (e.g. FTP). + . + This package contains the extension built for the Python debug interpreter. + +Package: python3-sendfile +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, + ${python3:Depends} +Description: Python interface to sendfile(2) + Python library which provides a "zero-copy" way of copying data from one + file descriptor to another (a socket). The phrase "zero-copy" refers to + the fact that all of the copying of data between the two descriptors is + done entirely by the kernel, with no copying of data into userspace buffers. + This is particularly useful when sending a file over a socket (e.g. FTP). + +Package: python3-sendfile-dbg +Priority: extra +Section: debug +Architecture: any +Depends: python-sendfile (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, + ${python3:Depends} +Recommends: python3-dbg +Provides: ${python3:Provides} +Description: Python interface to sendfile(2) (debug) + Python library which provides a "zero-copy" way of copying data from one + file descriptor to another (a socket). The phrase "zero-copy" refers to the fact that all of the copying of data between the two descriptors is done entirely by the kernel, with no copying of data into userspace buffers. This is particularly useful when sending a file over a socket (e.g. FTP). diff -uraN debian.orig/python-sendfile-dbg.install debian/python-sendfile-dbg.install --- debian.orig/python-sendfile-dbg.install 2012-07-04 14:22:36.000000000 +0200 +++ debian/python-sendfile-dbg.install 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -debian/tmp/usr/lib/python*/*-packages/sendfile_d.so \ No newline at end of file diff -uraN debian.orig/python-sendfile.install debian/python-sendfile.install --- debian.orig/python-sendfile.install 2012-07-04 14:21:44.000000000 +0200 +++ debian/python-sendfile.install 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -debian/tmp/usr/lib/python*/*-packages/sendfile.so \ No newline at end of file diff -uraN debian.orig/rules debian/rules --- debian.orig/rules 2015-08-18 17:46:37.000000000 +0200 +++ debian/rules 2015-11-20 02:12:09.000000000 +0100 @@ -1,4 +1,6 @@ #!/usr/bin/make -f +export PYBUILD_NAME=sendfile + %: - dh $@ --with python2 + dh $@ --with python2,python3 --buildsystem=pybuild