On Fri, 2015-04-24 at 00:30 +0900, Dave Maiorino wrote: > If possible, could I get a further review on these changes? If there is > anything else that needs to be fixed, please let me know.
A further review: Your upstream tarball contains build artefacts (build/ dir). You should only ever use `./setup.py sdist` to create upstream tarballs. The upstream tarball created by that has a debian/ directory in it (that is missing some files) but it should not have that, please fix setup.py. The version in setup.py and PKG-INFO contains both the upstream version (1.0.0) and the Debian version suffix (the -1) but it should only contain the upstream version, the Debian version suffix lives only in debian/changelog. data_files in setup.py hard-codes /usr as the prefix. The default for upstream setup.py should be to use the prefix chosen by the person doing the install, defaulting to /usr/local. icon_path in scripts/tz-converter and tz_converter/main_widget.py hard-codes /usr as the prefix but it should be using whatever prefix was passed to setup.py, otherwise no icons will be shown when people install manually instead of via a Debian package. I don't know enough about Python upstream stuff, but this looks weird: Platform: UNKNOWN The Depends in debian/control contains this python-dateutil, shouldn't it be python3-dateutil since this is a Python 3 program? The Section: python in debian/control is incorrect (this is for Python modules), please choose one of these, maybe utils or misc? https://packages.debian.org/sid/ I would suggest upgrading debian/compat to 9 since you have a build-dep on debhelper 9. Please add a debian/upstream/metadata file: https://wiki.debian.org/UpstreamMetadata The License lines in debian/copyright are incorrect, please use the right ones from the copyright-format spec: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ I'd suggest wrapping debian/watch on the whitespace. I don't think the comment in debian/rules is needed any more. debian/rules uses --buildsystem=python_distutils but the upstream setup.py is using setuputils instead. Are you sure the override_dh_* in debian/rules are needed? dh should be able to do all of the things you've overridden automatically. The recommended tool for building Python packages these days is pybuild: https://wiki.debian.org/Python/Pybuild Could you explain what debian/source/options is for? Build warnings: package init file 'tz_converter/__init__.py' not found (or not a regular file) dh_pysupport: This program is deprecated, you should use dh_python2 instead. Migration guide: http://deb.li/dhs2p Automatic checks: https://anonscm.debian.org/cgit/collab-maint/check-all-the-things.git $ pep8 --ignore W191 . <lots of whitespace issues> $ pyflakes3 . ./tz_converter/main_widget.py:3: 'sys' imported but unused ./tz_converter/main_widget.py:4: 'os' imported but unused -- bye, pabs https://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part