so we can use subvars like ${python3:Depends} in debian/control.
this silences the warnings like:
```
warning: dpkg-gencontrol: Depends field of package python3-cephfs:
unknown substitution variable ${python3:Depends}
```
Signed-off-by: Kefu Chai <kchai@redhat.com>
endif
%:
- dh $@ --buildsystem=cmake --with javahelper,python2,systemd --parallel
+ dh $@ --buildsystem=cmake --with javahelper,python2,python3,systemd --parallel
override_dh_auto_configure:
dh_auto_configure --buildsystem=cmake -- $(extraopts) $(CEPH_EXTRA_CMAKE_ARGS)
dh_python2 -p ceph-base
dh_python2 -p ceph-osd
+override_dh_python3:
+ for binding in rados cephfs rbd; do \
+ dh_python3 -p python-$$binding; \
+ done
+ dh_python3 -p python3-ceph-argparse
+
# do not run tests
override_dh_auto_test: