click-contrib / click-man

Automate generation of man pages for python click applications :star:
MIT License
166 stars 35 forks source link

Getting linitian warning "manpage-has-bad-whatis-entry" #2

Closed BrunnerLivio closed 7 years ago

BrunnerLivio commented 7 years ago

When I build the example click-man/examples/debian_pkg using debuild -us -uc, I get the following log:

....
make[1]: Entering directory '/home/users/brunnel6/workspace/click-man/examples/debian_pkg'
python3 setup.py --command-packages=click_man.commands man_pages --target debian/tmp/manpages
running man_pages
Load entry point repo
Generate man pages for repo
dh_installman -O--buildsystem=pybuild
make[1]: Leaving directory '/home/users/brunnel6/workspace/click-man/examples/debian_pkg'
   dh_python3 -O--buildsystem=pybuild
   dh_perl -O--buildsystem=pybuild
   dh_link -O--buildsystem=pybuild
   dh_strip_nondeterminism -O--buildsystem=pybuild
   dh_compress -O--buildsystem=pybuild
   dh_fixperms -O--buildsystem=pybuild
   dh_installdeb -O--buildsystem=pybuild
   dh_gencontrol -O--buildsystem=pybuild
   dh_md5sums -O--buildsystem=pybuild
   dh_builddeb -O--buildsystem=pybuild
dpkg-deb: building package 'python3-repo' in '../python3-repo_0.1.0_all.deb'.
 dpkg-genchanges  >../repo_0.1.0_amd64.changes
dpkg-genchanges: including full source code in upload
 dpkg-source --after-build debian_pkg
dpkg-buildpackage: full upload; Debian-native package (full source is included)
Now running lintian...
E: repo changes: bad-distribution-in-changes-file jessie
W: repo source: no-debian-copyright
W: repo source: out-of-date-standards-version 3.9.6 (current is 3.9.7)
E: python3-repo: no-copyright-file
W: python3-repo: manpage-has-bad-whatis-entry usr/share/man/man1/repo-clone.1.gz
W: python3-repo: manpage-has-bad-whatis-entry usr/share/man/man1/repo-commit.1.gz
W: python3-repo: manpage-has-bad-whatis-entry usr/share/man/man1/repo-copy.1.gz
W: python3-repo: manpage-has-bad-whatis-entry usr/share/man/man1/repo-delete.1.gz
W: python3-repo: manpage-has-bad-whatis-entry usr/share/man/man1/repo-setuser.1.gz
Finished running lintian.

The other warnings are because of example-specifc "mistakes", like "no-copyright-file", but in my project I also get the manpage-has-bad-whatis-entry, so I suppose it is a bug by click-man?

timofurrer commented 7 years ago

Fix included in 0.2.1