diff -Nru bladerf-0.2021.10/debian/changelog bladerf-0.2021.10/debian/changelog --- bladerf-0.2021.10/debian/changelog 2022-07-24 12:06:51.000000000 +0000 +++ bladerf-0.2021.10/debian/changelog 2022-11-01 16:59:31.000000000 +0000 @@ -1,3 +1,16 @@ +bladerf (0.2021.10-4) unstable; urgency=medium + + * Team upload. + + [ Daniele Forsi ] + * Trim trailing whitespace. + * Fix day-of-week for changelog entry 2014.12-rc1. + + [ Christoph Berg ] + * Fix installation of python bindings. (Closes: #1022398) + + -- Christoph Berg Tue, 01 Nov 2022 17:59:31 +0100 + bladerf (0.2021.10-3) unstable; urgency=medium * Team upload. @@ -304,7 +317,7 @@ * New upstream release * Adopt upstream packaging, Thanks to Ryan Tucker always install udev rules (no libbladerf-udev package necessary) - + -- A. Maitland Bottoms Sat, 01 Aug 2015 00:12:45 -0400 bladerf (2015.07) unstable; urgency=low @@ -328,7 +341,7 @@ * bladeRF-cli: Added 'print trimdac' implementation [ Ryan Tucker ] - * Fixup debian/changelog for rc1 + * Fixup debian/changelog for rc1 -- Ryan Tucker Wed, 01 Jul 2015 20:07:04 -0400 @@ -354,7 +367,7 @@ * The bladeRF-cli -p/--probe option now returns a non-zero return code if no devices were found. * FPGA bitstream v0.1.2, FX3 Firmware v1.8.0, libbladeRF v1.1.0, bladeRF-cli v1.1.0 - -- Jon Szymaniak Tue, 22 Dec 2014 14:06:49 -0500 + -- Jon Szymaniak Mon, 22 Dec 2014 14:06:49 -0500 bladerf (2014.11) unstable; urgency=low @@ -375,7 +388,7 @@ bladerf (0.2014.09~rc2-5) unstable; urgency=low - * remove kfreebsd uninstallable dependency on libusb-1.0-0 + * remove kfreebsd uninstallable dependency on libusb-1.0-0 -- A. Maitland Bottoms Fri, 12 Sep 2014 09:40:21 -0400 diff -Nru bladerf-0.2021.10/debian/python3-bladerf.install bladerf-0.2021.10/debian/python3-bladerf.install --- bladerf-0.2021.10/debian/python3-bladerf.install 2020-07-25 10:40:37.000000000 +0000 +++ bladerf-0.2021.10/debian/python3-bladerf.install 2022-11-01 16:55:47.000000000 +0000 @@ -1,4 +1,4 @@ -usr/lib/python3*/site-packages/* usr/lib/python3/dist-packages/ +usr/lib/python3*/dist-packages/* usr/lib/python3/dist-packages/ host/libraries/libbladeRF_bindings/python/bladerf usr/lib/python3/dist-packages/ host/misc/python/* usr/share/doc/python-bladerf/ usr/bin/bladerf-tool diff -Nru bladerf-0.2021.10/debian/rules bladerf-0.2021.10/debian/rules --- bladerf-0.2021.10/debian/rules 2022-07-24 11:28:40.000000000 +0000 +++ bladerf-0.2021.10/debian/rules 2022-11-01 16:51:00.000000000 +0000 @@ -54,7 +54,7 @@ override_dh_auto_build: dh_auto_build - python3 host/libraries/libbladeRF_bindings/python/setup.py build + cd host/libraries/libbladeRF_bindings/python && python3 setup.py build override_dh_auto_install: dh_auto_install @@ -64,7 +64,12 @@ # library soversion named udev rules #mv debian/tmp/lib/udev/rules.d/88-nuand.rules debian/tmp/lib/udev/rules.d/88-libbladerf2.rules # Python3 bindings - python3 host/libraries/libbladeRF_bindings/python/setup.py install --root=debian/tmp/ --prefix=/usr + cd host/libraries/libbladeRF_bindings/python && python3 setup.py install --root=$(CURDIR)/debian/tmp/ --prefix=/usr + # setup.py installs to usr/local despite being told otherwise (#1022398) + if test -d debian/tmp/usr/local; then \ + mv -v debian/tmp/usr/local/bin/* debian/tmp/usr/bin && \ + mv -v debian/tmp/usr/local/lib/* debian/tmp/usr/lib; \ + fi # per lintian rm -f host/examples/bladeRF-cli/sync_trx/.gitignore rm -f host/examples/python/txrx/.gitignore