Path: csiph.com!feeder.erje.net!2.eu.feeder.erje.net!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod From: Thomas Goirand Newsgroups: linux.debian.maint.python Subject: Re: providing sphinx3-* binaries Date: Tue, 03 Oct 2017 23:50:01 +0200 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Tue Oct 3 21:46:45 2017 Old-Return-Path: X-Amavis-Spam-Status: No, score=-6.9 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -5 Organization: Debian User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Mailing-List: archive/latest/15292 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/067d5331-7558-2df6-22d4-a3a8a684b9ed@debian.org Approved: robomod@news.nic.it Lines: 30 Sender: robomod@news.nic.it X-Original-Date: Tue, 3 Oct 2017 23:46:27 +0200 X-Original-Message-ID: <067d5331-7558-2df6-22d4-a3a8a684b9ed@debian.org> X-Original-References: <877ewlqeku.fsf@curie.anarc.at> Xref: csiph.com linux.debian.maint.python:9910 On 09/29/2017 01:08 PM, PICCA Frederic-Emmanuel wrote: > Hello guyes. > >> override_dh_sphinxdoc: >> ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS))) > ^^^^ > nodocs or nodoc > > I alsa do something like this when there is extensions. > > override_dh_sphinxdoc: > ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS))) > PYBUILD_SYSTEM=custom \ > PYBUILD_BUILD_ARGS="cd docs && PYTHONPATH={build_dir} http_proxy='127.0.0.1:9' {interpreter} -m sphinx -N -bhtml source build/html" dh_auto_build # HTML generator > dh_installdocs "docs/build/html" -p python-gpyfft-doc > dh_sphinxdoc -O--buildsystem=pybuild > endif In fact, I was thinking that probably, it'd be nicer to even do: ifeq (,$(findstring nodoc, $(DEB_BUILD_PROFILES))) and have Build-Profiles: for the python-foo-doc package. This could even become a standard in the DPMT if everyone agrees. Thoughts anyone? Cheers, Thomas Goirand (zigo)