Open slashdd opened 4 years ago
Recent Debian and Ubuntu releases dropped py2 in favor of py3.
Current DEB packaging is building using py2 as follows:
debian/control
Build-Depends: debhelper (>= 7), dh-python, python, python-mock, python-pytest, python-remoto, python-setuptools, python-tambo X-Python-Version: >= 2.7
debian/rules dh $@ --buildsystem pybuild --with python2
debian/rules
dh $@ --buildsystem pybuild --with python2
Additionnally, running lintian -EvIL +pedantic revealed the following:
lintian -EvIL +pedantic
E: ceph-medic source: malformed-debian-changelog-version 1.0.7 (for non-native) E: ceph-medic source: python-depends-but-no-python-helper ceph-medic W: ceph-medic source: ancient-python-version-field x-python-version 2.7 W: ceph-medic source: ancient-standards-version 3.9.7 (released 2016-02-01) (current is 4.5.0) W: ceph-medic source: odd-historical-debian-changelog-version 1.0.6 (for non-native) W: ceph-medic source: package-uses-deprecated-debhelper-compat-version 7 I: ceph-medic source: debian-watch-file-is-missing I: ceph-medic source: testsuite-autopkgtest-missing I: ceph-medic source: vcs-field-uses-insecure-uri vcs-git git://github.com/ceph/ceph-medic.git P: ceph-medic source: insecure-copyright-format-uri http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 P: ceph-medic source: rules-requires-root-missing X: ceph-medic source: upstream-metadata-file-is-missing
Recent Debian/Ubuntu uses debhelper 12 or 13 and no longer required debian/compat (being the old debhelper way)
debian/compat
@hillpd fyi
Recent Debian and Ubuntu releases dropped py2 in favor of py3.
Current DEB packaging is building using py2 as follows:
debian/control
debian/rules
dh $@ --buildsystem pybuild --with python2
Additionnally, running
lintian -EvIL +pedantic
revealed the following:Recent Debian/Ubuntu uses debhelper 12 or 13 and no longer required
debian/compat
(being the old debhelper way)