summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2010-04-25 09:03:30 +0000
committerDirkjan Ochtman <djc@gentoo.org>2010-04-25 09:03:30 +0000
commitec2bfdcbae0137e36ef0eff3556ac81b4ea4687b (patch)
tree455c4bfee6f546e28419bb7700f51ac4ae72c25d /dev-python/mechanize
parentAdditional QA_ fixes including PREFIX (diff)
downloadgentoo-2-ec2bfdcbae0137e36ef0eff3556ac81b4ea4687b.tar.gz
gentoo-2-ec2bfdcbae0137e36ef0eff3556ac81b4ea4687b.tar.bz2
gentoo-2-ec2bfdcbae0137e36ef0eff3556ac81b4ea4687b.zip
Fix for bug 317047.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/mechanize')
-rw-r--r--dev-python/mechanize/ChangeLog5
-rw-r--r--dev-python/mechanize/mechanize-0.2.0.ebuild11
2 files changed, 9 insertions, 7 deletions
diff --git a/dev-python/mechanize/ChangeLog b/dev-python/mechanize/ChangeLog
index bd548e834aee..37fb497c6fea 100644
--- a/dev-python/mechanize/ChangeLog
+++ b/dev-python/mechanize/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/mechanize
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/mechanize/ChangeLog,v 1.19 2010/04/24 10:33:34 djc Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/mechanize/ChangeLog,v 1.20 2010/04/25 09:03:30 djc Exp $
+
+ 25 Apr 2010; Dirkjan Ochtman <djc@gentoo.org> mechanize-0.2.0.ebuild:
+ Bug 317047: fix docs. Patch by Olivier Huber <oli.huber@gmail.com>.
*mechanize-0.2.0 (24 Apr 2010)
diff --git a/dev-python/mechanize/mechanize-0.2.0.ebuild b/dev-python/mechanize/mechanize-0.2.0.ebuild
index ec12cb9fc6a5..35867c974c59 100644
--- a/dev-python/mechanize/mechanize-0.2.0.ebuild
+++ b/dev-python/mechanize/mechanize-0.2.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/mechanize/mechanize-0.2.0.ebuild,v 1.1 2010/04/24 10:33:34 djc Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/mechanize/mechanize-0.2.0.ebuild,v 1.2 2010/04/25 09:03:30 djc Exp $
EAPI="2"
SUPPORT_PYTHON_ABIS="1"
@@ -20,7 +20,7 @@ DEPEND=""
RDEPEND=""
RESTRICT_PYTHON_ABIS="3.*"
-DOCS="0.1-changes.txt"
+DOCS="docs/*.txt"
src_prepare() {
# Use distutils instead of setuptools.
@@ -41,9 +41,8 @@ src_test() {
}
src_install() {
- # Remove some files to prevent distutils_src_install from installing them.
- dohtml *.html
- rm -f README.html*
-
+ # Fix some paths.
+ sed -i -e 's:../styles/:styles/:g' docs/html/*
+ dohtml -r docs/html/ docs/styles
distutils_src_install
}