sys-apps/portage with USE="epydoc" fails to install with =dev-python/epydoc-3*. * Generating api docs Usage: epydoc [ACTION] [options] NAMES... epydoc: error: no such option: --ignore-param-mismatch
Thanks, this is fixed in the cvs now.
Do you have any idea how to fix this?: * Generating api docs Traceback (most recent call last): File "/usr/bin/epydoc", line 13, in <module> cli() File "/usr/lib/python2.5/site-packages/epydoc/cli.py", line 946, in cli main(options, names) File "/usr/lib/python2.5/site-packages/epydoc/cli.py", line 738, in main exclude_parse=exclude_parse) File "/usr/lib/python2.5/site-packages/epydoc/docbuilder.py", line 205, in build_doc_index doc_pairs = _get_docs_from_items(items, options) File "/usr/lib/python2.5/site-packages/epydoc/docbuilder.py", line 383, in _get_docs_from_items item, doc_pairs[-1], options, progress_estimator) File "/usr/lib/python2.5/site-packages/epydoc/docbuilder.py", line 580, in _get_docs_from_submodules module_filename, options, progress_estimator, pkg_docs) File "/usr/lib/python2.5/site-packages/epydoc/docbuilder.py", line 526, in _get_docs_from_module_file filename=filename, context=parent_docs[0]) File "/usr/lib/python2.5/site-packages/epydoc/docintrospecter.py", line 106, in introspect_docs value = get_value_from_filename(filename, context) File "/usr/lib/python2.5/site-packages/epydoc/docintrospecter.py", line 811, in get_value_from_filename pkg_dir = os.path.split(context.filename)[0] AttributeError: 'ClassDoc' object has no attribute 'filename' * * ERROR: sys-apps/portage-2.2_pre9220 failed. * Call stack: * ebuild.sh, line 46: Called src_compile * environment, line 2511: Called die * The specific snippet of code: * PYTHONPATH="${S}/pym:${PYTHONPATH}" epydoc -o "${WORKDIR}"/api -qqqqq --no-frames --show-imports --debug --name "${PN}" --url "${HOMEPAGE}" ${my_modules} || die "epydoc failed"; * The die message: * epydoc failed
(In reply to comment #2) > Do you have any idea how to fix this?: It's probably best to report the stack trace to the epydoc developers (or maybe they know about it already).