[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

dh_python using debian/pycompat



Hello everybody,

I just updated dh_python to use debian/pycompat (or DH_PYCOMPAT) instead
of the Python-Standards-Version field.

You can find the updated script and updated debhelper NMU (5.0.37.2) here:
http://people.debian.org/~hertzog/python/

Please test it and check it.

This versions satisfies me now and I'm most probably going to upload it
today and I hope that we can update the pyversions script at the same
time.

People who do not want to use the XS-Python-Version field do not need to
use it, they can use debian/pyversions instead. However dh_python will
*always* generate the ${python:Versions} field that can be used to
generate XB-Python-Version. And thus the maintainers are free to
use it in order to ease the identification of packages that will have to
be updated for future python migrations.

People who want to use the XS-Python-Version field can use it, and it
will be understood correctly by everybody
(dh_pysupport/dh_pycentral/dh_python). dh_pysupport and dh_python uses it
however as fallback if debian/pyversions doesn't exist.

And last, with the udpdated "pyversions" we can tell all maintainers to use
"pyversions -rv" to find out the list of python versions that the package
should support, whatever they decide to use (XS-P-V or debian/pyversions).

I hope everybody can agree to continue in that direction.

Cheers,
-- 
Raphaël Hertzog

Premier livre français sur Debian GNU/Linux :
http://www.ouaza.com/livre/admin-debian/



Reply to: