Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #9912

Re: providing sphinx3-* binaries

Path csiph.com!goblin2!goblin1!goblin.stu.neva.ru!news2.arglkargh.de!news.mixmin.net!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod
From Thomas Goirand <zigo@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: providing sphinx3-* binaries
Date Wed, 04 Oct 2017 11:50:01 +0200
Message-ID <uwOtr-4Bt-13@gated-at.bofh.it> (permalink)
References <uu6wx-2em-17@gated-at.bofh.it> <uv1bs-54Y-3@gated-at.bofh.it> <uv1Et-5tU-7@gated-at.bofh.it> <uwDeF-68L-7@gated-at.bofh.it> <uwHUZ-zW-1@gated-at.bofh.it>
X-Original-To "debian-python@lists.debian.org" <debian-python@lists.debian.org>
X-Mailbox-Line From debian-python-request@lists.debian.org Wed Oct 4 09:40:20 2017
Old-Return-Path <zigo@debian.org>
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 quoted-printable
X-Mailing-List <debian-python@lists.debian.org> archive/latest/15294
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/8f5e7e9e-ca7b-91c6-0be6-bedc0cec643a@debian.org
Approved robomod@news.nic.it
Lines 62
Sender robomod@news.nic.it
X-Original-Date Wed, 4 Oct 2017 11:39:59 +0200
X-Original-Message-ID <8f5e7e9e-ca7b-91c6-0be6-bedc0cec643a@debian.org>
X-Original-References <877ewlqeku.fsf@curie.anarc.at> <ff878371-16bb-c0ad-0dcc-32208f64a7c5@debian.org> <A2A20EC3B8560D408356CAC2FC148E53BB443D87@SUN-DAG3.synchrotron-soleil.fr> <067d5331-7558-2df6-22d4-a3a8a684b9ed@debian.org> <05e13d52-a620-6fbc-b5e2-14060c5aade1@gmail.com>
Xref csiph.com linux.debian.maint.python:9912

Show key headers only | View raw


On 10/04/2017 04:41 AM, Ghislain Vaillant wrote:
> 
> 
> On 03/10/17 22:46, Thomas Goirand wrote:
>> 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: <!nodoc> for the python-foo-doc package. This
>> could even become a standard in the DPMT if everyone agrees.
>>
>> Thoughts anyone?
> 
> s/DEB_BUILD_PROFILES/DEB_BUILD_OPTIONS
> 
> Quoting the relevant part of the documentation for the nodoc build
> profile [1]:
> 
> "Builds that set this profile must also add nodoc to DEB_BUILD_OPTIONS"
> 
> [1] https://wiki.debian.org/BuildProfileSpec
> 
> Cheers,
> Ghis

Yeah, I saw it, though I was wondering if it was a good idea or not to
attempt to change this. I don't really see the point of having to set
both options, when only a single one should be enough. Also, if you only
set DEB_BUILD_OPTIONS=nodoc, then you end up with an empty -doc package,
which isn't very useful. So, I don't really see the use case of having 2
options here.

Your thoughts?

Cheers,

Thomas Goirand (zigo)

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

providing sphinx3-* binaries Antoine Beaupré <anarcat@debian.org> - 2017-09-27 00:30 +0200
  Re: providing sphinx3-* binaries Dmitry Shachnev <mitya57@debian.org> - 2017-09-28 00:10 +0200
    Re: providing sphinx3-* binaries Simon McVittie <smcv@debian.org> - 2017-09-28 09:40 +0200
    Re: providing sphinx3-* binaries Antoine Beaupré <anarcat@debian.org> - 2017-09-28 14:30 +0200
      Re: providing sphinx3-* binaries Dmitry Shachnev <mitya57@debian.org> - 2017-09-28 19:00 +0200
        Re: providing sphinx3-* binaries Antoine Beaupré <anarcat@debian.org> - 2017-09-28 19:20 +0200
  Re: providing sphinx3-* binaries Thomas Goirand <zigo@debian.org> - 2017-09-29 13:00 +0200
    RE:providing sphinx3-* binaries PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2017-09-29 13:30 +0200
      Re: providing sphinx3-* binaries Ghislain Vaillant <ghisvail@gmail.com> - 2017-09-29 14:00 +0200
        RE:providing sphinx3-* binaries PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2017-09-29 14:20 +0200
      Re: providing sphinx3-* binaries Thomas Goirand <zigo@debian.org> - 2017-10-03 23:50 +0200
        Re: providing sphinx3-* binaries Ghislain Vaillant <ghisvail@gmail.com> - 2017-10-04 04:50 +0200
          Re: providing sphinx3-* binaries Thomas Goirand <zigo@debian.org> - 2017-10-04 11:50 +0200

csiph-web