Re: dh_python3 inocrrect dependancy
On 5 July 2014 02:44, Brian May <brian@microcomaustralia.com.au> wrote:
> I assumed it wasn't valid to have a line with only one value in that file.
> Then again, not sure where this file is documented. Would have thought maybe
> the dh_python2 man page, it isn't there.
>From the dh_python2 man page:
dependencies
dh_python2 tries to translate Python dependencies from
requires.txt file to Debian dependencies. Use debian/pydist-overrides
or --no-guessing-deps option to override it if the guess is incorrect.
If you want dh_python2 to generate more strict dependencies (f.e. to
avoid ABI problems) create debian/python-foo.pydist file. See
/usr/share/doc/python-doc/README.PyDist (provided by python-doc
package) for more information. If the pydist file contains PEP386 flag
or set of (uscan like) rules, dh_python2 will make the depedency
versioned (version requirements are ignored by default).
>From the dh_python3 man page:
dependencies
dh_python3 tries to translate Python dependencies from
requires.txt file to Debian dependencies. Use debian/py3dist-overrides
or --no-guessing-deps option to override it if the guess is incorrect.
If you want dh_python3 to
generate more strict dependencies (f.e. to avoid ABI problems)
create debian/python3-foo.pydist file. See
/usr/share/doc/dh-python/README.PyDist for more information. If the
pydist file contains PEP386 flag or set of (uscan
like) rules, dh_python3 will make the depedency versioned
(version requirements are ignored by default).
Both copies of README.PyDist (in python-doc and dh-python) seem to
exist and be almost identical (main difference is that the dh-python
version has a few extra words about Python 3 / dh_python3 related
things which the python-doc version doesn't have).
--
mithrandi, i Ainil en-Balandor, a faer Ambar
Reply to: