Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 251422

Summary: dev-util/tailor-0.9.30: handle html documentation
Product: Gentoo Linux Reporter: Martin von Gagern <Martin.vGagern>
Component: [OLD] DevelopmentAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: trivial Keywords: Inclusion
Priority: High    
Version: 2008.0   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Fix in ebuild

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!