Univention Bugzilla – Bug 50332
Adjust dh_umc for dh_python2
Last modified: 2020-02-19 16:12:16 CET
Split the part to make dh_umc use dh_python into this Bug. +++ This bug was initially created as a clone of Bug #49161 +++ The package management/univention-management-console should be migrated to use dh_python instead of python-support. Migration-Guide: https://hutten.knut.univention.de/mediawiki/index.php/Python_DebHelper_Migration
The idea here is that dh_umc evaluates the debian control file and adds the python2 or python3 files depending on the ${python:Provides} and ${python3:Provides} Provides entry.
Created attachment 10236 [details] patch
1dc09c3959 Bug #50332: debian changelog 68f12c6455 Bug #50332: remove option from shebang 92771f270a Bug #50332: yaml 7eb838a17c Bug #50332: debian changelog e8d753dce4 Bug #50332: install umc modules under python2.7 and/or python3 depending on what they provide Successful build Package: univention-ucs-translation-template Version: 6.0.0-14A~4.4.0.202002171321 Successful build Package: univention-management-console Version: 11.0.4-57A~4.4.0.202002171325 Applied patch: binary packages that provide an umc module are installed under python2.7 and/or python3 depending on the 'Provides' field
What I tested: Build a package without any "provides" -> python2.7 is build -> OK Build a package which provides python and python3 -> python2.7 and python3 is build -> OK [4.4-3 35f3fd8af4] Bug #50332: yaml -> Verified
<http://errata.software-univention.de/ucs/4.4/447.html> <http://errata.software-univention.de/ucs/4.4/448.html>