From 2d6dc4b72a6464daabab84bb0b1d0b6ef003f102 Mon Sep 17 00:00:00 2001
From: Mike Gilbert <floppym@gentoo.org>
Date: Tue, 22 Jan 2013 20:42:20 +0000
Subject: Just install the generated pdf docs, not the entire docs directory.

(Portage version: 2.2.0_alpha155/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
---
 dev-python/reportlab/ChangeLog            |  5 ++++-
 dev-python/reportlab/reportlab-2.6.ebuild | 14 ++++----------
 2 files changed, 8 insertions(+), 11 deletions(-)

(limited to 'dev-python/reportlab')

diff --git a/dev-python/reportlab/ChangeLog b/dev-python/reportlab/ChangeLog
index 3ed25e2b7046..c224d94a8d10 100644
--- a/dev-python/reportlab/ChangeLog
+++ b/dev-python/reportlab/ChangeLog
@@ -1,6 +1,9 @@
 # ChangeLog for dev-python/reportlab
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/reportlab/ChangeLog,v 1.84 2013/01/22 20:28:47 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/reportlab/ChangeLog,v 1.85 2013/01/22 20:42:20 floppym Exp $
+
+  22 Jan 2013; Mike Gilbert <floppym@gentoo.org> reportlab-2.6.ebuild:
+  Just install the generated pdf docs, not the entire docs directory.
 
 *reportlab-2.6 (22 Jan 2013)
 
diff --git a/dev-python/reportlab/reportlab-2.6.ebuild b/dev-python/reportlab/reportlab-2.6.ebuild
index 5b5a6fb418fa..d236c1f7861b 100644
--- a/dev-python/reportlab/reportlab-2.6.ebuild
+++ b/dev-python/reportlab/reportlab-2.6.ebuild
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/reportlab/reportlab-2.6.ebuild,v 1.1 2013/01/22 20:28:47 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/reportlab/reportlab-2.6.ebuild,v 1.2 2013/01/22 20:42:20 floppym Exp $
 
 EAPI="5"
 PYTHON_COMPAT=( python{2_5,2_6,2_7} )
@@ -66,18 +66,12 @@ python_test() {
 }
 
 python_install_all() {
-	if use doc; then
-		# docs/reference/reportlab-reference.pdf is identical with docs/reportlab-reference.pdf
-		rm -f docs/reference/reportlab-reference.pdf
-
-		insinto /usr/share/doc/${PF}
-		doins -r docs/* || die "Installation of documentation failed"
-	fi
+	use doc && dodoc docs/*.pdf
 
 	if use examples; then
 		insinto /usr/share/doc/${PF}
-		doins -r demos || die "Installation of examples failed"
+		doins -r demos
 		insinto /usr/share/doc/${PF}/tools/pythonpoint
-		doins -r tools/pythonpoint/demos || die "Installation of examples failed"
+		doins -r tools/pythonpoint/demos
 	fi
 }
-- 
cgit v1.2.3-65-gdbad