1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 Date: Tue, 2 Jun 2020 17:20:44 +0200
4 Subject: [PATCH] d/control: move python dependencies over to python3
6 Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 debian/control | 24 ++++++++++++------------
9 debian/rules | 10 ------------
10 2 files changed, 12 insertions(+), 22 deletions(-)
12 diff --git a/debian/control b/debian/control
13 index c93aa3c21..aa8edb3d2 100644
16 @@ -126,7 +126,7 @@ Depends: binutils,
23 Recommends: btrfs-tools,
24 ceph-mds (= ${binary:Version}),
25 @@ -172,7 +172,7 @@ Package: cephadm
26 Architecture: linux-any
27 Recommends: podman | docker.io
31 Description: cephadm utility to bootstrap ceph daemons with systemd and containers
32 Ceph is a massively scalable, open-source, distributed
33 storage system that runs on commodity hardware and delivers object,
34 @@ -223,7 +223,8 @@ Depends: ceph-base (= ${binary:Version}),
42 Suggests: ceph-mgr-dashboard,
43 ceph-mgr-diskprediction-local,
44 @@ -250,7 +250,7 @@ Depends: ceph-mgr (= ${binary:Version}),
51 Description: dashboard module for ceph-mgr
52 Ceph is a massively scalable, open-source, distributed
53 @@ -271,7 +271,7 @@ Depends: ceph-mgr (= ${binary:Version}),
60 Description: diskprediction-local module for ceph-mgr
61 Ceph is a massively scalable, open-source, distributed
62 @@ -285,7 +285,7 @@ Package: ceph-mgr-diskprediction-cloud
64 Depends: ceph-mgr (= ${binary:Version}),
69 Description: diskprediction-cloud module for ceph-mgr
70 Ceph is a massively scalable, open-source, distributed
71 @@ -298,7 +298,7 @@ Description: diskprediction-cloud module for ceph-mgr
72 Package: ceph-mgr-modules-core
74 Depends: ${misc:Depends},
80 @@ -319,7 +319,7 @@ Depends: ceph-mgr (= ${binary:Version}),
87 Description: rook module for ceph-mgr
88 Ceph is a massively scalable, open-source, distributed
89 @@ -335,7 +335,7 @@ Architecture: all
90 Depends: ceph-mgr (= ${binary:Version}),
95 Description: kubernetes events module for ceph-mgr
96 Ceph is a massively scalable, open-source, distributed
97 storage system that runs on commodity hardware and delivers object,
98 @@ -351,7 +351,7 @@ Depends: ceph-mgr (= ${binary:Version}),
103 + ${python3:Depends},
106 Description: cephadm orchestrator module for ceph-mgr
107 @@ -411,7 +411,7 @@ Depends: ceph-base (= ${binary:Version}),
112 + ${python3:Depends},
114 Replaces: ceph (<< 10), ceph-test (<< 12.2.2-14)
115 Breaks: ceph (<< 10), ceph-test (<< 12.2.2-14)
116 @@ -591,7 +591,7 @@ Depends: librbd1 (= ${binary:Version}),
117 python3-rbd (= ${binary:Version}),
118 python3-rgw (= ${binary:Version}),
121 + ${python3:Depends},
123 Conflicts: ceph-client-tools,
124 Replaces: ceph (<< 10),
125 diff --git a/debian/rules b/debian/rules
126 index c93aa3c21..aa8edb3d2 100755
130 override_dh_shlibdeps:
131 dh_shlibdeps -a --exclude=erasure-code --exclude=rados-classes --exclude=compressor
133 -override_dh_python3:
134 - for binding in rados cephfs rbd rgw; do \
135 - dh_python3 -p python3-$$binding; \
137 - dh_python3 -p python3-ceph-argparse
138 - dh_python3 -p python3-ceph-common
139 - dh_python3 -p cephfs-shell
140 - dh_python3 -p cephadm
143 override_dh_auto_test: