Package: python-openalpr Version: 2.2.3-1 Severity: serious Tags: patch Justification: Policy 3.5
The python bindings require python to be installed to work, so they have to depend on them. Please see the attached patch for the standard pythonic way to do this. Scott K
diff -Nru openalpr-2.2.3/debian/changelog openalpr-2.2.3/debian/changelog --- openalpr-2.2.3/debian/changelog 2016-01-24 17:27:18.000000000 -0500 +++ openalpr-2.2.3/debian/changelog 2016-02-25 23:25:49.000000000 -0500 @@ -1,3 +1,10 @@ +openalpr (2.2.3-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Use dh-python to generate proper depends for python-openalpr + + -- Scott Kitterman <sc...@kitterman.com> Thu, 25 Feb 2016 23:25:02 -0500 + openalpr (2.2.3-1) unstable; urgency=low * Changed Debian config to build on all architectures (Closes: #812176) diff -Nru openalpr-2.2.3/debian/control openalpr-2.2.3/debian/control --- openalpr-2.2.3/debian/control 2016-01-24 15:34:14.000000000 -0500 +++ openalpr-2.2.3/debian/control 2016-02-25 23:28:28.000000000 -0500 @@ -4,7 +4,8 @@ Maintainer: Matthew Hill <matth...@openalpr.com> Build-Depends: debhelper (>= 9), git, cmake, quilt, libtesseract-dev, libleptonica-dev, liblog4cplus-dev, - libcurl3-dev, uuid-dev, libopencv-dev, default-jdk + libcurl3-dev, uuid-dev, libopencv-dev, default-jdk, + python, dh-python Standards-Version: 3.9.6 Homepage: https://github.com/openalpr/openalpr Vcs-Browser: https://github.com/openalpr/openalpr @@ -102,7 +103,7 @@ Package: python-openalpr Section: python Architecture: any -Depends: libopenalpr-dev (= ${binary:Version}), ${misc:Depends} +Depends: libopenalpr-dev (= ${binary:Version}), ${python:Depends}, ${misc:Depends} Description: Python binding for OpenALPR library OpenALPR is an open source Automatic License Plate Recognition library written in C++. The library analyzes images and identifies license plates. The output diff -Nru openalpr-2.2.3/debian/rules openalpr-2.2.3/debian/rules --- openalpr-2.2.3/debian/rules 2016-01-24 15:34:14.000000000 -0500 +++ openalpr-2.2.3/debian/rules 2016-02-25 23:26:14.000000000 -0500 @@ -29,7 +29,7 @@ # main packaging script based on dh7 syntax %: - dh $@ --sourcedirectory=src --with quilt + dh $@ --sourcedirectory=src --with quilt,python2 override_dh_auto_configure: dh_auto_configure -- \