From 0ad838675a07a7dde75428ce2ccbe6dc7e073dff Mon Sep 17 00:00:00 2001 From: Jesus Rivero Date: Thu, 7 Jul 2011 21:10:53 +0000 Subject: Added doc USE flag. Fixed dodoc on dir wrt bug #367689 (Portage version: 2.2.0_alpha29/cvs/Linux i686) --- dev-python/markdown/ChangeLog | 7 +++++-- dev-python/markdown/markdown-2.0.3.ebuild | 14 ++++++++------ 2 files changed, 13 insertions(+), 8 deletions(-) (limited to 'dev-python/markdown') diff --git a/dev-python/markdown/ChangeLog b/dev-python/markdown/ChangeLog index cb7a7ab2c0de..64b363a5d69e 100644 --- a/dev-python/markdown/ChangeLog +++ b/dev-python/markdown/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-python/markdown -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown/ChangeLog,v 1.16 2010/09/19 23:05:05 arfrever Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown/ChangeLog,v 1.17 2011/07/07 21:10:53 neurogeek Exp $ + + 07 Jul 2011; Jesus Rivero markdown-2.0.3.ebuild: + Added doc USE flag. Fixed dodoc on dir wrt bug #367689 19 Sep 2010; Arfrever Frehtes Taifersar Arahesis -markdown-2.0.2.ebuild: diff --git a/dev-python/markdown/markdown-2.0.3.ebuild b/dev-python/markdown/markdown-2.0.3.ebuild index 22b7eb180c49..9e31209ca9d6 100644 --- a/dev-python/markdown/markdown-2.0.3.ebuild +++ b/dev-python/markdown/markdown-2.0.3.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown/markdown-2.0.3.ebuild,v 1.8 2010/09/19 23:03:25 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown/markdown-2.0.3.ebuild,v 1.9 2011/07/07 21:10:53 neurogeek Exp $ EAPI="3" PYTHON_DEPEND="2" @@ -19,7 +19,7 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" LICENSE="|| ( BSD GPL-2 )" SLOT="0" KEYWORDS="alpha amd64 ia64 ppc sparc x86 ~ppc-macos ~x86-macos" -IUSE="pygments" +IUSE="doc pygments" DEPEND="" RDEPEND="pygments? ( dev-python/pygments )" @@ -29,7 +29,9 @@ S="${WORKDIR}/${MY_P}" src_install() { distutils_src_install - dodoc docs/* - docinto extensions - dodoc docs/extensions/* + if use doc; then + dodoc docs/[!extensions]* + docinto extensions + dodoc docs/extensions/* + fi } -- cgit v1.2.3-65-gdbad