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


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

Re: providing sphinx3-* binaries

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Ghislain Vaillant <ghisvail@gmail.com>
Newsgroups linux.debian.maint.python
Subject Re: providing sphinx3-* binaries
Date Fri, 29 Sep 2017 14:00:02 +0200
Message-ID <uv27w-5HZ-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>
X-Mailbox-Line From debian-python-request@lists.debian.org Fri Sep 29 11:52:03 2017
Old-Return-Path <ghisvail@gmail.com>
X-Amavis-Spam-Status No, score=-6.999 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FOURLA=0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -7
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=+/AjV+V3aW3SXXkv5pffyCX9qNBMFzkKAf6alost/GM=; b=hzVKp96VrajO+tmbHfIuZEWPDvCbnLCwtb1X07Hk2k18DoTqCgONleSbyUZAZSoBDX hLVPrw3mcCkCjuBiUysc7wZ3g7TczFDzpgswa0RdlKalSfYvMmqkErENIlPiAXz9a69Z ATvLX5PXLhkSLzG/xnf58MbL0B1xMuB5IJsx6IcIhGqRXKLV0O+BCpTK9O3WCk+0tCqM uxN9hS1UQSPNf+xjMXv37FnfZmJEEb1TGz8p0gJfGaCzmTyh+yeBfSwAqJF4RJ82kXw9 ORxQVO4jN2wkH3CeQZK7ioRcMCdCFLPYRM7v6qbG8CJ6I7US1S3JwTfIEOCQliueqyRL tWxg==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=+/AjV+V3aW3SXXkv5pffyCX9qNBMFzkKAf6alost/GM=; b=SOyXfXTc2N1VmbzFFDgoEJSybtO0JqlSpE7WUECj8qZT7NzLOl+Vlfbwp17vWAlKeH A7yxsxaDZwIv0qV9Y8xMh9layx7J3GzCwRRO9ssJE+ethvQLbP/5sP6EsL9Qd4Cct+Nx ZroRu0kY5l5jzDpagI8fd0xbv5f5leYezZOcKM0ZPnFchxvjQclDBN6t7A5iS4uRCcWK 9tq8K/KP5oj42ti4Q0Y+Fdx5vHX67jXje0l+02DZI+9lCd6+4IW1IA2r1RY6oRz9sBFs UK3XB1xUOzEDRIN144/xxZ1jgLM9UaiYyk3zzTAlabjDx78IUIBDF2+Oc5zRLpv69TAu kwiQ==
X-Gm-Message-State AHPjjUhzo/mUYdZar1Y03HQJ+pcDeNvTK6YZuYDpp046zOZpk8fobWGo 9zIEODo2wVy0PeBxMaCN0zooJBO1
X-Google-SMTP-Source AOwi7QCDZBk2oPLJ5UYBLQ3KKACbVlkzzfoa/YkLMhV5m7lB5AJPIsTc4pQNl5+8Izr71O9b/lMWsg==
X-Received by 10.223.179.10 with SMTP id j10mr8465071wrd.273.1506685908366; Fri, 29 Sep 2017 04:51:48 -0700 (PDT)
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; format=flowed
Content-Language en-GB
Content-Transfer-Encoding 7bit
X-Mailing-List <debian-python@lists.debian.org> archive/latest/15257
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/2ed41d63-38c0-ced9-297d-78e0cc378ef8@gmail.com
Approved robomod@news.nic.it
Lines 35
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 29 Sep 2017 12:51:45 +0100
X-Original-Message-ID <2ed41d63-38c0-ced9-297d-78e0cc378ef8@gmail.com>
X-Original-References <877ewlqeku.fsf@curie.anarc.at> <ff878371-16bb-c0ad-0dcc-32208f64a7c5@debian.org> <A2A20EC3B8560D408356CAC2FC148E53BB443D87@SUN-DAG3.synchrotron-soleil.fr>
Xref csiph.com linux.debian.maint.python:9875

Show key headers only | View raw


On 29/09/17 12:08, PICCA Frederic-Emmanuel wrote:
>> 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

Or just use the sphinx-generated Makefile if there is one:

override_dh_auto_clean:
	dh_auto_clean
ifeq (,$(filter nodoc, $(DEB_BUILD_OPTIONS)))
	$(MAKE) -C docs clean
endif

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
ifeq (,$(filter nodoc, $(DEB_BUILD_OPTIONS)))
	PYTHONPATH=$(CURDIR) $(MAKE) -C docs html
endif

And you're done. The intent is also clearer.

Ghis

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next 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