[elbe-devel] [PATCH 2/2] debian control: Make elbe-debianize a py2 & py3 pkg

bage at linutronix.de bage at linutronix.de
Fri Feb 7 12:07:01 CET 2020


From: Bastian Germann <bage at linutronix.de>

elbe-debianize might have the problem that its dependencies are satisfied
with a different python version than the rest of the elebe install.

The correct solution would be splitting up the package.  However, we want
to drop py2 support in the near future, so make this optional package
depend on both versions.

Signed-off-by: Bastian Germann <bage at linutronix.de>
---
 debian/control | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index 03eefd4ce..804946dc6 100644
--- a/debian/control
+++ b/debian/control
@@ -99,13 +99,17 @@ Package: elbe-debianize
 Architecture: all
 Conflicts: elbe-debianize
 Depends: ${misc:Depends},
-  python (>= 2.7~) | python3,
+  python (>= 2.7~),
+  python3,
   devscripts,
   libdistro-info-perl,
   libparse-debcontrol-perl,
-  python-elbe-common (= ${binary:Version}) | python3-elbe-common (= ${binary:Version}),
-  python-urwid | python3-urwid,
-  python-pkg-resources | python3-pkg-resources
+  python-elbe-common (= ${binary:Version}),
+  python3-elbe-common (= ${binary:Version}),
+  python-urwid,
+  python3-urwid,
+  python-pkg-resources,
+  python3-pkg-resources
 Description: Wizard for debian folder generation
  Assists users in generating a debianization for a given source code project.
 
-- 
2.20.1




More information about the elbe-devel mailing list