Univention Bugzilla – Bug 50328
[dh_python] migrate ucs-school-lib from python-support to dh_python
Last modified: 2023-03-25 06:39:52 CET
Migrate the ucs-school-lib package from python-support to dh_python.
1. move Python modules into paths that mirror the package structure → Cherry-picked from dtroeder/ucsschool.no.udm: → [feature/dh_python] cf4f98dd5 make ucsschool.lib pip installable 2. adapt debian/rules to build l10n, move file common to Python 2+3 packages to a common package: → [feature/dh_python b79907d2b] Bug #50328: migrate from python-support to dh_python 3. update Python code to byte-compile for Python3: → [feature/dh_python 2b21fbdc4] Bug #50328: py2/3 print function and exception handling (libfuturize.fixes.fix_print_with_import, lib2to3.fixes.fix_except) The Python3 code has only be adapted to have a valid syntax, so it byte-compiles. It is in no way tested.
OK base tests work: https://jenkins.knut.univention.de:8181/view/Alle/job/UCS%20Branch%20Test/203/ Some small changes: [feature/dh_python 7c3f6b482] Bug #50328: Add python namespace package [feature/dh_python a081fe731] Bug #50328: add python-setuptools build dependency [feature/dh_python 374ae0092] Bug #50328: Add break because /etc/ucsschool/logging.yaml moved package [feature/dh_python e895f1fdd] Bug #50328: fix version