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


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

Re: Question about binary sphinx inventory files

Path csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod
From Dmitry Shachnev <mitya57@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Question about binary sphinx inventory files
Date Sat, 26 Aug 2017 10:50:01 +0200
Message-ID <uiEWZ-7nX-7@gated-at.bofh.it> (permalink)
References <uivh0-1nb-9@gated-at.bofh.it>
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Sat Aug 26 08:42:36 2017
Old-Return-Path <mitya57@gmail.com>
X-Amavis-Spam-Status No, score=-10.949 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, PGPSIGNATURE=-5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5] autolearn=ham autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-lf0-f41.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -7
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=UabN6L1m55vpk6SjOZ9Hkcm5lsVEVkeXqSp08oNhhRA=; b=sf+CxjFINp8c+9azWURFntKC8jzSRHGTjvYzXRI5fEVmF2n/RrHGAuO2gG4SMQgC+Z SoAoq1h1adyeT3QDqumJXVDsNTmOxacDk1OoHCOXxU0b8gs9K+SH/fVJux0AWTHMGlbv GwyeCeYy8MJNzQ+IlmZouVnlMEBD89WzLjnGLhEGbhW9XfQ0GcTw+Zb4SgS4so2uCEVy Xi8s16Ip/bUxhQQDjzD7eEaw7/ny6WjtVykltTCLXGrNL5sdc+mjwk/sTLQ35ZIoBMon Djyrcd9S/tB2DT7coIZWzm/nU068SSfltxEPQHbSpSpr/5LDxlHK6u8u6dGBXwaveG1e ROqw==
X-Gm-Message-State AHYfb5hPLddF9DiIrD8rBJc3AjoXm1tscaymHa0wOa8YyIUJWKVfjzrh LEycJogQf/FhAH8K
X-Received by 10.25.78.68 with SMTP id c65mr491961lfb.41.1503736939586; Sat, 26 Aug 2017 01:42:19 -0700 (PDT)
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ulnszh2yk26ougly"
Content-Disposition inline
User-Agent NeoMutt/20170609 (1.8.3)
X-Mailing-List <debian-python@lists.debian.org> archive/latest/15142
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20170826084211.p3s6gkfhdrfencio@mitya57.me
Approved robomod@news.nic.it
Lines 52
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sat, 26 Aug 2017 11:42:11 +0300
X-Original-Message-ID <20170826084211.p3s6gkfhdrfencio@mitya57.me>
X-Original-References <20170825221957.anj2ob2rdhhpfxvf@fama>
Xref csiph.com linux.debian.maint.python:9760

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi!

On Sat, Aug 26, 2017 at 12:19:57AM +0200, W. Martin Borgert wrote:
> Hi,
>
> I believe that a small number of Python module doc packages use
> binary Sphinx inventory (.inv) files during build, that are just
> downloaded from python.org by the package maintainer. I don't
> know anything about Sphinx nor how to encode/decode .inv files.
> https://pypi.python.org/pypi/sphobjinv is not in Debian, is it?
> How would I create e.g. https://docs.python.org/objects.inv
> from which sources?

The .inv files are generated by Sphinx during normal HTML build.

In case of https://docs.python.org/objects.inv, you do not need to
regenerate it yourself. You should just depend on python3-doc and
point Sphinx to /usr/share/doc/python3/html/objects.inv.

Here you can find examples of how other packages do it:

https://codesearch.debian.net/search?q=html%2Fobjects%5C.inv+path%3Adebian%2Fpatches%2F.*

--
Dmitry Shachnev

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


Thread

Question about binary sphinx inventory files "W. Martin Borgert" <debacle@debian.org> - 2017-08-26 00:30 +0200
  Re: Question about binary sphinx inventory files Tristan Seligmann <mithrandi@mithrandi.net> - 2017-08-26 01:00 +0200
    Re: Question about binary sphinx inventory files "W. Martin Borgert" <debacle@debian.org> - 2017-08-26 14:10 +0200
  Re: Question about binary sphinx inventory files Dmitry Shachnev <mitya57@debian.org> - 2017-08-26 10:50 +0200
    Re: Question about binary sphinx inventory files "W. Martin Borgert" <debacle@debian.org> - 2017-08-26 14:10 +0200

csiph-web