Bug#938837: xapp: Python2 removal in sid/bullseye
Hi Nicolas,
On Tue, 22 Oct 2019, Nicolas Braud-Santoni wrote:
> How did you get rid of the B-D on Py2, given that python-gi-dev itself Depends
> on it?
Ok, the *indirect* B-D I cannot get rid off, but building the py2
version we did as follows:
--- xapp.git.orig/pygobject/meson.build
+++ xapp.git/pygobject/meson.build
@@ -3,7 +3,7 @@ pygobject = dependency('pygobject-3.0',
required: true,
)
-foreach exec : ['python2', 'python3']
+foreach exec : ['python3']
r = run_command(exec, '-c', 'import gi;print(gi._overridesdir)')
if r.returncode() == 0
That means as soon as python-gi-dev stops depending on py2, we don't
need it anymore.
Best
Norbert
--
PREINING Norbert http://www.preining.info
Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
Reply to: