Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 251422 - dev-util/tailor-0.9.30: handle html documentation
Summary: dev-util/tailor-0.9.30: handle html documentation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All All
: High trivial (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2008-12-18 09:29 UTC by Martin von Gagern
Modified: 2012-02-16 13:10 UTC (History)
0 users

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


Attachments
Fix in ebuild (bug251422a.patch,425 bytes, patch)
2008-12-18 09:32 UTC, Martin von Gagern
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2008-12-18 09:29:34 UTC
I noticed that dev-util/tailor-0.9.30 installs README.html.bz2 instead of html/README.html into its doc directory. HTML symlink doesn't work either. This is due to distutils_src_install calling dodoc for README.* instead of using dohtml for HTML files.

I can think of three sensible places to address this issue, with increasingly wider effects:
1. single ebuild: will attach a patch to this effect.
2. distutils.eclass: invoke dohtml instead of dodoc for *.html and *.htm files
3. dodoc portage tool: redirect to dohtml for *.html and *.htm files
Comment 1 Martin von Gagern 2008-12-18 09:32:05 UTC
Created attachment 175687 [details, diff]
Fix in ebuild

This patch addresses the issue in the ebuild by calling dohtml for README.html and removing the README.html file installed by dodoc via distutils_src_install. Luckily the ecompress queue doesn't complain for removed files.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2008-12-18 14:13:14 UTC
Reassigning to python herd.
Comment 3 Dirkjan Ochtman (RETIRED) gentoo-dev 2012-02-16 13:10:40 UTC
Committed your patch, thanks!