[PATCH 3 of 5 file] [debian] let dh_python autodetect dependencies

Philippe Pepiot philippe.pepiot at logilab.fr
Thu Jun 27 18:14:24 CEST 2019


# HG changeset patch
# User Philippe Pepiot <philippe.pepiot at logilab.fr>
# Date 1561649464 -7200
#      Thu Jun 27 17:31:04 2019 +0200
# Node ID 2deda972337f4ad2c5546d1e1ea8f25270187f5d
# Parent  9c5da38c343439bfb6a4054159eba8dd6161d345
# Available At https://hg.logilab.org/review/cubes/file
#              hg pull https://hg.logilab.org/review/cubes/file -r 2deda972337f
[debian] let dh_python autodetect dependencies

Add a mapping for cubicweb which is not part of debian.
This fix python-imaging which does not longer exists in buster and renamed to
python-pil (which is actually imaging...)

diff --git a/debian/control b/debian/control
--- a/debian/control
+++ b/debian/control
@@ -17,8 +17,6 @@ X-Python-Version: >= 2.7
 Package: cubicweb-file
 Architecture: all
 Depends:
- python-cubicweb (>= 3.24),
- python-imaging,
  ${python:Depends},
  ${misc:Depends},
 Description: file component for the CubicWeb framework
diff --git a/debian/pydist-overrides b/debian/pydist-overrides
new file mode 100644
--- /dev/null
+++ b/debian/pydist-overrides
@@ -0,0 +1,1 @@
+cubicweb python-cubicweb



More information about the cubicweb-devel mailing list