The source project of this merge request has been removed.
Build Python extension for all supported versions
Use OpenCV's standalone Python extension support for this.
The configure invocation looks a bit messy, because pybuild does not natively allow running CMake with the main directory as CWD and a fully specified source and build directory. I chose to depend on dh_auto_configure instead of a direct call to cmake to automatically pickup any flags that debhelper adds.
Remove the manual dependency on libcharls2 added to resolve #978452. This is a dependency of libgdcm3.0, not directly of opencv, and the missing dependency was fixed in that package. It looks like this was bug #971425.
Closes: 972566