Hello Steffen, Many thanks for your reply. > I liked it. You will hear that the current policy is at 4.5.0. Ah yes. I forgot to change that back to 4.5.0 (cme on buster forces it a lower current policy whenever I run a check on the control file). I've just bumped it up to 4.5.0. > What kind of trick are these multiple targets for override_dh_auto_build? > > override_dh_auto_build: export http_proxy=127.0.0.1:9 > override_dh_auto_build: export https_proxy=127.0.0.1:9 > override_dh_auto_build: > dh_auto_build > PYTHONPATH=. python3 -m sphinx -N -bhtml doc/ build/html # HTML generator > PYTHONPATH=. python3 -m sphinx -N -bman doc/ build/man # Manpage generator As the python packaging features sphinx documentation, I took that extract from this debian wiki page[1]. As sphinx might try and access the internet to fetch intersphinx inventory files, setting the http(s)_proxy to that prevents it. I believe it's the same idea used within the pybuild system internally. Kind regards, Shayan Doust [1]: https://wiki.debian.org/SphinxDocumentation On 10/06/2020 20:09, Steffen Möller wrote: > Hi Shayan, > > On 10.06.20 18:29, Shayan Doust wrote: >> Hello, >> >> I have been packaging 'enlighten'[1], which I picked from the "COVID 19 >> Hackathon packages need work". This is ready for upload. I do not get >> any lintian complaints even on latest lintian via sbuild. >> >> Kind regards, >> Shayan Doust >> >> [1]: https://salsa.debian.org/med-team/enlighten > > I liked it. You will hear that the current policy is at 4.5.0. > > What kind of trick are these multiple targets for override_dh_auto_build? > > override_dh_auto_build: export http_proxy=127.0.0.1:9 > override_dh_auto_build: export https_proxy=127.0.0.1:9 > override_dh_auto_build: > dh_auto_build > PYTHONPATH=. python3 -m sphinx -N -bhtml doc/ build/html # HTML generator > PYTHONPATH=. python3 -m sphinx -N -bman doc/ build/man # Manpage generator > > > I just googled for it and found this patch > https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1642670.html > > which felt much like my instant reaction to it. But I happily learn. > I'll leave the upload to Andreas. > > Best, > > Steffen >
Attachment:
0x6D7D441919D02395.asc
Description: application/pgp-keys
Attachment:
signature.asc
Description: OpenPGP digital signature