[Python-modules-team] Bug#932985: [932985] Please remove Python 2 support

Jean-Michel Vourgère nirgal at debian.org
Sun Jul 28 22:26:31 BST 2019


Hi Thomas

Thank you for your patch. I just made an upload based on it.

I had to remove python3-django-session-security.install since pybuild put the 
files directly in the correct location.

Also I changed your sphinx changes. Originally:

> override_dh_auto_build:
>	dh_auto_build -O--buildsystem=python_distutils

Your version
> override_dh_sphinxdoc:
> ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
>  	python3 setup.py build_sphinx
>	dh_sphinxdoc
> endif
doesn't quite work as dh_sphinxdoc run after dh_install, that fails because 
the files are not there.

My final version:
> override_dh_auto_build:
> 	dh_auto_build
> ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
> 	python3 setup.py build_sphinx
> endif
works, and doesn't mix the build systems, which I believe was your point.

If you have a better idea, it will be welcome.

Thanks again
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20190728/8b0ef22f/attachment.sig>


More information about the Python-modules-team mailing list