Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 271462 - dev-python/pylons-0.9.7 fails with USE="doc"
Summary: dev-python/pylons-0.9.7 fails with USE="doc"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-27 20:32 UTC by Stephan Sokolow
Modified: 2010-03-20 10:48 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Sokolow 2009-05-27 20:32:07 UTC
As of version 0.9.7, Pylons uses Sphinx for its documentation rather than Pudge. However, the ebuild still runs "setup.py pudge" with USE="doc", causing the build to fail.

Reproducible: Always

Steps to Reproduce:
1. Enable USE="doc" for pylons
2. Run a build
3. Watch for the "error: invalid command 'pudge'" message.
Comment 1 Metin Akat 2009-06-28 12:42:06 UTC
Same here.
Comment 2 Fabiano 2009-09-29 00:01:31 UTC
Same here too. Pylons emerges fine with doc use flag disabled.

 * Generating docs as requested...
/usr/lib/python2.6/site-packages/Pyrex/Compiler/Errors.py:17: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  self.message = message
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: invalid command 'pudge'
 *
 * ERROR: dev-python/pylons-0.9.7 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3018:  Called die
 * The specific snippet of code:
 *           "${python}" setup.py pudge || die "generating docs failed";
 *  The die message:
 *   generating docs failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/dev-python:pylons-0.9.7:20090928-235431.log'.
 * The ebuild environment file is located at '/dados/portage/tmp/portage/dev-python/pylons-0.9.7/temp/environment'.
 *
Comment 3 Ramon 2010-03-16 14:04:21 UTC
The pylons README.txt states the following:

Documentation
=============

Generating documentation requires Sphinx:

.. code-block :: bash

    $ easy_install Sphinx

Then to build the documentation use the commands:

.. code-block :: bash

    $ cd pylons/docs/<lang>
    $ make html

However the actual docs directory is absent in the tarfile that is distributed

I've created: http://pylonshq.com/project/pylonshq/ticket/680 upstream
Comment 4 Jesus Rivero (RETIRED) gentoo-dev 2010-03-17 03:37:39 UTC
Hello, 

   I've dropped doc IUSE as this version has no docs whatsoever. Lets wait for the next version to see if they bring 'em back. 

   Ramon, I saw no bug #680 at Pylon's site and your link seems broken. Could you check that out?

    Thanks everyone for the heads up. 

    Best regards,
Comment 5 Ramon 2010-03-20 10:48:15 UTC
Mmm weird, I remember making it, but for some reason it has disappeared.

Recreated bug: http://pylonshq.com/project/pylonshq/ticket/681