summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-01-30 14:58:28 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-01-30 14:58:28 +0000
commit8396ff92fb6687bf5034235c1fe93f0ae8a34c28 (patch)
treee4634320b3c31abde721bca7e24c444e6ab886b3 /dev-python/traitsgui
parentVersion bump, drop old (diff)
downloadgentoo-2-8396ff92fb6687bf5034235c1fe93f0ae8a34c28.tar.gz
gentoo-2-8396ff92fb6687bf5034235c1fe93f0ae8a34c28.tar.bz2
gentoo-2-8396ff92fb6687bf5034235c1fe93f0ae8a34c28.zip
Install PDF documentation only with USE="doc".
(Portage version: 2.2.0_alpha19_p24/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/traitsgui')
-rw-r--r--dev-python/traitsgui/traitsgui-3.6.0.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/dev-python/traitsgui/traitsgui-3.6.0.ebuild b/dev-python/traitsgui/traitsgui-3.6.0.ebuild
index ef67bc013c96..816f01d7da93 100644
--- a/dev-python/traitsgui/traitsgui-3.6.0.ebuild
+++ b/dev-python/traitsgui/traitsgui-3.6.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/traitsgui/traitsgui-3.6.0.ebuild,v 1.1 2011/01/30 04:54:01 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/traitsgui/traitsgui-3.6.0.ebuild,v 1.2 2011/01/30 14:58:28 arfrever Exp $
EAPI="3"
PYTHON_DEPEND="2"
@@ -31,7 +31,7 @@ DEPEND="${RDEPEND}
S="${WORKDIR}/${MY_P}"
-DOCS="docs/*.txt docs/*.pdf"
+DOCS="docs/*.txt"
PYTHON_MODNAME="enthought"
src_compile() {
@@ -50,6 +50,7 @@ src_install() {
distutils_src_install
if use doc; then
+ dodoc docs/*.pdf || die "Installation of PDF documentation failed"
pushd docs/build/html > /dev/null
insinto /usr/share/doc/${PF}/html
doins -r [a-z]* _static || die "Installation of documentation failed"