[Python-modules-team] Bug#836248: Bug#836248: Re-open

Neil Williams codehelp at debian.org
Thu Nov 3 18:46:11 UTC 2016


On Thu, 3 Nov 2016 18:37:23 +0000
Neil Williams <codehelp at debian.org> wrote:

> reopen 836248
> found 836248 1.4.8-1
> thanks
> 
> I came across this because I now get warnings:
> dpkg-gencontrol: warning: package lava-server-doc: unused
> substitution variable ${sphinxdoc:Built-Using}
> 
> I worked out I could use this line in debian/control:
> 
> Built-Using: python-sphinx-bootstrap-theme, ${sphinxdoc:Built-Using}
> 
> That results in a package containing:
> 
>  Built-Using: python-sphinx-bootstrap-theme, sphinx (= 1.4.8-1)
> 
> The problem with that is:
> $ apt-cache show sphinx
> N: Unable to locate package sphinx
> E: No packages found
> 
> So dh_sphinxdoc should be putting in python-sphinx (= 1.4.8-1)

My mistake, it's the source package.

> Also, wasn't the original intention from the bug report that I'd be
> able to use it as:
> 
>  Built-Using: python-sphinx-bootstrap-theme (=
> ${sphinxdoc:Built-Using})

So the line should be:

 Built-Using: sphinx-bootstrap-theme (= ${sphinxdoc:Built-Using})

> to generate output in the package of:
> 
>  Built-Using: python-sphinx-bootstrap-theme (= 0.4.8-1)
> 
> or, possibly with another substvar:
> 
>  Built-Using: python-sphinx-bootstrap-theme (= 0.4.8-1),
> python-sphinx (= 1.4.8-1)
> 
> ?

To generate:

 Built-Using: sphinx-bootstrap-theme (= 0.4.8-1), sphinx (= 1.4.8-1)

> 
> It's the theme which adds the CSS. Having Built-Using for sphinx is
> fine but the version of the theme is unrelated to the version of
> sphinx.
> 
> Finally, can we have some documentation of how to use
> ${sphinxdoc:Built-Using} in man dh_sphinxdoc please?

A mention in the manpage would be really useful....

-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20161103/59c2efb4/attachment.sig>


More information about the Python-modules-team mailing list