Control: tags 936857 + patch

Dear maintainer,

I've prepared an upload for libfreenect (versioned as 1:0.5.3-2). The diff
is attached to this message.

Regards.

diff -Nru libfreenect-0.5.3/debian/changelog libfreenect-0.5.3/debian/changelog
--- libfreenect-0.5.3/debian/changelog	2016-01-01 22:37:38.000000000 -0500
+++ libfreenect-0.5.3/debian/changelog	2020-04-09 00:50:52.000000000 -0400
@@ -1,3 +1,11 @@
+libfreenect (1:0.5.3-2) unstable; urgency=medium
+
+  * Team upload.
+  * Drop python2 support; python bindings can be added again when packaging an
+    upstream release supporting python3; Closes: #936857
+
+ -- Sandro Tosi <mo...@debian.org>  Thu, 09 Apr 2020 00:50:52 -0400
+
 libfreenect (1:0.5.3-1) unstable; urgency=medium
 
   * Recent upstream bugfix release
diff -Nru libfreenect-0.5.3/debian/control libfreenect-0.5.3/debian/control
--- libfreenect-0.5.3/debian/control	2016-01-01 22:37:38.000000000 -0500
+++ libfreenect-0.5.3/debian/control	2020-04-09 00:49:34.000000000 -0400
@@ -5,7 +5,7 @@
 Uploaders: Arne Bernin <a...@alamut.de>, Yaroslav Halchenko <deb...@onerussian.com>, Mark Renouf <mark.ren...@gmail.com>
 Build-Depends: debhelper (>= 9), cmake,  pkg-config,
  libusb-1.0-0-dev(>= 1.0.18~), freeglut3-dev, libxmu-dev, libxi-dev,
- python-all-dev (>= 2.6.6-3~), cython, python-numpy, doxygen
+ doxygen
 X-Python-Version: 2.7
 Standards-Version: 3.9.6
 Homepage: http://openkinect.org/
@@ -104,27 +104,6 @@
  .
  This package contains the documentation of the API of libfreenect.
 
-Package: python-freenect
-Section: python
-Architecture: any
-Provides: ${python:Provides}
-Depends: ${python:Depends}, ${misc:Depends}, ${shlibs:Depends},
-         libfreenect0.5 (= ${binary:Version}), python-numpy
-Suggests: python-matplotlib, python-opencv
-Description: library for accessing Kinect device -- Python bindings
- libfreenect is a cross-platform library that provides the necessary interfaces
- to activate, initialize, and communicate data with the Kinect hardware.
- Currently, the library supports access to RGB and depth video streams, motors,
- accelerometer and LED and provide binding in different languages (C++,
- Python...)
- .
- This library is the low level component of the OpenKinect project which is an
- open community of people interested in making use of the Xbox Kinect hardware
- with PCs and other devices.
- .
- This package provides freenect extension to use libfreenect functionality
- from Python and includes some demo scripts.
-
 Package: freenect
 Section: libs
 Architecture: any
diff -Nru libfreenect-0.5.3/debian/python-freenect.docs libfreenect-0.5.3/debian/python-freenect.docs
--- libfreenect-0.5.3/debian/python-freenect.docs	2016-01-01 22:37:38.000000000 -0500
+++ libfreenect-0.5.3/debian/python-freenect.docs	1969-12-31 19:00:00.000000000 -0500
@@ -1 +0,0 @@
-wrappers/python/README
diff -Nru libfreenect-0.5.3/debian/python-freenect.examples libfreenect-0.5.3/debian/python-freenect.examples
--- libfreenect-0.5.3/debian/python-freenect.examples	2016-01-01 22:37:38.000000000 -0500
+++ libfreenect-0.5.3/debian/python-freenect.examples	1969-12-31 19:00:00.000000000 -0500
@@ -1,2 +0,0 @@
-wrappers/python/demo_*
-wrappers/python/frame_convert.py
diff -Nru libfreenect-0.5.3/debian/python-freenect.install libfreenect-0.5.3/debian/python-freenect.install
--- libfreenect-0.5.3/debian/python-freenect.install	2016-01-01 22:37:38.000000000 -0500
+++ libfreenect-0.5.3/debian/python-freenect.install	1969-12-31 19:00:00.000000000 -0500
@@ -1 +0,0 @@
-usr/lib/python*/*packages/freenect.so
diff -Nru libfreenect-0.5.3/debian/rules libfreenect-0.5.3/debian/rules
--- libfreenect-0.5.3/debian/rules	2016-01-01 22:37:38.000000000 -0500
+++ libfreenect-0.5.3/debian/rules	2020-04-09 00:49:51.000000000 -0400
@@ -5,12 +5,10 @@
 export MA_TRIPLET=`dpkg-architecture -qDEB_HOST_MULTIARCH`
 
 %:
-	dh $@ --with python2
+	dh $@
 
 override_dh_auto_configure:
 	dh_auto_configure -- \
-      -DBUILD_PYTHON:Bool=True \
-      -DPYTHON_EXECUTABLE:Path=/usr/bin/python \
       -DPROJECT_LIBRARY_INSTALL_DIR:Path="lib/$(MA_TRIPLET)"
 
 override_dh_auto_build-indep:
@@ -22,10 +20,6 @@
 	mkdir -p debian/html
 endif
 
-override_dh_python2:
-	dh_python2 -p python-freenect
-	if [ -x /usr/bin/dh_numpy ]; then dh_numpy -ppython-freenect; fi
-
 override_dh_installdocs:
 	dh_installdocs --all CONTRIB
 

Reply via email to