Package: python-sphinx
Version: 1.0.7+dfsg-1
Severity: normal
File: /usr/bin/dh_sphinxdoc

Since the python-django-doc package is quite big, we wanted to save some
spaces by dropping the _sources directory. I noticed that dh_sphinxdoc
analyzed the HAS_SOURCE setting in search.html to adjust its behaviour
so instead of directly removing the _sources directory I modified conf.py
to disable its generation (html_copy_source = False).

Despite this, dh_sphinxdoc fails with:
dh_sphinxdoc: 
debian/python-django-doc/usr/share/doc/python-django-doc/html/_sources/releases/1.0.txt
 is missing

Looking at the code, you extract the value (true or false) but afterwards
you only use it in a form “if $has_source”... you should really replace
this with “if $has_source eq "true"”.

-- System Information:
Debian Release: wheezy/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 
'unstable'), (500, 'testing'), (500, 'stable'), (150, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-sphinx depends on:
ii  libjs-sphinxdoc  1.0.7+dfsg-1
ii  python           2.6.7-3     
ii  python-docutils  0.8.1-2     
ii  python-jinja2    2.6-1       
ii  python-pygments  1.4+dfsg-2  
ii  python-support   1.0.14      

Versions of packages python-sphinx recommends:
ii  python             2.6.7-3
ii  python-imaging     1.1.7-4
ii  python-simplejson  2.2.0-1

Versions of packages python-sphinx suggests:
pn  jsmath  <none>

-- no debconf information



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to